{"openapi":"3.0.0","info":{"title":"Stripe API","description":"The Stripe REST API. Please see https://stripe.com/docs/api for more details.","termsOfService":"https://stripe.com/us/terms/","contact":{"name":"Stripe Dev Platform Team","url":"https://stripe.com","email":"dev-platform@stripe.com"},"version":"2026-03-25.dahlia","x-stripeReleasePhase":"ga","x-stripeSpecAudience":"sdk","x-stripeSpecFilename":"spec3.ga.sdk"},"servers":[{"url":"https://api.stripe.com/"}],"security":[{"basicAuth":[]},{"bearerAuth":[]}],"paths":{"/v1/account":{"get":{"summary":"Retrieve account","description":"

Retrieves the details of an account.

","operationId":"GetAccount","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/account_links":{"post":{"summary":"Create an account link","description":"

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.

","operationId":"PostAccountLinks","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["account","type"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The identifier of the account to create an account link for."},"collect":{"type":"string","description":"The collect parameter is deprecated. Use `collection_options` instead.","enum":["currently_due","eventually_due"]},"collection_options":{"title":"collection_options_params","type":"object","properties":{"fields":{"type":"string","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"]},"future_requirements":{"type":"string","description":"Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.","enum":["include","omit"]}},"description":"Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.","x-stripeMostCommon":["fields","future_requirements"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"refresh_url":{"type":"string","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."},"return_url":{"type":"string","description":"The URL that the user will be redirected to upon leaving or completing the linked flow."},"type":{"type":"string","description":"The type of account link the user is requesting.\n\nYou can create Account Links of type `account_update` only for connected accounts where your platform is responsible for collecting requirements, including Custom accounts. You can't create them for accounts that have access to a Stripe-hosted Dashboard. If you use [Connect embedded components](/connect/get-started-connect-embedded-components), you can include components that allow your connected accounts to update their own information. For an account without Stripe-hosted Dashboard access where Stripe is liable for negative balances, you must use embedded components.","enum":["account_onboarding","account_update"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["account","refresh_url","return_url","type"]},"encoding":{"collection_options":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/account_sessions":{"post":{"summary":"Create an Account Session","description":"

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.

","operationId":"PostAccountSessions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["account","components"],"type":"object","properties":{"account":{"type":"string","description":"The identifier of the account to create an Account Session for."},"components":{"title":"account_session_create_components_param","type":"object","properties":{"account_management":{"title":"account_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"account_features_param","type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection"]}},"description":"Configuration for the [account management](/connect/supported-embedded-components/account-management/) embedded component.","x-stripeMostCommon":["enabled","features"]},"account_onboarding":{"title":"account_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"account_features_param","type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection"]}},"description":"Configuration for the [account onboarding](/connect/supported-embedded-components/account-onboarding/) embedded component.","x-stripeMostCommon":["enabled","features"]},"balances":{"title":"payouts_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"payouts_features_param","type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"edit_payout_schedule":{"type":"boolean","description":"Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."},"instant_payouts":{"type":"boolean","description":"Whether instant payouts are enabled for this component."},"standard_payouts":{"type":"boolean","description":"Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication","edit_payout_schedule","external_account_collection","instant_payouts","standard_payouts"]}},"description":"Configuration for the [balances](/connect/supported-embedded-components/balances/) embedded component.","x-stripeMostCommon":["enabled","features"]},"disputes_list":{"title":"disputes_list_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"disputes_list_features_param","type":"object","properties":{"capture_payments":{"type":"boolean","description":"Whether to allow capturing and cancelling payment intents. This is `true` by default."},"destination_on_behalf_of_charge_management":{"type":"boolean","description":"Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default."},"dispute_management":{"type":"boolean","description":"Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default."},"refund_management":{"type":"boolean","description":"Whether sending refunds is enabled. This is `true` by default."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management"]}},"description":"Configuration for the [disputes list](/connect/supported-embedded-components/disputes-list/) embedded component.","x-stripeMostCommon":["enabled","features"]},"documents":{"title":"base_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"base_features_param","type":"object","properties":{},"description":"An empty list, because this embedded component has no features."}},"description":"Configuration for the [documents](/connect/supported-embedded-components/documents/) embedded component.","x-stripeMostCommon":["enabled","features"]},"financial_account":{"title":"financial_account_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"financial_account_features_param","type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."},"send_money":{"type":"boolean","description":"Whether to allow sending money."},"transfer_balance":{"type":"boolean","description":"Whether to allow transferring balance."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection","send_money","transfer_balance"]}},"description":"Configuration for the [financial account](/connect/supported-embedded-components/financial-account/) embedded component.","x-stripeMostCommon":["enabled","features"]},"financial_account_transactions":{"title":"financial_account_transactions_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"financial_account_transactions_features_param","type":"object","properties":{"card_spend_dispute_management":{"type":"boolean","description":"Whether to allow card spend dispute management features."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["card_spend_dispute_management"]}},"description":"Configuration for the [financial account transactions](/connect/supported-embedded-components/financial-account-transactions/) embedded component.","x-stripeMostCommon":["enabled","features"]},"instant_payouts_promotion":{"title":"instant_payouts_promotion_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"instant_payouts_promotion_features_param","type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."},"instant_payouts":{"type":"boolean","description":"Whether instant payouts are enabled for this component."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection","instant_payouts"]}},"description":"Configuration for the [instant payouts promotion](/connect/supported-embedded-components/instant-payouts-promotion/) embedded component.","x-stripeMostCommon":["enabled","features"]},"issuing_card":{"title":"issuing_card_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"issuing_card_features_param","type":"object","properties":{"card_management":{"type":"boolean","description":"Whether to allow card management features."},"card_spend_dispute_management":{"type":"boolean","description":"Whether to allow card spend dispute management features."},"cardholder_management":{"type":"boolean","description":"Whether to allow cardholder management features."},"spend_control_management":{"type":"boolean","description":"Whether to allow spend control management features."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["card_management","card_spend_dispute_management","cardholder_management","spend_control_management"]}},"description":"Configuration for the [issuing card](/connect/supported-embedded-components/issuing-card/) embedded component.","x-stripeMostCommon":["enabled","features"]},"issuing_cards_list":{"title":"issuing_cards_list_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"issuing_cards_list_features_param","type":"object","properties":{"card_management":{"type":"boolean","description":"Whether to allow card management features."},"card_spend_dispute_management":{"type":"boolean","description":"Whether to allow card spend dispute management features."},"cardholder_management":{"type":"boolean","description":"Whether to allow cardholder management features."},"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"spend_control_management":{"type":"boolean","description":"Whether to allow spend control management features."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["card_management","card_spend_dispute_management","cardholder_management","disable_stripe_user_authentication","spend_control_management"]}},"description":"Configuration for the [issuing cards list](/connect/supported-embedded-components/issuing-cards-list/) embedded component.","x-stripeMostCommon":["enabled","features"]},"notification_banner":{"title":"account_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"account_features_param","type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection"]}},"description":"Configuration for the [notification banner](/connect/supported-embedded-components/notification-banner/) embedded component.","x-stripeMostCommon":["enabled","features"]},"payment_details":{"title":"payments_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"payments_features_param","type":"object","properties":{"capture_payments":{"type":"boolean","description":"Whether to allow capturing and cancelling payment intents. This is `true` by default."},"destination_on_behalf_of_charge_management":{"type":"boolean","description":"Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default."},"dispute_management":{"type":"boolean","description":"Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default."},"refund_management":{"type":"boolean","description":"Whether sending refunds is enabled. This is `true` by default."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management"]}},"description":"Configuration for the [payment details](/connect/supported-embedded-components/payment-details/) embedded component.","x-stripeMostCommon":["enabled","features"]},"payment_disputes":{"title":"payment_disputes_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"payment_disputes_features_param","type":"object","properties":{"destination_on_behalf_of_charge_management":{"type":"boolean","description":"Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default."},"dispute_management":{"type":"boolean","description":"Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default."},"refund_management":{"type":"boolean","description":"Whether sending refunds is enabled. This is `true` by default."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["destination_on_behalf_of_charge_management","dispute_management","refund_management"]}},"description":"Configuration for the [payment disputes](/connect/supported-embedded-components/payment-disputes/) embedded component.","x-stripeMostCommon":["enabled","features"]},"payments":{"title":"payments_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"payments_features_param","type":"object","properties":{"capture_payments":{"type":"boolean","description":"Whether to allow capturing and cancelling payment intents. This is `true` by default."},"destination_on_behalf_of_charge_management":{"type":"boolean","description":"Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default."},"dispute_management":{"type":"boolean","description":"Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default."},"refund_management":{"type":"boolean","description":"Whether sending refunds is enabled. This is `true` by default."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management"]}},"description":"Configuration for the [payments](/connect/supported-embedded-components/payments/) embedded component.","x-stripeMostCommon":["enabled","features"]},"payout_details":{"title":"base_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"base_features_param","type":"object","properties":{},"description":"An empty list, because this embedded component has no features."}},"description":"Configuration for the [payout details](/connect/supported-embedded-components/payout-details/) embedded component.","x-stripeMostCommon":["enabled","features"]},"payouts":{"title":"payouts_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"payouts_features_param","type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"edit_payout_schedule":{"type":"boolean","description":"Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."},"instant_payouts":{"type":"boolean","description":"Whether instant payouts are enabled for this component."},"standard_payouts":{"type":"boolean","description":"Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`."}},"description":"The list of features enabled in the embedded component.","x-stripeMostCommon":["disable_stripe_user_authentication","edit_payout_schedule","external_account_collection","instant_payouts","standard_payouts"]}},"description":"Configuration for the [payouts](/connect/supported-embedded-components/payouts/) embedded component.","x-stripeMostCommon":["enabled","features"]},"payouts_list":{"title":"base_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"base_features_param","type":"object","properties":{},"description":"An empty list, because this embedded component has no features."}},"description":"Configuration for the [payouts list](/connect/supported-embedded-components/payouts-list/) embedded component.","x-stripeMostCommon":["enabled","features"]},"tax_registrations":{"title":"base_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"base_features_param","type":"object","properties":{},"description":"An empty list, because this embedded component has no features."}},"description":"Configuration for the [tax registrations](/connect/supported-embedded-components/tax-registrations/) embedded component.","x-stripeMostCommon":["enabled","features"]},"tax_settings":{"title":"base_config_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"title":"base_features_param","type":"object","properties":{},"description":"An empty list, because this embedded component has no features."}},"description":"Configuration for the [tax settings](/connect/supported-embedded-components/tax-settings/) embedded component.","x-stripeMostCommon":["enabled","features"]}},"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).","x-stripeMostCommon":["account_management","account_onboarding","agentic_commerce_settings","app_install","app_viewport","balances","capital_financing","capital_financing_application","capital_financing_promotion","capital_overview","check_scanning","disputes_list","documents","export_tax_transactions","financial_account","financial_account_rewards","financial_account_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","network_cost_passthrough_report","notification_banner","payment_details","payment_disputes","payment_method_settings","payments","payout_details","payouts","payouts_list","product_tax_code_selector","recipients","reporting_chart","tax_registrations","tax_settings","tax_threshold_monitoring","terminal_hardware_orders","terminal_hardware_shop"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["account","components"]},"encoding":{"components":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account_session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts":{"get":{"summary":"List all connected accounts","description":"

Returns a list of accounts connected to your platform via Connect. If you’re not a platform, the list is empty.

","operationId":"GetAccounts","parameters":[{"name":"created","in":"query","description":"Only return connected accounts that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"AccountList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/account"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/accounts","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"description":"

With Connect, you can create Stripe accounts for your users.\nTo do this, you’ll first need to register your platform.

\n\n

If you’ve already collected information for your connected accounts, you can prefill that information when\ncreating the account. Connect Onboarding won’t ask for the prefilled information during account onboarding.\nYou can prefill any information on the account.

","operationId":"PostAccounts","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account_token":{"maxLength":5000,"type":"string","description":"An [account token](https://api.stripe.com#create_account_token), used to securely provide details to the account."},"business_profile":{"title":"business_profile_specs","type":"object","properties":{"annual_revenue":{"title":"annual_revenue_specs","required":["amount","currency","fiscal_year_end"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal)."},"currency":{"type":"string","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).","format":"currency"},"fiscal_year_end":{"maxLength":5000,"type":"string","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."}},"description":"The applicant's gross annual revenue for its preceding fiscal year.","x-stripeMostCommon":["amount","currency","fiscal_year_end"]},"estimated_worker_count":{"type":"integer","description":"An estimated upper bound of employees, contractors, vendors, etc. currently working for the business."},"mcc":{"maxLength":4,"type":"string","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."},"minority_owned_business_designation":{"type":"array","description":"Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.","items":{"type":"string","enum":["lgbtqi_owned_business","minority_owned_business","none_of_these_apply","prefer_not_to_answer","women_owned_business"]}},"monthly_estimated_revenue":{"title":"monthly_estimated_revenue_specs","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal)."},"currency":{"type":"string","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).","format":"currency"}},"description":"An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.","x-stripeMostCommon":["amount","currency"]},"name":{"maxLength":5000,"type":"string","description":"The customer-facing business name."},"product_description":{"maxLength":40000,"type":"string","description":"Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes."},"support_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"A publicly available mailing address for sending support issues to.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"support_email":{"type":"string","description":"A publicly available email address for sending support issues to."},"support_phone":{"maxLength":5000,"type":"string","description":"A publicly available phone number to call with support issues."},"support_url":{"description":"A publicly available website for handling support issues.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"url":{"type":"string","description":"The business's publicly available website."}},"description":"Business information about the account.","x-stripeMostCommon":["annual_revenue","customer_regions","estimated_worker_count","funding_source","industry","mcc","minority_owned_business_designation","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":{"type":"string","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"],"x-stripeBypassValidation":true},"capabilities":{"title":"capabilities_param","type":"object","properties":{"acss_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The acss_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"affirm_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The affirm_payments capability.","x-stripeMostCommon":["preview","requested"]},"afterpay_clearpay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The afterpay_clearpay_payments capability.","x-stripeMostCommon":["preview","requested"]},"alma_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The alma_payments capability.","x-stripeMostCommon":["preview","requested"]},"amazon_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The amazon_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"au_becs_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The au_becs_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"bacs_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The bacs_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"bancontact_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The bancontact_payments capability.","x-stripeMostCommon":["preview","requested"]},"bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"billie_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The billie_payments capability.","x-stripeMostCommon":["preview","requested"]},"blik_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The blik_payments capability.","x-stripeMostCommon":["preview","requested"]},"boleto_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The boleto_payments capability.","x-stripeMostCommon":["preview","requested"]},"card_issuing":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The card_issuing capability.","x-stripeMostCommon":["preview","requested"]},"card_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The card_payments capability.","x-stripeMostCommon":["preview","requested"]},"cartes_bancaires_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The cartes_bancaires_payments capability.","x-stripeMostCommon":["preview","requested"]},"cashapp_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The cashapp_payments capability.","x-stripeMostCommon":["preview","requested"]},"crypto_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The crypto_payments capability.","x-stripeMostCommon":["preview","requested"]},"eps_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The eps_payments capability.","x-stripeMostCommon":["preview","requested"]},"fpx_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The fpx_payments capability.","x-stripeMostCommon":["preview","requested"]},"gb_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The gb_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"giropay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The giropay_payments capability.","x-stripeMostCommon":["preview","requested"]},"grabpay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The grabpay_payments capability.","x-stripeMostCommon":["preview","requested"]},"ideal_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The ideal_payments capability.","x-stripeMostCommon":["preview","requested"]},"india_international_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The india_international_payments capability.","x-stripeMostCommon":["preview","requested"]},"jcb_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The jcb_payments capability.","x-stripeMostCommon":["preview","requested"]},"jp_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The jp_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"kakao_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The kakao_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"klarna_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The klarna_payments capability.","x-stripeMostCommon":["preview","requested"]},"konbini_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The konbini_payments capability.","x-stripeMostCommon":["preview","requested"]},"kr_card_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The kr_card_payments capability.","x-stripeMostCommon":["preview","requested"]},"legacy_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The legacy_payments capability.","x-stripeMostCommon":["preview","requested"]},"link_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The link_payments capability.","x-stripeMostCommon":["preview","requested"]},"mb_way_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The mb_way_payments capability.","x-stripeMostCommon":["preview","requested"]},"mobilepay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The mobilepay_payments capability.","x-stripeMostCommon":["preview","requested"]},"multibanco_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The multibanco_payments capability.","x-stripeMostCommon":["preview","requested"]},"mx_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The mx_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"naver_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The naver_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"nz_bank_account_becs_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The nz_bank_account_becs_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"oxxo_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The oxxo_payments capability.","x-stripeMostCommon":["preview","requested"]},"p24_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The p24_payments capability.","x-stripeMostCommon":["preview","requested"]},"pay_by_bank_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The pay_by_bank_payments capability.","x-stripeMostCommon":["preview","requested"]},"payco_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The payco_payments capability.","x-stripeMostCommon":["preview","requested"]},"paynow_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The paynow_payments capability.","x-stripeMostCommon":["preview","requested"]},"payto_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The payto_payments capability.","x-stripeMostCommon":["preview","requested"]},"pix_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The pix_payments capability.","x-stripeMostCommon":["preview","requested"]},"promptpay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The promptpay_payments capability.","x-stripeMostCommon":["preview","requested"]},"revolut_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The revolut_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"samsung_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The samsung_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"satispay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The satispay_payments capability.","x-stripeMostCommon":["preview","requested"]},"sepa_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The sepa_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"sepa_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The sepa_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"sofort_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The sofort_payments capability.","x-stripeMostCommon":["preview","requested"]},"swish_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The swish_payments capability.","x-stripeMostCommon":["preview","requested"]},"tax_reporting_us_1099_k":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The tax_reporting_us_1099_k capability.","x-stripeMostCommon":["preview","requested"]},"tax_reporting_us_1099_misc":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The tax_reporting_us_1099_misc capability.","x-stripeMostCommon":["preview","requested"]},"transfers":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The transfers capability.","x-stripeMostCommon":["preview","requested"]},"treasury":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The treasury capability.","x-stripeMostCommon":["preview","requested"]},"twint_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The twint_payments capability.","x-stripeMostCommon":["preview","requested"]},"upi_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The upi_payments capability.","x-stripeMostCommon":["preview","requested"]},"us_bank_account_ach_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The us_bank_account_ach_payments capability.","x-stripeMostCommon":["preview","requested"]},"us_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The us_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"zip_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The zip_payments capability.","x-stripeMostCommon":["preview","requested"]}},"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.","x-stripeMostCommon":["ach_debit_payments","acss_debit_payments","affirm_payments","afterpay_clearpay_payments","agentic_payments","alipay_payments","alma_payments","amazon_pay_payments","app_distribution","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_fifth_third","card_issuing_charge_card_stripe","card_issuing_consumer","card_issuing_consumer_revolving_credit_card_celtic","card_issuing_fa_prepaid_card_cross_river","card_issuing_fa_prepaid_card_lead","card_issuing_fa_spend_card_celtic","card_issuing_fa_spend_card_stripe","card_issuing_prepaid_card_cross_river","card_issuing_prepaid_card_lead","card_issuing_spend_card_cross_river","card_payments","cartes_bancaires_payments","cash_advances","cashapp_payments","click_to_pay_payments","crypto_financial_account_recipients","crypto_financial_accounts","crypto_payments","crypto_transfers","crypto_transfers_platform","demo_pay_payments","dispute_arbitration","duitnow_payments","dummy_passthrough_card_payments","edenred_payments","eps_payments","fpx_payments","fr_meal_voucher_conecs_payments","fund_and_send","funding_credit","gb_bank_transfer_payments","getbalance_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_international_payments","klarna_payments","konbini_payments","kr_card_payments","kr_market_payments","kriya_payments","legacy_payments","link_payments","loans","mb_way_payments","mobilepay_payments","momo_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","ng_wallet_payments","nz_bank_account_becs_debit_payments","nz_bank_transfer_payments","octopus_payments","oxxo_payments","p24_payments","pay_by_bank_payments","payco_payments","payments","paynow_payments","payouts","paypal_payments","paypay_payments","payto_payments","pix_payments","projects","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","shop_pay_payments","shopeepay_payments","sofort_payments","south_korea_market_payments","storer_holds_currencies_eur","storer_holds_currencies_eurc","storer_holds_currencies_gbp","storer_holds_currencies_usd","storer_holds_currencies_usdc","stripe_balance_payments","stripe_funded_fee_credits","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","us_cash_voucher_transfers","us_paper_check_payments","vipps_payments","wechat_pay_payments","wero_payments","zip_payments"]},"company":{"title":"company_specs","type":"object","properties":{"address":{"title":"legal_entity_and_kyc_address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The company's primary address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the company's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the company's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"directors_provided":{"type":"boolean","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."},"directorship_declaration":{"title":"company_directorship_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the directorship declaration attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the directorship declaration attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the directorship declaration attestation was made."}},"description":"This hash is used to attest that the directors information provided to Stripe is both current and correct.","x-stripeMostCommon":["date","ip","user_agent"]},"executives_provided":{"type":"boolean","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."},"export_license_id":{"maxLength":5000,"type":"string","description":"The export license ID number of the company, also referred as Import Export Code (India only)."},"export_purpose_code":{"maxLength":5000,"type":"string","description":"The purpose code to use for export transactions (India only)."},"name":{"maxLength":100,"type":"string","description":"The company's legal name."},"name_kana":{"maxLength":100,"type":"string","description":"The Kana variation of the company's legal name (Japan only)."},"name_kanji":{"maxLength":100,"type":"string","description":"The Kanji variation of the company's legal name (Japan only)."},"owners_provided":{"type":"boolean","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."},"ownership_declaration":{"title":"company_ownership_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the beneficial owner attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the beneficial owner attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the beneficial owner attestation was made."}},"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.","x-stripeMostCommon":["date","ip","user_agent"]},"ownership_exemption_reason":{"type":"string","description":"This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.","enum":["","qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"]},"phone":{"maxLength":5000,"type":"string","description":"The company's phone number (used for verification)."},"registration_date":{"description":"When the business was incorporated or registered.","anyOf":[{"title":"registration_date_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31."},"month":{"type":"integer","description":"The month of registration, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of registration."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"registration_number":{"maxLength":5000,"type":"string","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)."},"representative_declaration":{"title":"company_representative_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the representative declaration attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the representative declaration attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the representative declaration attestation was made."}},"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity.","x-stripeMostCommon":["date","ip","user_agent"]},"structure":{"type":"string","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"],"x-stripeBypassValidation":true},"tax_id":{"maxLength":5000,"type":"string","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.)"},"tax_id_registrar":{"maxLength":5000,"type":"string","description":"The jurisdiction in which the `tax_id` is registered (Germany-based companies only)."},"vat_id":{"maxLength":5000,"type":"string","description":"The VAT number of the company."},"verification":{"title":"verification_specs","type":"object","properties":{"document":{"title":"verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of a document returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of a document returned by a [file upload](https://api.stripe.com#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."}},"description":"A document verifying the business.","x-stripeMostCommon":["back","front"]}},"description":"Information on the verification state of the company.","x-stripeMostCommon":["document"]}},"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.","x-stripeMostCommon":["address","address_kana","address_kanji","contact_point_verification_address","cross_border_transaction_classifications","directors_provided","directorship_declaration","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","trust_owned","vat_id","vat_registration_status","verification"]},"controller":{"title":"controller_specs","type":"object","properties":{"fees":{"title":"controller_fees_specs","type":"object","properties":{"payer":{"type":"string","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"]}},"description":"A hash of configuration for who pays Stripe fees for product usage on this account.","x-stripeMostCommon":["payer"]},"losses":{"title":"controller_losses_specs","type":"object","properties":{"payments":{"type":"string","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"]}},"description":"A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.","x-stripeMostCommon":["payments"]},"requirement_collection":{"type":"string","description":"A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.","enum":["application","stripe"]},"stripe_dashboard":{"title":"controller_dashboard_specs","type":"object","properties":{"type":{"type":"string","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"]}},"description":"A hash of configuration for Stripe-hosted dashboards.","x-stripeMostCommon":["type"]}},"description":"A hash of configuration describing the account controller's attributes.","x-stripeMostCommon":["application","dashboard","fees","losses","requirement_collection","stripe_dashboard"]},"country":{"maxLength":5000,"type":"string","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."},"default_currency":{"type":"string","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).","format":"currency"},"documents":{"title":"documents_specs","type":"object","properties":{"bank_account_ownership_verification":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"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.","x-stripeMostCommon":["files"]},"company_license":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of a company's license to operate.","x-stripeMostCommon":["files"]},"company_memorandum_of_association":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents showing the company's Memorandum of Association.","x-stripeMostCommon":["files"]},"company_ministerial_decree":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"(Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.","x-stripeMostCommon":["files"]},"company_registration_verification":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.","x-stripeMostCommon":["files"]},"company_tax_id_verification":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of a company's tax ID.","x-stripeMostCommon":["files"]},"proof_of_address":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of address.","x-stripeMostCommon":["files"]},"proof_of_registration":{"title":"signer_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}},"signer":{"title":"signer_name_param","type":"object","properties":{"person":{"maxLength":5000,"type":"string","description":"The token of the person signing the document, if applicable."}},"description":"Information regarding the person signing the document if applicable.","x-stripeMostCommon":["person"]}},"description":"One or more documents showing the company’s proof of registration with the national business registry.","x-stripeMostCommon":["files","signer"]},"proof_of_ultimate_beneficial_ownership":{"title":"signer_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}},"signer":{"title":"signer_name_param","type":"object","properties":{"person":{"maxLength":5000,"type":"string","description":"The token of the person signing the document, if applicable."}},"description":"Information regarding the person signing the document if applicable.","x-stripeMostCommon":["person"]}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership.","x-stripeMostCommon":["files","signer"]}},"description":"Documents that may be submitted to satisfy various informational requests.","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_address","proof_of_registration","proof_of_ultimate_beneficial_ownership"]},"email":{"type":"string","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"external_account":{"maxLength":5000,"type":"string","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.

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.","x-stripeBypassValidation":true},"groups":{"title":"account_groups_specs","type":"object","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://docs.stripe.com/connect/platform-pricing-tools) for details.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"A hash of account group type to tokens. These are account groups this account should be added to.","x-stripeMostCommon":["payments_pricing"]},"individual":{"title":"individual_specs","type":"object","properties":{"address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The individual's primary address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the individual's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the individual's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"dob":{"description":"The individual's date of birth.","anyOf":[{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"email":{"type":"string","description":"The individual's email address."},"first_name":{"maxLength":100,"type":"string","description":"The individual's first name."},"first_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the individual's first name (Japan only)."},"first_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the individual's first name (Japan only)."},"full_name_aliases":{"description":"A list of alternate names or aliases that the individual is known by.","anyOf":[{"type":"array","items":{"maxLength":300,"type":"string"}},{"type":"string","enum":[""]}]},"gender":{"type":"string","description":"The individual's gender"},"id_number":{"maxLength":5000,"type":"string","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)."},"id_number_secondary":{"maxLength":5000,"type":"string","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)."},"last_name":{"maxLength":100,"type":"string","description":"The individual's last name."},"last_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the individual's last name (Japan only)."},"last_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the individual's last name (Japan only)."},"maiden_name":{"maxLength":5000,"type":"string","description":"The individual's maiden name."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"phone":{"type":"string","description":"The individual's phone number."},"political_exposure":{"type":"string","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"]},"registered_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The individual's registered address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"relationship":{"title":"individual_relationship_specs","type":"object","properties":{"director":{"type":"boolean","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."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s legal entity."},"percent_ownership":{"description":"The percent owned by the person of the account's legal entity.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"title":{"maxLength":5000,"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"Describes the person’s relationship to the account.","x-stripeMostCommon":["controller","director","executive","officer","owner","partner","percent_ownership","title"]},"ssn_last_4":{"maxLength":5000,"type":"string","description":"The last four digits of the individual's Social Security Number (U.S. only)."},"verification":{"title":"person_verification_specs","type":"object","properties":{"additional_document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.","x-stripeMostCommon":["back","electronic_id","front"]},"document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","electronic_id","front"]}},"description":"The individual's verification document information.","x-stripeMostCommon":["additional_document","document","proof_of_liveness"]}},"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.","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","self_reported_income","self_reported_monthly_housing_payment","ssn_last_4","verification"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"settings":{"title":"settings_specs","type":"object","properties":{"bacs_debit_payments":{"title":"bacs_debit_payments_specs","type":"object","properties":{"display_name":{"type":"string","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."}},"description":"Settings specific to Bacs Direct Debit.","x-stripeMostCommon":["display_name"]},"branding":{"title":"branding_settings_specs","type":"object","properties":{"icon":{"maxLength":5000,"type":"string","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."},"logo":{"maxLength":5000,"type":"string","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."},"primary_color":{"maxLength":5000,"type":"string","description":"A CSS hex color value representing the primary branding color for this account."},"secondary_color":{"maxLength":5000,"type":"string","description":"A CSS hex color value representing the secondary branding color for this account."}},"description":"Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.","x-stripeMostCommon":["icon","logo","primary_color","secondary_color","show_support_phone"]},"card_issuing":{"title":"card_issuing_settings_specs","type":"object","properties":{"tos_acceptance":{"title":"settings_terms_of_service_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted the service agreement."},"user_agent":{"description":"The user agent of the browser from which the account representative accepted the service agreement.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Settings specific to the account's use of the Card Issuing product.","x-stripeMostCommon":["tos_acceptance","tos_acceptances"]},"card_payments":{"title":"card_payments_settings_specs","type":"object","properties":{"decline_on":{"title":"decline_charge_on_specs","type":"object","properties":{"avs_failure":{"type":"boolean","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."},"cvc_failure":{"type":"boolean","description":"Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification."}},"description":"Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.","x-stripeMostCommon":["avs_failure","cvc_failure"]},"statement_descriptor_prefix":{"maxLength":10,"type":"string","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."},"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.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Settings specific to card charging on the account.","x-stripeMostCommon":["decline_on","onboarding_policy","statement_descriptor_prefix","statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji"]},"invoices":{"title":"invoices_settings_specs_create","type":"object","properties":{"hosted_payment_method_save":{"type":"string","description":"Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page.","enum":["always","never","offer"]}},"description":"Settings specific to the account’s use of Invoices.","x-stripeMostCommon":["hosted_payment_method_save"]},"payments":{"title":"payments_settings_specs","type":"object","properties":{"statement_descriptor":{"maxLength":22,"type":"string","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)."},"statement_descriptor_kana":{"maxLength":22,"type":"string","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)."},"statement_descriptor_kanji":{"maxLength":22,"type":"string","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)."}},"description":"Settings that apply across payment methods for charging on the account.","x-stripeMostCommon":["email_customers_on_successful_payment","statement_descriptor","statement_descriptor_kana","statement_descriptor_kanji"]},"payouts":{"title":"payout_settings_specs","type":"object","properties":{"debit_negative_balances":{"type":"boolean","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)."},"schedule":{"title":"transfer_schedule_specs","type":"object","properties":{"delay_days":{"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).","anyOf":[{"maxLength":5000,"type":"string","enum":["minimum"]},{"type":"integer"}]},"interval":{"maxLength":5000,"type":"string","description":"How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.","enum":["daily","manual","monthly","weekly"],"x-stripeBypassValidation":true},"monthly_anchor":{"type":"integer","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`."},"monthly_payout_days":{"type":"array","description":"The days of the month when available funds are paid out, specified as an array of numbers 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` and `monthly_anchor` is not set.","items":{"type":"integer"}},"weekly_anchor":{"maxLength":5000,"type":"string","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"]},"weekly_payout_days":{"type":"array","description":"The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. Required and applicable only if `interval` is `weekly`.","items":{"type":"string","enum":["friday","monday","thursday","tuesday","wednesday"],"x-stripeBypassValidation":true}}},"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.","x-stripeMostCommon":["automatic","delay_days","interval","monthly_anchor","monthly_payout_days","timezone","weekly_anchor","weekly_payout_days"]},"statement_descriptor":{"maxLength":22,"type":"string","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."}},"description":"Settings specific to the account's payouts.","x-stripeMostCommon":["debit_negative_balances","schedule","statement_descriptor"]},"treasury":{"title":"treasury_settings_specs","type":"object","properties":{"tos_acceptance":{"title":"settings_terms_of_service_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted the service agreement."},"user_agent":{"description":"The user agent of the browser from which the account representative accepted the service agreement.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Details on the account's acceptance of the Stripe Treasury Services Agreement.","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Settings specific to the account's Treasury FinancialAccounts.","x-stripeMostCommon":["tos_acceptance"]}},"description":"Options for customizing how the account functions within Stripe.","x-stripeMostCommon":["affirm_payments","agentic_commerce","bacs_debit_payments","bank_bca_onboarding","branding","capital","card_issuing","card_issuing_charge_card","card_issuing_payout","card_payments","crypto_payments","crypto_storer","fund_and_send","funding_credit","invoices","konbini_payments","payments","payouts","smart_disputes","tax_forms","treasury"]},"tos_acceptance":{"title":"tos_acceptance_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted their service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted their service agreement."},"service_agreement":{"maxLength":5000,"type":"string","description":"The user's service agreement type."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the account representative accepted their service agreement."}},"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.","x-stripeMostCommon":["date","ip","service_agreement","user_agent"]},"type":{"type":"string","description":"The type of Stripe account to create. May be one of `custom`, `express` or `standard`.","enum":["custom","express","standard"]}},"additionalProperties":false,"x-stripeMostCommon":["business_type","capabilities","company","controller","country","email","individual","metadata","tos_acceptance","type"]},"encoding":{"business_profile":{"style":"deepObject","explode":true},"capabilities":{"style":"deepObject","explode":true},"company":{"style":"deepObject","explode":true},"controller":{"style":"deepObject","explode":true},"documents":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"groups":{"style":"deepObject","explode":true},"individual":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"settings":{"style":"deepObject","explode":true},"tos_acceptance":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}":{"get":{"summary":"Retrieve account","description":"

Retrieves the details of an account.

","operationId":"GetAccountsAccount","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an account","description":"

Updates a connected account by setting the values of the parameters passed. Any parameters not provided are\nleft unchanged.

\n\n

For accounts where controller.requirement_collection\nis application, which includes Custom accounts, you can update any information on the account.

\n\n

For accounts where controller.requirement_collection\nis stripe, which includes Standard and Express accounts, you can update all information until you create\nan Account Link or Account Session to start Connect onboarding,\nafter which some properties can no longer be updated.

\n\n

To update your own account, use the Dashboard. Refer to our\nConnect documentation to learn more about updating accounts.

","operationId":"PostAccountsAccount","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account_token":{"maxLength":5000,"type":"string","description":"An [account token](https://api.stripe.com#create_account_token), used to securely provide details to the account."},"business_profile":{"title":"business_profile_update_specs","type":"object","properties":{"annual_revenue":{"title":"annual_revenue_specs","required":["amount","currency","fiscal_year_end"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal)."},"currency":{"type":"string","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).","format":"currency"},"fiscal_year_end":{"maxLength":5000,"type":"string","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."}},"description":"The applicant's gross annual revenue for its preceding fiscal year.","x-stripeMostCommon":["amount","currency","fiscal_year_end"]},"estimated_worker_count":{"type":"integer","description":"An estimated upper bound of employees, contractors, vendors, etc. currently working for the business."},"mcc":{"maxLength":4,"type":"string","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."},"minority_owned_business_designation":{"type":"array","description":"Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.","items":{"type":"string","enum":["lgbtqi_owned_business","minority_owned_business","none_of_these_apply","prefer_not_to_answer","women_owned_business"]}},"monthly_estimated_revenue":{"title":"monthly_estimated_revenue_specs","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal)."},"currency":{"type":"string","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).","format":"currency"}},"description":"An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.","x-stripeMostCommon":["amount","currency"]},"name":{"maxLength":5000,"type":"string","description":"The customer-facing business name."},"product_description":{"maxLength":40000,"type":"string","description":"Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes."},"support_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"A publicly available mailing address for sending support issues to.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"support_email":{"type":"string","description":"A publicly available email address for sending support issues to."},"support_phone":{"maxLength":5000,"type":"string","description":"A publicly available phone number to call with support issues."},"support_url":{"description":"A publicly available website for handling support issues.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"url":{"type":"string","description":"The business's publicly available website."}},"description":"Business information about the account.","x-stripeMostCommon":["annual_revenue","customer_regions","estimated_worker_count","funding_source","industry","mcc","minority_owned_business_designation","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":{"type":"string","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"],"x-stripeBypassValidation":true},"capabilities":{"title":"capabilities_param","type":"object","properties":{"acss_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The acss_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"affirm_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The affirm_payments capability.","x-stripeMostCommon":["preview","requested"]},"afterpay_clearpay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The afterpay_clearpay_payments capability.","x-stripeMostCommon":["preview","requested"]},"alma_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The alma_payments capability.","x-stripeMostCommon":["preview","requested"]},"amazon_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The amazon_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"au_becs_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The au_becs_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"bacs_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The bacs_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"bancontact_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The bancontact_payments capability.","x-stripeMostCommon":["preview","requested"]},"bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"billie_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The billie_payments capability.","x-stripeMostCommon":["preview","requested"]},"blik_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The blik_payments capability.","x-stripeMostCommon":["preview","requested"]},"boleto_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The boleto_payments capability.","x-stripeMostCommon":["preview","requested"]},"card_issuing":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The card_issuing capability.","x-stripeMostCommon":["preview","requested"]},"card_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The card_payments capability.","x-stripeMostCommon":["preview","requested"]},"cartes_bancaires_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The cartes_bancaires_payments capability.","x-stripeMostCommon":["preview","requested"]},"cashapp_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The cashapp_payments capability.","x-stripeMostCommon":["preview","requested"]},"crypto_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The crypto_payments capability.","x-stripeMostCommon":["preview","requested"]},"eps_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The eps_payments capability.","x-stripeMostCommon":["preview","requested"]},"fpx_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The fpx_payments capability.","x-stripeMostCommon":["preview","requested"]},"gb_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The gb_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"giropay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The giropay_payments capability.","x-stripeMostCommon":["preview","requested"]},"grabpay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The grabpay_payments capability.","x-stripeMostCommon":["preview","requested"]},"ideal_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The ideal_payments capability.","x-stripeMostCommon":["preview","requested"]},"india_international_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The india_international_payments capability.","x-stripeMostCommon":["preview","requested"]},"jcb_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The jcb_payments capability.","x-stripeMostCommon":["preview","requested"]},"jp_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The jp_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"kakao_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The kakao_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"klarna_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The klarna_payments capability.","x-stripeMostCommon":["preview","requested"]},"konbini_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The konbini_payments capability.","x-stripeMostCommon":["preview","requested"]},"kr_card_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The kr_card_payments capability.","x-stripeMostCommon":["preview","requested"]},"legacy_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The legacy_payments capability.","x-stripeMostCommon":["preview","requested"]},"link_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The link_payments capability.","x-stripeMostCommon":["preview","requested"]},"mb_way_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The mb_way_payments capability.","x-stripeMostCommon":["preview","requested"]},"mobilepay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The mobilepay_payments capability.","x-stripeMostCommon":["preview","requested"]},"multibanco_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The multibanco_payments capability.","x-stripeMostCommon":["preview","requested"]},"mx_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The mx_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"naver_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The naver_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"nz_bank_account_becs_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The nz_bank_account_becs_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"oxxo_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The oxxo_payments capability.","x-stripeMostCommon":["preview","requested"]},"p24_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The p24_payments capability.","x-stripeMostCommon":["preview","requested"]},"pay_by_bank_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The pay_by_bank_payments capability.","x-stripeMostCommon":["preview","requested"]},"payco_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The payco_payments capability.","x-stripeMostCommon":["preview","requested"]},"paynow_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The paynow_payments capability.","x-stripeMostCommon":["preview","requested"]},"payto_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The payto_payments capability.","x-stripeMostCommon":["preview","requested"]},"pix_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The pix_payments capability.","x-stripeMostCommon":["preview","requested"]},"promptpay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The promptpay_payments capability.","x-stripeMostCommon":["preview","requested"]},"revolut_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The revolut_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"samsung_pay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The samsung_pay_payments capability.","x-stripeMostCommon":["preview","requested"]},"satispay_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The satispay_payments capability.","x-stripeMostCommon":["preview","requested"]},"sepa_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The sepa_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"sepa_debit_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The sepa_debit_payments capability.","x-stripeMostCommon":["preview","requested"]},"sofort_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The sofort_payments capability.","x-stripeMostCommon":["preview","requested"]},"swish_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The swish_payments capability.","x-stripeMostCommon":["preview","requested"]},"tax_reporting_us_1099_k":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The tax_reporting_us_1099_k capability.","x-stripeMostCommon":["preview","requested"]},"tax_reporting_us_1099_misc":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The tax_reporting_us_1099_misc capability.","x-stripeMostCommon":["preview","requested"]},"transfers":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The transfers capability.","x-stripeMostCommon":["preview","requested"]},"treasury":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The treasury capability.","x-stripeMostCommon":["preview","requested"]},"twint_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The twint_payments capability.","x-stripeMostCommon":["preview","requested"]},"upi_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The upi_payments capability.","x-stripeMostCommon":["preview","requested"]},"us_bank_account_ach_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The us_bank_account_ach_payments capability.","x-stripeMostCommon":["preview","requested"]},"us_bank_transfer_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The us_bank_transfer_payments capability.","x-stripeMostCommon":["preview","requested"]},"zip_payments":{"title":"capability_param","type":"object","properties":{"requested":{"type":"boolean","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."}},"description":"The zip_payments capability.","x-stripeMostCommon":["preview","requested"]}},"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.","x-stripeMostCommon":["ach_debit_payments","acss_debit_payments","affirm_payments","afterpay_clearpay_payments","agentic_payments","alipay_payments","alma_payments","amazon_pay_payments","app_distribution","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_fifth_third","card_issuing_charge_card_stripe","card_issuing_consumer","card_issuing_consumer_revolving_credit_card_celtic","card_issuing_fa_prepaid_card_cross_river","card_issuing_fa_prepaid_card_lead","card_issuing_fa_spend_card_celtic","card_issuing_fa_spend_card_stripe","card_issuing_prepaid_card_cross_river","card_issuing_prepaid_card_lead","card_issuing_spend_card_cross_river","card_payments","cartes_bancaires_payments","cash_advances","cashapp_payments","click_to_pay_payments","crypto_financial_account_recipients","crypto_financial_accounts","crypto_payments","crypto_transfers","crypto_transfers_platform","demo_pay_payments","dispute_arbitration","duitnow_payments","dummy_passthrough_card_payments","edenred_payments","eps_payments","fpx_payments","fr_meal_voucher_conecs_payments","fund_and_send","funding_credit","gb_bank_transfer_payments","getbalance_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_international_payments","klarna_payments","konbini_payments","kr_card_payments","kr_market_payments","kriya_payments","legacy_payments","link_payments","loans","mb_way_payments","mobilepay_payments","momo_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","ng_wallet_payments","nz_bank_account_becs_debit_payments","nz_bank_transfer_payments","octopus_payments","oxxo_payments","p24_payments","pay_by_bank_payments","payco_payments","payments","paynow_payments","payouts","paypal_payments","paypay_payments","payto_payments","pix_payments","projects","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","shop_pay_payments","shopeepay_payments","sofort_payments","south_korea_market_payments","storer_holds_currencies_eur","storer_holds_currencies_eurc","storer_holds_currencies_gbp","storer_holds_currencies_usd","storer_holds_currencies_usdc","stripe_balance_payments","stripe_funded_fee_credits","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","us_cash_voucher_transfers","us_paper_check_payments","vipps_payments","wechat_pay_payments","wero_payments","zip_payments"]},"company":{"title":"company_update_specs","type":"object","properties":{"address":{"title":"legal_entity_and_kyc_address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The company's primary address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the company's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the company's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"directors_provided":{"type":"boolean","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."},"directorship_declaration":{"title":"company_directorship_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the directorship declaration attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the directorship declaration attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the directorship declaration attestation was made."}},"description":"This hash is used to attest that the directors information provided to Stripe is both current and correct.","x-stripeMostCommon":["date","ip","user_agent"]},"executives_provided":{"type":"boolean","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."},"export_license_id":{"maxLength":5000,"type":"string","description":"The export license ID number of the company, also referred as Import Export Code (India only)."},"export_purpose_code":{"maxLength":5000,"type":"string","description":"The purpose code to use for export transactions (India only)."},"name":{"maxLength":100,"type":"string","description":"The company's legal name."},"name_kana":{"maxLength":100,"type":"string","description":"The Kana variation of the company's legal name (Japan only)."},"name_kanji":{"maxLength":100,"type":"string","description":"The Kanji variation of the company's legal name (Japan only)."},"owners_provided":{"type":"boolean","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."},"ownership_declaration":{"title":"company_ownership_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the beneficial owner attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the beneficial owner attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the beneficial owner attestation was made."}},"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.","x-stripeMostCommon":["date","ip","user_agent"]},"ownership_exemption_reason":{"type":"string","description":"This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.","enum":["","qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"]},"phone":{"maxLength":5000,"type":"string","description":"The company's phone number (used for verification)."},"registration_date":{"anyOf":[{"title":"registration_date_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31."},"month":{"type":"integer","description":"The month of registration, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of registration."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"registration_number":{"maxLength":5000,"type":"string","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)."},"representative_declaration":{"title":"company_representative_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the representative declaration attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the representative declaration attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the representative declaration attestation was made."}},"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity.","x-stripeMostCommon":["date","ip","user_agent"]},"structure":{"type":"string","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"],"x-stripeBypassValidation":true},"tax_id":{"maxLength":5000,"type":"string","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.)"},"tax_id_registrar":{"maxLength":5000,"type":"string","description":"The jurisdiction in which the `tax_id` is registered (Germany-based companies only)."},"vat_id":{"maxLength":5000,"type":"string","description":"The VAT number of the company."},"verification":{"title":"verification_specs","type":"object","properties":{"document":{"title":"verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of a document returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of a document returned by a [file upload](https://api.stripe.com#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."}},"description":"A document verifying the business.","x-stripeMostCommon":["back","front"]}},"description":"Information on the verification state of the company.","x-stripeMostCommon":["document"]}},"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.","x-stripeMostCommon":["address","address_kana","address_kanji","contact_point_verification_address","cross_border_transaction_classifications","directors_provided","directorship_declaration","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","trust_owned","vat_id","vat_registration_status","verification"]},"default_currency":{"type":"string","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).","format":"currency"},"documents":{"title":"documents_specs","type":"object","properties":{"bank_account_ownership_verification":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"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.","x-stripeMostCommon":["files"]},"company_license":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of a company's license to operate.","x-stripeMostCommon":["files"]},"company_memorandum_of_association":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents showing the company's Memorandum of Association.","x-stripeMostCommon":["files"]},"company_ministerial_decree":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"(Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.","x-stripeMostCommon":["files"]},"company_registration_verification":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.","x-stripeMostCommon":["files"]},"company_tax_id_verification":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of a company's tax ID.","x-stripeMostCommon":["files"]},"proof_of_address":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"description":"One or more documents that demonstrate proof of address.","x-stripeMostCommon":["files"]},"proof_of_registration":{"title":"signer_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}},"signer":{"title":"signer_name_param","type":"object","properties":{"person":{"maxLength":5000,"type":"string","description":"The token of the person signing the document, if applicable."}},"description":"Information regarding the person signing the document if applicable.","x-stripeMostCommon":["person"]}},"description":"One or more documents showing the company’s proof of registration with the national business registry.","x-stripeMostCommon":["files","signer"]},"proof_of_ultimate_beneficial_ownership":{"title":"signer_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}},"signer":{"title":"signer_name_param","type":"object","properties":{"person":{"maxLength":5000,"type":"string","description":"The token of the person signing the document, if applicable."}},"description":"Information regarding the person signing the document if applicable.","x-stripeMostCommon":["person"]}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership.","x-stripeMostCommon":["files","signer"]}},"description":"Documents that may be submitted to satisfy various informational requests.","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_address","proof_of_registration","proof_of_ultimate_beneficial_ownership"]},"email":{"type":"string","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"external_account":{"maxLength":5000,"type":"string","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.

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.","x-stripeBypassValidation":true},"groups":{"title":"account_groups_specs","type":"object","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://docs.stripe.com/connect/platform-pricing-tools) for details.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"A hash of account group type to tokens. These are account groups this account should be added to.","x-stripeMostCommon":["payments_pricing"]},"individual":{"title":"individual_update_specs","type":"object","properties":{"address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The individual's primary address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the individual's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the individual's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"dob":{"description":"The individual's date of birth.","anyOf":[{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"email":{"type":"string","description":"The individual's email address."},"first_name":{"maxLength":100,"type":"string","description":"The individual's first name."},"first_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the individual's first name (Japan only)."},"first_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the individual's first name (Japan only)."},"full_name_aliases":{"description":"A list of alternate names or aliases that the individual is known by.","anyOf":[{"type":"array","items":{"maxLength":300,"type":"string"}},{"type":"string","enum":[""]}]},"gender":{"type":"string","description":"The individual's gender"},"id_number":{"maxLength":5000,"type":"string","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)."},"id_number_secondary":{"maxLength":5000,"type":"string","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)."},"last_name":{"maxLength":100,"type":"string","description":"The individual's last name."},"last_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the individual's last name (Japan only)."},"last_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the individual's last name (Japan only)."},"maiden_name":{"maxLength":5000,"type":"string","description":"The individual's maiden name."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"phone":{"type":"string","description":"The individual's phone number."},"political_exposure":{"type":"string","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"]},"registered_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The individual's registered address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"relationship":{"title":"individual_relationship_specs","type":"object","properties":{"director":{"type":"boolean","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."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s legal entity."},"percent_ownership":{"description":"The percent owned by the person of the account's legal entity.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"title":{"maxLength":5000,"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"Describes the person’s relationship to the account.","x-stripeMostCommon":["controller","director","executive","officer","owner","partner","percent_ownership","title"]},"ssn_last_4":{"maxLength":5000,"type":"string","description":"The last four digits of the individual's Social Security Number (U.S. only)."},"verification":{"title":"person_verification_specs","type":"object","properties":{"additional_document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.","x-stripeMostCommon":["back","electronic_id","front"]},"document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","electronic_id","front"]}},"description":"The individual's verification document information.","x-stripeMostCommon":["additional_document","document","proof_of_liveness"]}},"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.","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","self_reported_income","self_reported_monthly_housing_payment","ssn_last_4","verification"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"settings":{"title":"settings_specs_update","type":"object","properties":{"bacs_debit_payments":{"title":"bacs_debit_payments_specs","type":"object","properties":{"display_name":{"type":"string","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."}},"description":"Settings specific to Bacs Direct Debit payments.","x-stripeMostCommon":["display_name"]},"branding":{"title":"branding_settings_specs","type":"object","properties":{"icon":{"maxLength":5000,"type":"string","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."},"logo":{"maxLength":5000,"type":"string","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."},"primary_color":{"maxLength":5000,"type":"string","description":"A CSS hex color value representing the primary branding color for this account."},"secondary_color":{"maxLength":5000,"type":"string","description":"A CSS hex color value representing the secondary branding color for this account."}},"description":"Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.","x-stripeMostCommon":["icon","logo","primary_color","secondary_color","show_support_phone"]},"card_issuing":{"title":"card_issuing_settings_specs","type":"object","properties":{"tos_acceptance":{"title":"settings_terms_of_service_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted the service agreement."},"user_agent":{"description":"The user agent of the browser from which the account representative accepted the service agreement.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Settings specific to the account's use of the Card Issuing product.","x-stripeMostCommon":["tos_acceptance","tos_acceptances"]},"card_payments":{"title":"card_payments_settings_specs","type":"object","properties":{"decline_on":{"title":"decline_charge_on_specs","type":"object","properties":{"avs_failure":{"type":"boolean","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."},"cvc_failure":{"type":"boolean","description":"Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification."}},"description":"Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.","x-stripeMostCommon":["avs_failure","cvc_failure"]},"statement_descriptor_prefix":{"maxLength":10,"type":"string","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."},"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.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Settings specific to card charging on the account.","x-stripeMostCommon":["decline_on","onboarding_policy","statement_descriptor_prefix","statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji"]},"invoices":{"title":"invoices_settings_specs","type":"object","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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"hosted_payment_method_save":{"type":"string","description":"Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page.","enum":["always","never","offer"]}},"description":"Settings specific to the account's use of Invoices.","x-stripeMostCommon":["default_account_tax_ids","hosted_payment_method_save"]},"payments":{"title":"payments_settings_specs","type":"object","properties":{"statement_descriptor":{"maxLength":22,"type":"string","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)."},"statement_descriptor_kana":{"maxLength":22,"type":"string","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)."},"statement_descriptor_kanji":{"maxLength":22,"type":"string","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)."}},"description":"Settings that apply across payment methods for charging on the account.","x-stripeMostCommon":["email_customers_on_successful_payment","statement_descriptor","statement_descriptor_kana","statement_descriptor_kanji"]},"payouts":{"title":"payout_settings_specs","type":"object","properties":{"debit_negative_balances":{"type":"boolean","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)."},"schedule":{"title":"transfer_schedule_specs","type":"object","properties":{"delay_days":{"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).","anyOf":[{"maxLength":5000,"type":"string","enum":["minimum"]},{"type":"integer"}]},"interval":{"maxLength":5000,"type":"string","description":"How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.","enum":["daily","manual","monthly","weekly"],"x-stripeBypassValidation":true},"monthly_anchor":{"type":"integer","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`."},"monthly_payout_days":{"type":"array","description":"The days of the month when available funds are paid out, specified as an array of numbers 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` and `monthly_anchor` is not set.","items":{"type":"integer"}},"weekly_anchor":{"maxLength":5000,"type":"string","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"]},"weekly_payout_days":{"type":"array","description":"The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. Required and applicable only if `interval` is `weekly`.","items":{"type":"string","enum":["friday","monday","thursday","tuesday","wednesday"],"x-stripeBypassValidation":true}}},"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.","x-stripeMostCommon":["automatic","delay_days","interval","monthly_anchor","monthly_payout_days","timezone","weekly_anchor","weekly_payout_days"]},"statement_descriptor":{"maxLength":22,"type":"string","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."}},"description":"Settings specific to the account's payouts.","x-stripeMostCommon":["debit_negative_balances","schedule","statement_descriptor"]},"treasury":{"title":"treasury_settings_specs","type":"object","properties":{"tos_acceptance":{"title":"settings_terms_of_service_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted the service agreement."},"user_agent":{"description":"The user agent of the browser from which the account representative accepted the service agreement.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Details on the account's acceptance of the Stripe Treasury Services Agreement.","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Settings specific to the account's Treasury FinancialAccounts.","x-stripeMostCommon":["tos_acceptance"]}},"description":"Options for customizing how the account functions within Stripe.","x-stripeMostCommon":["affirm_payments","agentic_commerce","bacs_debit_payments","bank_bca_onboarding","branding","capital","card_issuing","card_issuing_charge_card","card_issuing_payout","card_payments","crypto_payments","crypto_storer","dispute_arbitration","fund_and_send","funding_credit","invoices","konbini_payments","payments","payouts","smart_disputes","tax_forms","treasury"]},"tos_acceptance":{"title":"tos_acceptance_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted their service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted their service agreement."},"service_agreement":{"maxLength":5000,"type":"string","description":"The user's service agreement type."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the account representative accepted their service agreement."}},"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.","x-stripeMostCommon":["date","ip","service_agreement","user_agent"]}},"additionalProperties":false,"x-stripeMostCommon":["business_type","capabilities","company","email","individual","metadata","tos_acceptance"]},"encoding":{"business_profile":{"style":"deepObject","explode":true},"capabilities":{"style":"deepObject","explode":true},"company":{"style":"deepObject","explode":true},"documents":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"groups":{"style":"deepObject","explode":true},"individual":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"settings":{"style":"deepObject","explode":true},"tos_acceptance":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete an account","description":"

With Connect, you can delete accounts you manage.

\n\n

Test-mode accounts can be deleted at any time.

\n\n

Live-mode accounts that have access to the standard dashboard and Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. All other Live-mode accounts, can be deleted when all balances are zero.

\n\n

If you want to delete your own account, use the account information tab in your account settings instead.

","operationId":"DeleteAccountsAccount","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/capabilities":{"get":{"summary":"List all account capabilities","description":"

Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.

","operationId":"GetAccountsAccountCapabilities","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ListAccountCapability","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/capability"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/capabilities/{capability}":{"get":{"summary":"Retrieve an Account Capability","description":"

Retrieves information about the specified Account Capability.

","operationId":"GetAccountsAccountCapabilitiesCapability","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"capability","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an Account Capability","description":"

Updates an existing Account Capability. Request or remove a capability by updating its requested parameter.

","operationId":"PostAccountsAccountCapabilitiesCapability","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"capability","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"requested":{"type":"boolean","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."}},"additionalProperties":false,"x-stripeMostCommon":["requested"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/capability"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/external_accounts":{"get":{"summary":"List all external accounts","description":"

List external accounts for an account.

","operationId":"GetAccountsAccountExternalAccounts","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"object","in":"query","description":"Filter external accounts according to a particular object type.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string","enum":["bank_account","card"],"x-stripeBypassValidation":true,"x-stripeParam":{"class_name":"object_type"}}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ExternalAccountList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","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"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an external account","description":"

Create an external account for a given account.

","operationId":"PostAccountsAccountExternalAccounts","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["external_account"],"type":"object","properties":{"default_for_currency":{"type":"boolean","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"external_account":{"maxLength":5000,"type":"string","description":"A token, like the ones returned by [Stripe.js](https://docs.stripe.com/js) or a dictionary containing a user's external account details (with the options shown below). Please refer to full [documentation](https://stripe.com/docs/api/external_accounts) instead.","x-stripeBypassValidation":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."}},"additionalProperties":false,"x-stripeMostCommon":["external_account","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/external_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/external_accounts/{id}":{"get":{"summary":"Retrieve an external account","description":"

Retrieve a specified external account for a given account.

","operationId":"GetAccountsAccountExternalAccountsId","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"Unique identifier for the external account to be retrieved.","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/external_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"description":"

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.

\n\n

You can only update bank accounts when account.controller.requirement_collection is application, which includes Custom accounts.

\n\n

You can re-enable a disabled bank account by performing an update call without providing any\narguments or changes.

","operationId":"PostAccountsAccountExternalAccountsId","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name of the person or business that owns the bank account."},"account_holder_type":{"maxLength":5000,"type":"string","description":"The type of entity that holds the account. This can be either `individual` or `company`.","enum":["","company","individual"]},"account_type":{"maxLength":5000,"type":"string","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"]},"address_city":{"maxLength":5000,"type":"string","description":"City/District/Suburb/Town/Village."},"address_country":{"maxLength":5000,"type":"string","description":"Billing address country, if provided when creating card."},"address_line1":{"maxLength":5000,"type":"string","description":"Address line 1 (Street address/PO Box/Company name)."},"address_line2":{"maxLength":5000,"type":"string","description":"Address line 2 (Apartment/Suite/Unit/Building)."},"address_state":{"maxLength":5000,"type":"string","description":"State/County/Province/Region."},"address_zip":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"default_for_currency":{"type":"boolean","description":"When set to true, this becomes the default external account for its currency."},"documents":{"title":"external_account_documents_param","type":"object","properties":{"bank_account_ownership_verification":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"maxLength":500,"type":"string"}}},"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.","x-stripeMostCommon":["files"]}},"description":"Documents that may be submitted to satisfy various informational requests.","x-stripeMostCommon":["bank_account_ownership_verification"]},"exp_month":{"maxLength":5000,"type":"string","description":"Two digit number representing the card’s expiration month."},"exp_year":{"maxLength":5000,"type":"string","description":"Four digit number representing the card’s expiration year."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":5000,"type":"string","description":"Cardholder name."}},"additionalProperties":false,"x-stripeMostCommon":["default_for_currency","metadata"]},"encoding":{"documents":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/external_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete an external account","description":"

Delete a specified external account for a given account.

","operationId":"DeleteAccountsAccountExternalAccountsId","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","description":"Unique identifier for the external account to be deleted.","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_external_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/login_links":{"post":{"summary":"Create a login link","description":"

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

\n\n

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

","operationId":"PostAccountsAccountLoginLinks","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/login_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/persons":{"get":{"summary":"List all persons","description":"

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.

","operationId":"GetAccountsAccountPersons","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"relationship","in":"query","description":"Filters on the list of people returned based on the person's relationship to the account's company.","required":false,"style":"deepObject","explode":true,"schema":{"title":"all_people_relationship_specs","type":"object","properties":{"authorizer":{"type":"boolean","description":"A filter on the list of people returned based on whether these people are authorizers of the account's representative."},"director":{"type":"boolean","description":"A filter on the list of people returned based on whether these people are directors of the account's company."},"executive":{"type":"boolean","description":"A filter on the list of people returned based on whether these people are executives of the account's company."},"legal_guardian":{"type":"boolean","description":"A filter on the list of people returned based on whether these people are legal guardians of the account's representative."},"owner":{"type":"boolean","description":"A filter on the list of people returned based on whether these people are owners of the account's company."},"representative":{"type":"boolean","description":"A filter on the list of people returned based on whether these people are the representative of the account's company."}},"x-stripeMostCommon":["authorizer","director","executive","legal_guardian","officer","owner","partner","representative"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PersonList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/person"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a person","description":"

Creates a new person.

","operationId":"PostAccountsAccountPersons","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"additional_tos_acceptances":{"title":"person_additional_tos_acceptances_specs","type":"object","properties":{"account":{"title":"settings_terms_of_service_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted the service agreement."},"user_agent":{"description":"The user agent of the browser from which the account representative accepted the service agreement.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Details on the legal guardian's acceptance of the main Stripe service agreement.","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.","x-stripeMostCommon":["account","representative"]},"address":{"title":"legal_entity_and_kyc_address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The person's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the person's address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the person's address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"dob":{"description":"The person's date of birth.","anyOf":[{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"documents":{"title":"person_documents_specs","type":"object","properties":{"company_authorization":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company.","x-stripeMostCommon":["files"]},"passport":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents showing the person's passport page with photo and personal data.","x-stripeMostCommon":["files"]},"visa":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents showing the person's visa required for living in the country where they are residing.","x-stripeMostCommon":["files"]}},"description":"Documents that may be submitted to satisfy various informational requests.","x-stripeMostCommon":["DASHBOARD_proof_of_liveness","company_authorization","passport","visa"]},"email":{"type":"string","description":"The person's email address."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"first_name":{"maxLength":5000,"type":"string","description":"The person's first name."},"first_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's first name (Japan only)."},"first_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's first name (Japan only)."},"full_name_aliases":{"description":"A list of alternate names or aliases that the person is known by.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"gender":{"type":"string","description":"The person's gender (International regulations require either \"male\" or \"female\")."},"id_number":{"maxLength":5000,"type":"string","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)."},"id_number_secondary":{"maxLength":5000,"type":"string","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)."},"last_name":{"maxLength":5000,"type":"string","description":"The person's last name."},"last_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's last name (Japan only)."},"last_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's last name (Japan only)."},"maiden_name":{"maxLength":5000,"type":"string","description":"The person's maiden name."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"nationality":{"maxLength":5000,"type":"string","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."},"person_token":{"maxLength":5000,"type":"string","description":"A [person token](https://docs.stripe.com/connect/account-tokens), used to securely provide details to the person."},"phone":{"type":"string","description":"The person's phone number."},"political_exposure":{"type":"string","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"]},"registered_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The person's registered address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"relationship":{"title":"relationship_specs","type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the person is the authorizer of the account's representative."},"director":{"type":"boolean","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."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"legal_guardian":{"type":"boolean","description":"Whether the person is the legal guardian of the account's representative."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s legal entity."},"percent_ownership":{"description":"The percent owned by the person of the account's legal entity.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"representative":{"type":"boolean","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."},"title":{"maxLength":5000,"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this person has with the account's legal entity.","x-stripeMostCommon":["authorizer","controller","director","executive","legal_guardian","officer","owner","partner","percent_ownership","representative","title"]},"ssn_last_4":{"type":"string","description":"The last four digits of the person's Social Security number (U.S. only)."},"us_cfpb_data":{"title":"us_cfpb_data_specs","type":"object","properties":{"ethnicity_details":{"title":"us_cfpb_ethnicity_details_specs","type":"object","properties":{"ethnicity":{"type":"array","description":"The persons ethnicity","items":{"type":"string","enum":["cuban","hispanic_or_latino","mexican","not_hispanic_or_latino","other_hispanic_or_latino","prefer_not_to_answer","puerto_rican"]}},"ethnicity_other":{"maxLength":5000,"type":"string","description":"Please specify your origin, when other is selected."}},"description":"The persons ethnicity details","x-stripeMostCommon":["ethnicity","ethnicity_other"]},"race_details":{"title":"us_cfpb_race_details_specs","type":"object","properties":{"race":{"type":"array","description":"The persons race.","items":{"type":"string","enum":["african_american","american_indian_or_alaska_native","asian","asian_indian","black_or_african_american","chinese","ethiopian","filipino","guamanian_or_chamorro","haitian","jamaican","japanese","korean","native_hawaiian","native_hawaiian_or_other_pacific_islander","nigerian","other_asian","other_black_or_african_american","other_pacific_islander","prefer_not_to_answer","samoan","somali","vietnamese","white"]}},"race_other":{"maxLength":5000,"type":"string","description":"Please specify your race, when other is selected."}},"description":"The persons race details","x-stripeMostCommon":["race","race_other"]},"self_identified_gender":{"maxLength":5000,"type":"string","description":"The persons self-identified gender"}},"description":"Demographic data related to the person.","x-stripeMostCommon":["ethnicity_details","race_details","self_identified_gender"]},"verification":{"title":"person_verification_specs","type":"object","properties":{"additional_document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.","x-stripeMostCommon":["back","electronic_id","front"]},"document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","electronic_id","front"]}},"description":"The person's verification status.","x-stripeMostCommon":["additional_document","document","proof_of_liveness"]}},"additionalProperties":false,"x-stripeMostCommon":["address","dob","email","first_name","id_number","last_name","metadata","phone","relationship","ssn_last_4"]},"encoding":{"additional_tos_acceptances":{"style":"deepObject","explode":true},"address":{"style":"deepObject","explode":true},"address_kana":{"style":"deepObject","explode":true},"address_kanji":{"style":"deepObject","explode":true},"dob":{"style":"deepObject","explode":true},"documents":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"full_name_aliases":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"registered_address":{"style":"deepObject","explode":true},"relationship":{"style":"deepObject","explode":true},"us_cfpb_data":{"style":"deepObject","explode":true},"verification":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/person"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/persons/{person}":{"get":{"summary":"Retrieve a person","description":"

Retrieves an existing person.

","operationId":"GetAccountsAccountPersonsPerson","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"person","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/person"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a person","description":"

Updates an existing person.

","operationId":"PostAccountsAccountPersonsPerson","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"person","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"additional_tos_acceptances":{"title":"person_additional_tos_acceptances_specs","type":"object","properties":{"account":{"title":"settings_terms_of_service_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted the service agreement."},"user_agent":{"description":"The user agent of the browser from which the account representative accepted the service agreement.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Details on the legal guardian's acceptance of the main Stripe service agreement.","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.","x-stripeMostCommon":["account","representative"]},"address":{"title":"legal_entity_and_kyc_address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The person's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the person's address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the person's address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"dob":{"description":"The person's date of birth.","anyOf":[{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"documents":{"title":"person_documents_specs","type":"object","properties":{"company_authorization":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company.","x-stripeMostCommon":["files"]},"passport":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents showing the person's passport page with photo and personal data.","x-stripeMostCommon":["files"]},"visa":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents showing the person's visa required for living in the country where they are residing.","x-stripeMostCommon":["files"]}},"description":"Documents that may be submitted to satisfy various informational requests.","x-stripeMostCommon":["DASHBOARD_proof_of_liveness","company_authorization","passport","visa"]},"email":{"type":"string","description":"The person's email address."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"first_name":{"maxLength":5000,"type":"string","description":"The person's first name."},"first_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's first name (Japan only)."},"first_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's first name (Japan only)."},"full_name_aliases":{"description":"A list of alternate names or aliases that the person is known by.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"gender":{"type":"string","description":"The person's gender (International regulations require either \"male\" or \"female\")."},"id_number":{"maxLength":5000,"type":"string","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)."},"id_number_secondary":{"maxLength":5000,"type":"string","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)."},"last_name":{"maxLength":5000,"type":"string","description":"The person's last name."},"last_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's last name (Japan only)."},"last_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's last name (Japan only)."},"maiden_name":{"maxLength":5000,"type":"string","description":"The person's maiden name."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"nationality":{"maxLength":5000,"type":"string","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."},"person_token":{"maxLength":5000,"type":"string","description":"A [person token](https://docs.stripe.com/connect/account-tokens), used to securely provide details to the person."},"phone":{"type":"string","description":"The person's phone number."},"political_exposure":{"type":"string","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"]},"registered_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The person's registered address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"relationship":{"title":"relationship_specs","type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the person is the authorizer of the account's representative."},"director":{"type":"boolean","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."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"legal_guardian":{"type":"boolean","description":"Whether the person is the legal guardian of the account's representative."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s legal entity."},"percent_ownership":{"description":"The percent owned by the person of the account's legal entity.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"representative":{"type":"boolean","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."},"title":{"maxLength":5000,"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this person has with the account's legal entity.","x-stripeMostCommon":["authorizer","controller","director","executive","legal_guardian","officer","owner","partner","percent_ownership","representative","title"]},"ssn_last_4":{"type":"string","description":"The last four digits of the person's Social Security number (U.S. only)."},"us_cfpb_data":{"title":"us_cfpb_data_specs","type":"object","properties":{"ethnicity_details":{"title":"us_cfpb_ethnicity_details_specs","type":"object","properties":{"ethnicity":{"type":"array","description":"The persons ethnicity","items":{"type":"string","enum":["cuban","hispanic_or_latino","mexican","not_hispanic_or_latino","other_hispanic_or_latino","prefer_not_to_answer","puerto_rican"]}},"ethnicity_other":{"maxLength":5000,"type":"string","description":"Please specify your origin, when other is selected."}},"description":"The persons ethnicity details","x-stripeMostCommon":["ethnicity","ethnicity_other"]},"race_details":{"title":"us_cfpb_race_details_specs","type":"object","properties":{"race":{"type":"array","description":"The persons race.","items":{"type":"string","enum":["african_american","american_indian_or_alaska_native","asian","asian_indian","black_or_african_american","chinese","ethiopian","filipino","guamanian_or_chamorro","haitian","jamaican","japanese","korean","native_hawaiian","native_hawaiian_or_other_pacific_islander","nigerian","other_asian","other_black_or_african_american","other_pacific_islander","prefer_not_to_answer","samoan","somali","vietnamese","white"]}},"race_other":{"maxLength":5000,"type":"string","description":"Please specify your race, when other is selected."}},"description":"The persons race details","x-stripeMostCommon":["race","race_other"]},"self_identified_gender":{"maxLength":5000,"type":"string","description":"The persons self-identified gender"}},"description":"Demographic data related to the person.","x-stripeMostCommon":["ethnicity_details","race_details","self_identified_gender"]},"verification":{"title":"person_verification_specs","type":"object","properties":{"additional_document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.","x-stripeMostCommon":["back","electronic_id","front"]},"document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","electronic_id","front"]}},"description":"The person's verification status.","x-stripeMostCommon":["additional_document","document","proof_of_liveness"]}},"additionalProperties":false,"x-stripeMostCommon":["address","dob","email","first_name","id_number","last_name","metadata","phone","relationship","ssn_last_4"]},"encoding":{"additional_tos_acceptances":{"style":"deepObject","explode":true},"address":{"style":"deepObject","explode":true},"address_kana":{"style":"deepObject","explode":true},"address_kanji":{"style":"deepObject","explode":true},"dob":{"style":"deepObject","explode":true},"documents":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"full_name_aliases":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"registered_address":{"style":"deepObject","explode":true},"relationship":{"style":"deepObject","explode":true},"us_cfpb_data":{"style":"deepObject","explode":true},"verification":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/person"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a person","description":"

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 account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file.

","operationId":"DeleteAccountsAccountPersonsPerson","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"person","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_person"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/accounts/{account}/reject":{"post":{"summary":"Reject an account","description":"

With Connect, you can reject accounts that you have flagged as suspicious.

\n\n

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.

","operationId":"PostAccountsAccountReject","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["reason"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"reason":{"maxLength":5000,"type":"string","description":"The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`."}},"additionalProperties":false,"x-stripeMostCommon":["reason"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/apple_pay/domains":{"get":{"description":"

List apple pay domains.

","operationId":"GetApplePayDomains","parameters":[{"name":"domain_name","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ApplePayDomainList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/apple_pay_domain"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/apple_pay/domains","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"description":"

Create an apple pay domain.

","operationId":"PostApplePayDomains","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["domain_name"],"type":"object","properties":{"domain_name":{"type":"string"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["domain_name"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/apple_pay_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/apple_pay/domains/{domain}":{"get":{"description":"

Retrieve an apple pay domain.

","operationId":"GetApplePayDomainsDomain","parameters":[{"name":"domain","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/apple_pay_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"description":"

Delete an apple pay domain.

","operationId":"DeleteApplePayDomainsDomain","parameters":[{"name":"domain","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_apple_pay_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/application_fees":{"get":{"summary":"List all application fees","description":"

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.

","operationId":"GetApplicationFees","parameters":[{"name":"charge","in":"query","description":"Only return application fees for the charge specified by this charge ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return applications fees that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PlatformEarningList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/application_fee"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/application_fees","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/application_fees/{fee}/refunds/{id}":{"get":{"summary":"Retrieve an application fee refund","description":"

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.

","operationId":"GetApplicationFeesFeeRefundsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"fee","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/fee_refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an application fee refund","description":"

Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

\n\n

This request only accepts metadata as an argument.

","operationId":"PostApplicationFeesFeeRefundsId","parameters":[{"name":"fee","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/fee_refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/application_fees/{id}":{"get":{"summary":"Retrieve an application fee","description":"

Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee.

","operationId":"GetApplicationFeesId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/application_fee"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/application_fees/{id}/refunds":{"get":{"summary":"List all application fee refunds","description":"

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 limit and starting_after parameters to page through additional refunds.

","operationId":"GetApplicationFeesIdRefunds","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"FeeRefundList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/fee_refund"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an application fee refund","description":"

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.

\n\n

You can optionally refund only part of an application fee.\nYou can do so multiple times, until the entire fee has been refunded.

\n\n

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.

","operationId":"PostApplicationFeesIdRefunds","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."}},"additionalProperties":false,"x-stripeMostCommon":["amount","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/fee_refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/apps/secrets":{"get":{"summary":"List secrets","description":"

List all secrets stored on the given scope.

","operationId":"GetAppsSecrets","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"scope","in":"query","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.","required":true,"style":"deepObject","explode":true,"schema":{"title":"scope_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The secret scope type.","enum":["account","user"]},"user":{"maxLength":5000,"type":"string","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`."}},"x-stripeMostCommon":["type","user"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SecretServiceResourceSecretList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/apps.secret"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/apps/secrets","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Set a Secret","description":"

Create or replace a secret in the secret store.

","operationId":"PostAppsSecrets","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["name","payload","scope"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","description":"The Unix timestamp for the expiry time of the secret, after which the secret deletes.","format":"unix-time"},"name":{"maxLength":5000,"type":"string","description":"A name for the secret that's unique within the scope."},"payload":{"maxLength":5000,"type":"string","description":"The plaintext secret value to be stored."},"scope":{"title":"scope_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The secret scope type.","enum":["account","user"]},"user":{"maxLength":5000,"type":"string","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`."}},"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.","x-stripeMostCommon":["type","user"]}},"additionalProperties":false,"x-stripeMostCommon":["expires_at","name","payload","scope"]},"encoding":{"expand":{"style":"deepObject","explode":true},"scope":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/apps.secret"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/apps/secrets/delete":{"post":{"summary":"Delete a Secret","description":"

Deletes a secret from the secret store by name and scope.

","operationId":"PostAppsSecretsDelete","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["name","scope"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"name":{"maxLength":5000,"type":"string","description":"A name for the secret that's unique within the scope."},"scope":{"title":"scope_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The secret scope type.","enum":["account","user"]},"user":{"maxLength":5000,"type":"string","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`."}},"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.","x-stripeMostCommon":["type","user"]}},"additionalProperties":false,"x-stripeMostCommon":["name","scope"]},"encoding":{"expand":{"style":"deepObject","explode":true},"scope":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/apps.secret"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/apps/secrets/find":{"get":{"summary":"Find a Secret","description":"

Finds a secret in the secret store by name and scope.

","operationId":"GetAppsSecretsFind","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"name","in":"query","description":"A name for the secret that's unique within the scope.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"scope","in":"query","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.","required":true,"style":"deepObject","explode":true,"schema":{"title":"scope_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The secret scope type.","enum":["account","user"]},"user":{"maxLength":5000,"type":"string","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`."}},"x-stripeMostCommon":["type","user"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/apps.secret"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/balance":{"get":{"summary":"Retrieve balance","description":"

Retrieves the current account balance, based on the authentication that was used to make the request.\n For a sample request, see Accounting for negative balances.

","operationId":"GetBalance","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/balance"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/balance_settings":{"get":{"summary":"Retrieve balance settings","description":"

Retrieves balance settings for a given connected account.\n Related guide: Making API calls for connected accounts

","operationId":"GetBalanceSettings","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/balance_settings"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update balance settings","description":"

Updates balance settings for a given connected account.\n Related guide: Making API calls for connected accounts

","operationId":"PostBalanceSettings","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"payments":{"title":"payments","type":"object","properties":{"debit_negative_balances":{"type":"boolean","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)."},"payouts":{"title":"payouts","type":"object","properties":{"minimum_balance_by_currency":{"description":"The minimum balance amount to retain per currency after automatic payouts. Only funds that exceed these amounts are paid out. Learn more about the [minimum balances for automatic payouts](/payouts/minimum-balances-for-automatic-payouts).","anyOf":[{"type":"object","additionalProperties":{"anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]}},{"type":"string","enum":[""]}]},"schedule":{"title":"payout_schedule","type":"object","properties":{"interval":{"type":"string","description":"How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.","enum":["daily","manual","monthly","weekly"]},"monthly_payout_days":{"type":"array","description":"The days of the month when available funds are paid out, specified as an array of numbers 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`.","items":{"type":"integer"}},"weekly_payout_days":{"type":"array","description":"The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. Required and applicable only if `interval` is `weekly`.","items":{"type":"string","enum":["friday","monday","thursday","tuesday","wednesday"],"x-stripeBypassValidation":true}}},"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.","x-stripeMostCommon":["interval","monthly_payout_days","weekly_payout_days"]},"statement_descriptor":{"maxLength":22,"type":"string","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."}},"description":"Settings specific to the account's payouts.","x-stripeMostCommon":["automatic_transfer_rules_by_currency","default_payout_method_for_currency","minimum_balance_by_currency","schedule","statement_descriptor"]},"settlement_timing":{"title":"settlement_timing","type":"object","properties":{"delay_days_override":{"description":"Change `delay_days` for this account, which determines the number of days charge funds are held before becoming available. The maximum value is 31. Passing an empty string to `delay_days_override` will return `delay_days` to the default, which is the lowest available value for the account. [Learn more about controlling delay days](/connect/manage-payout-schedule).","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]}},"description":"Settings related to the account's balance settlement timing.","x-stripeMostCommon":["delay_days_override","payment_method_options"]}},"description":"Settings that apply to the [Payments Balance](https://docs.stripe.com/api/balance).","x-stripeMostCommon":["debit_negative_balances","payouts","settlement_timing","start_of_day"]}},"additionalProperties":false,"x-stripeMostCommon":["payments"]},"encoding":{"expand":{"style":"deepObject","explode":true},"payments":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/balance_settings"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/balance_transactions":{"get":{"summary":"List all balance transactions","description":"

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.

\n\n

Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history.

","operationId":"GetBalanceTransactions","parameters":[{"name":"created","in":"query","description":"Only return transactions that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"currency","in":"query","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).","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"currency"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payout","in":"query","description":"For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"source","in":"query","description":"Only returns transactions associated with the given object.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","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`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BalanceTransactionsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/balance_transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/balance_transactions","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/balance_transactions/{id}":{"get":{"summary":"Retrieve a balance transaction","description":"

Retrieves the balance transaction with the given ID.

\n\n

Note that this endpoint previously used the path /v1/balance/history/:id.

","operationId":"GetBalanceTransactionsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/balance_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/alerts":{"get":{"summary":"List billing alerts","description":"

Lists billing active and inactive alerts

","operationId":"GetBillingAlerts","parameters":[{"name":"alert_type","in":"query","description":"Filter results to only include this type of alert.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["usage_threshold"],"x-stripeBypassValidation":true}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"meter","in":"query","description":"Filter results to only include alerts with the given meter.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ThresholdsResourceAlertList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/billing.alert"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/billing/alerts","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a billing alert","description":"

Creates a billing alert

","operationId":"PostBillingAlerts","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["alert_type","title"],"type":"object","properties":{"alert_type":{"type":"string","description":"The type of alert to create.","enum":["usage_threshold"],"x-stripeBypassValidation":true},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"title":{"maxLength":256,"type":"string","description":"The title of the alert."},"usage_threshold":{"title":"usage_threshold_config","required":["gte","meter","recurrence"],"type":"object","properties":{"filters":{"type":"array","description":"The filters allows limiting the scope of this usage alert. You can only specify up to one filter at this time.","items":{"title":"usage_alert_filter","required":["type"],"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"Limit the scope to this usage alert only to this customer."},"type":{"type":"string","description":"What type of filter is being applied to this usage alert.","enum":["customer"]}},"x-stripeMostCommon":["customer","type"]}},"gte":{"type":"integer","description":"Defines the threshold value that triggers the alert."},"meter":{"maxLength":5000,"type":"string","description":"The [Billing Meter](/api/billing/meter) ID whose usage is monitored."},"recurrence":{"type":"string","description":"Defines how the alert will behave.","enum":["one_time"],"x-stripeBypassValidation":true}},"description":"The configuration of the usage threshold.","x-stripeMostCommon":["filters","gte","meter","recurrence"]}},"additionalProperties":false,"x-stripeMostCommon":["alert_type","title","usage_threshold"]},"encoding":{"expand":{"style":"deepObject","explode":true},"usage_threshold":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.alert"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/alerts/{id}":{"get":{"summary":"Retrieve a billing alert","description":"

Retrieves a billing alert given an ID

","operationId":"GetBillingAlertsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.alert"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/alerts/{id}/activate":{"post":{"summary":"Activate a billing alert","description":"

Reactivates this alert, allowing it to trigger again.

","operationId":"PostBillingAlertsIdActivate","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.alert"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/alerts/{id}/archive":{"post":{"summary":"Archive a billing alert","description":"

Archives this alert, removing it from the list view and APIs. This is non-reversible.

","operationId":"PostBillingAlertsIdArchive","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.alert"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/alerts/{id}/deactivate":{"post":{"summary":"Deactivate a billing alert","description":"

Deactivates this alert, preventing it from triggering.

","operationId":"PostBillingAlertsIdDeactivate","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.alert"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/credit_balance_summary":{"get":{"summary":"Retrieve the credit balance summary for a customer","description":"

Retrieves the credit balance summary for a customer.

","operationId":"GetBillingCreditBalanceSummary","parameters":[{"name":"customer","in":"query","description":"The customer whose credit balance summary you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"The account representing the customer whose credit balance summary you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"filter","in":"query","description":"The filter criteria for the credit balance summary.","required":true,"style":"deepObject","explode":true,"schema":{"title":"balance_summary_filter_param","required":["type"],"type":"object","properties":{"applicability_scope":{"title":"scope_param","type":"object","properties":{"price_type":{"type":"string","description":"The price type that credit grants can apply to. We currently only support the `metered` price type. Cannot be used in combination with `prices`.","enum":["metered"]},"prices":{"type":"array","description":"A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.","items":{"title":"applicable_price_param","required":["id"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The price ID this credit grant should apply to."}},"x-stripeMostCommon":["id"]}}},"description":"The billing credit applicability scope for which to fetch credit balance summary.","x-stripeMostCommon":["billable_items","price_type","prices"]},"credit_grant":{"maxLength":5000,"type":"string","description":"The credit grant for which to fetch credit balance summary."},"type":{"type":"string","description":"Specify the type of this filter.","enum":["applicability_scope","credit_grant"]}},"x-stripeMostCommon":["applicability_scope","credit_grant","type"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.credit_balance_summary"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/credit_balance_transactions":{"get":{"summary":"List credit balance transactions","description":"

Retrieve a list of credit balance transactions.

","operationId":"GetBillingCreditBalanceTransactions","parameters":[{"name":"credit_grant","in":"query","description":"The credit grant for which to fetch credit balance transactions.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer","in":"query","description":"The customer whose credit balance transactions you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"The account representing the customer whose credit balance transactions you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BillingCreditGrantsResourceBalanceTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/billing.credit_balance_transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/billing/credit_grants","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/credit_balance_transactions/{id}":{"get":{"summary":"Retrieve a credit balance transaction","description":"

Retrieves a credit balance transaction.

","operationId":"GetBillingCreditBalanceTransactionsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"Unique identifier for the object.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.credit_balance_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/credit_grants":{"get":{"summary":"List credit grants","description":"

Retrieve a list of credit grants.

","operationId":"GetBillingCreditGrants","parameters":[{"name":"customer","in":"query","description":"Only return credit grants for this customer.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return credit grants for this account representing the customer.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BillingCreditGrantsResourceCreditGrantList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/billing.credit_grant"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/billing/credit_grants","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a credit grant","description":"

Creates a credit grant.

","operationId":"PostBillingCreditGrants","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","applicability_config"],"type":"object","properties":{"amount":{"title":"amount_param","required":["type"],"type":"object","properties":{"monetary":{"title":"monetary_amount_param","required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","description":"Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `value` parameter.","format":"currency"},"value":{"type":"integer","description":"A positive integer representing the amount of the credit grant."}},"description":"The monetary amount.","x-stripeMostCommon":["currency","value"]},"type":{"type":"string","description":"The type of this amount. We currently only support `monetary` billing credits.","enum":["monetary"],"x-stripeBypassValidation":true}},"description":"Amount of this credit grant.","x-stripeMostCommon":["custom_pricing_unit","monetary","type"]},"applicability_config":{"title":"applicability_config_param","required":["scope"],"type":"object","properties":{"scope":{"title":"scope_param","type":"object","properties":{"price_type":{"type":"string","description":"The price type that credit grants can apply to. We currently only support the `metered` price type. Cannot be used in combination with `prices`.","enum":["metered"]},"prices":{"type":"array","description":"A list of prices that the credit grant can apply to. We currently only support the `metered` prices. Cannot be used in combination with `price_type`.","items":{"title":"applicable_price_param","required":["id"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The price ID this credit grant should apply to."}},"x-stripeMostCommon":["id"]}}},"description":"Specify the scope of this applicability config.","x-stripeMostCommon":["billable_items","price_type","prices"]}},"description":"Configuration specifying what this credit grant applies to. We currently only support `metered` prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them.","x-stripeMostCommon":["scope"]},"category":{"type":"string","description":"The category of this credit grant. It defaults to `paid` if not specified.","enum":["paid","promotional"]},"customer":{"maxLength":5000,"type":"string","description":"ID of the customer receiving the billing credits."},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the account representing the customer receiving the billing credits."},"effective_at":{"type":"integer","description":"The time when the billing credits become effective-when they're eligible for use. It defaults to the current timestamp if not specified.","format":"unix-time"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","description":"The time when the billing credits expire. If not specified, the billing credits don't expire.","format":"unix-time"},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of key-value pairs that you can attach to an object. You can use this to store additional information about the object (for example, cost basis) in a structured format."},"name":{"maxLength":100,"type":"string","description":"A descriptive name shown in the Dashboard."},"priority":{"type":"integer","description":"The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100."}},"additionalProperties":false,"x-stripeMostCommon":["amount","applicability_config","category","customer","customer_account","effective_at","expires_at","metadata","name","priority"]},"encoding":{"amount":{"style":"deepObject","explode":true},"applicability_config":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.credit_grant"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/credit_grants/{id}":{"get":{"summary":"Retrieve a credit grant","description":"

Retrieves a credit grant.

","operationId":"GetBillingCreditGrantsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"Unique identifier for the object.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.credit_grant"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a credit grant","description":"

Updates a credit grant.

","operationId":"PostBillingCreditGrantsId","parameters":[{"name":"id","in":"path","description":"Unique identifier for the object.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"description":"The time when the billing credits created by this credit grant expire. If set to empty, the billing credits never expire.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of key-value pairs you can attach to an object. You can use this to store additional information about the object (for example, cost basis) in a structured format."}},"additionalProperties":false,"x-stripeMostCommon":["expires_at","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"expires_at":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.credit_grant"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/credit_grants/{id}/expire":{"post":{"summary":"Expire a credit grant","description":"

Expires a credit grant.

","operationId":"PostBillingCreditGrantsIdExpire","parameters":[{"name":"id","in":"path","description":"Unique identifier for the object.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.credit_grant"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/credit_grants/{id}/void":{"post":{"summary":"Void a credit grant","description":"

Voids a credit grant.

","operationId":"PostBillingCreditGrantsIdVoid","parameters":[{"name":"id","in":"path","description":"Unique identifier for the object.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.credit_grant"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/meter_event_adjustments":{"post":{"summary":"Create a billing meter event adjustment","description":"

Creates a billing meter event adjustment.

","operationId":"PostBillingMeterEventAdjustments","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["event_name","type"],"type":"object","properties":{"cancel":{"title":"event_adjustment_cancel_settings_param","type":"object","properties":{"identifier":{"maxLength":100,"type":"string","description":"Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them."}},"description":"Specifies which event to cancel.","x-stripeMostCommon":["identifier"]},"event_name":{"maxLength":100,"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","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"]}},"additionalProperties":false,"x-stripeMostCommon":["cancel","event_name","type"]},"encoding":{"cancel":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.meter_event_adjustment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/meter_events":{"post":{"summary":"Create a billing meter event","description":"

Creates a billing meter event.

","operationId":"PostBillingMeterEvents","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["event_name","payload"],"type":"object","properties":{"event_name":{"maxLength":100,"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"identifier":{"maxLength":100,"type":"string","description":"A unique identifier for the event. If not provided, one is generated. We recommend 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."},"payload":{"type":"object","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/meters/configure#meter-configuration-attributes)."},"timestamp":{"type":"integer","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"}},"additionalProperties":false,"x-stripeMostCommon":["event_name","identifier","payload","timestamp"]},"encoding":{"expand":{"style":"deepObject","explode":true},"payload":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.meter_event"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/meters":{"get":{"summary":"List billing meters","description":"

Retrieve a list of billing meters.

","operationId":"GetBillingMeters","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Filter results to only include meters with the given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BillingMeterResourceBillingMeterList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/billing.meter"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/billing/meters","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a billing meter","description":"

Creates a billing meter.

","operationId":"PostBillingMeters","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["default_aggregation","display_name","event_name"],"type":"object","properties":{"customer_mapping":{"title":"customer_mapping_param","required":["event_payload_key","type"],"type":"object","properties":{"event_payload_key":{"maxLength":100,"type":"string","description":"The key in the meter event payload to use for mapping the event to a customer."},"type":{"type":"string","description":"The method for mapping a meter event to a customer. Must be `by_id`.","enum":["by_id"]}},"description":"Fields that specify how to map a meter event to a customer.","x-stripeMostCommon":["event_payload_key","type"]},"default_aggregation":{"title":"aggregation_settings_param","required":["formula"],"type":"object","properties":{"formula":{"type":"string","description":"Specifies how events are aggregated. Allowed values are `count` to count the number of events, `sum` to sum each event's value and `last` to take the last event's value in the window.","enum":["count","last","sum"],"x-stripeBypassValidation":true}},"description":"The default settings to aggregate a meter's events with.","x-stripeMostCommon":["formula"]},"display_name":{"maxLength":250,"type":"string","description":"The meter’s name. Not visible to the customer."},"event_name":{"maxLength":100,"type":"string","description":"The name of the meter event to record usage for. Corresponds with the `event_name` field on meter events."},"event_time_window":{"type":"string","description":"The time window which meter events have been pre-aggregated for, if any.","enum":["day","hour"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"value_settings":{"title":"meter_value_settings_param","required":["event_payload_key"],"type":"object","properties":{"event_payload_key":{"maxLength":100,"type":"string","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\"."}},"description":"Fields that specify how to calculate a meter event's value.","x-stripeMostCommon":["event_payload_key"]}},"additionalProperties":false,"x-stripeMostCommon":["customer_mapping","default_aggregation","display_name","event_name","event_time_window","value_settings"]},"encoding":{"customer_mapping":{"style":"deepObject","explode":true},"default_aggregation":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"value_settings":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.meter"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/meters/{id}":{"get":{"summary":"Retrieve a billing meter","description":"

Retrieves a billing meter given an ID.

","operationId":"GetBillingMetersId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.meter"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a billing meter","description":"

Updates a billing meter.

","operationId":"PostBillingMetersId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"display_name":{"maxLength":250,"type":"string","description":"The meter’s name. Not visible to the customer."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["display_name"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.meter"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/meters/{id}/deactivate":{"post":{"summary":"Deactivate a billing meter","description":"

When a meter is deactivated, no more meter events will be accepted for this meter. You can’t attach a deactivated meter to a price.

","operationId":"PostBillingMetersIdDeactivate","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.meter"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/meters/{id}/event_summaries":{"get":{"summary":"List billing meter event summaries","description":"

Retrieve a list of billing meter event summaries.

","operationId":"GetBillingMetersIdEventSummaries","parameters":[{"name":"customer","in":"query","description":"The customer for which to fetch event summaries.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"end_time","in":"query","description":"The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.","required":true,"style":"form","explode":true,"schema":{"type":"integer","format":"unix-time"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"Unique identifier for the object.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"start_time","in":"query","description":"The timestamp from when to start aggregating meter events (inclusive). Must be aligned with minute boundaries.","required":true,"style":"form","explode":true,"schema":{"type":"integer","format":"unix-time"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"value_grouping_window","in":"query","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).","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["day","hour"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BillingMeterResourceBillingMeterEventSummaryList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/billing.meter_event_summary"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/billing/meters/[^/]+/event_summaries","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing/meters/{id}/reactivate":{"post":{"summary":"Reactivate a billing meter","description":"

When a meter is reactivated, events for this meter can be accepted and you can attach the meter to a price.

","operationId":"PostBillingMetersIdReactivate","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing.meter"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing_portal/configurations":{"get":{"summary":"List portal configurations","description":"

Returns a list of configurations that describe the functionality of the customer portal.

","operationId":"GetBillingPortalConfigurations","parameters":[{"name":"active","in":"query","description":"Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"is_default","in":"query","description":"Only return the default or non-default configurations (e.g., pass `true` to only list the default configuration).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PortalPublicResourceConfigurationList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/billing_portal.configuration"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/billing_portal/configurations","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a portal configuration","description":"

Creates a configuration that describes the functionality and behavior of a PortalSession

","operationId":"PostBillingPortalConfigurations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["features"],"type":"object","properties":{"business_profile":{"title":"business_profile_create_param","type":"object","properties":{"headline":{"description":"The messaging shown to customers in the portal.","anyOf":[{"maxLength":60,"type":"string"},{"type":"string","enum":[""]}]},"privacy_policy_url":{"type":"string","description":"A link to the business’s publicly available privacy policy."},"terms_of_service_url":{"type":"string","description":"A link to the business’s publicly available terms of service."}},"description":"The business information shown to customers in the portal.","x-stripeMostCommon":["headline","privacy_policy_url","terms_of_service_url"]},"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://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"features":{"title":"features_creation_param","type":"object","properties":{"customer_update":{"title":"customer_update_creation_param","required":["enabled"],"type":"object","properties":{"allowed_updates":{"description":"The types of customer updates that are supported. When empty, customers are not updateable.","anyOf":[{"type":"array","items":{"type":"string","enum":["address","email","name","phone","shipping","tax_id"]}},{"type":"string","enum":[""]}]},"enabled":{"type":"boolean","description":"Whether the feature is enabled."}},"description":"Information about updating the customer details in the portal.","x-stripeMostCommon":["allowed_updates","enabled"]},"invoice_history":{"title":"invoice_list_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."}},"description":"Information about showing the billing history in the portal.","x-stripeMostCommon":["enabled"]},"payment_method_update":{"title":"payment_method_update_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"payment_method_configuration":{"description":"The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Information about updating payment methods in the portal.","x-stripeMostCommon":["enabled","payment_method_configuration"]},"subscription_cancel":{"title":"subscription_cancel_creation_param","required":["enabled"],"type":"object","properties":{"cancellation_reason":{"title":"subscription_cancellation_reason_creation_param","required":["enabled","options"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"options":{"description":"Which cancellation reasons will be given as options to the customer.","anyOf":[{"type":"array","items":{"type":"string","enum":["customer_service","low_quality","missing_features","other","switched_service","too_complex","too_expensive","unused"]}},{"type":"string","enum":[""]}]}},"description":"Whether the cancellation reasons will be collected in the portal and which options are exposed to the customer","x-stripeMostCommon":["enabled","options"]},"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"mode":{"type":"string","description":"Whether to cancel subscriptions immediately or at the end of the billing period.","enum":["at_period_end","immediately"]},"proration_behavior":{"type":"string","description":"Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. Passing `always_invoice` will result in an error. No prorations are generated when canceling a subscription at the end of its natural billing period.","enum":["always_invoice","create_prorations","none"]}},"description":"Information about canceling subscriptions in the portal.","x-stripeMostCommon":["cancellation_reason","cancellation_redirect","enabled","mode","proration_behavior","restrictions","retention_options"]},"subscription_update":{"title":"subscription_update_creation_param","required":["enabled"],"type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Determines the value to use for the billing cycle anchor on subscription updates. Valid values are `now` or `unchanged`, and the default value is `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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["now","unchanged"]},"default_allowed_updates":{"description":"The types of subscription updates that are supported. When empty, subscriptions are not updateable.","anyOf":[{"type":"array","items":{"type":"string","enum":["price","promotion_code","quantity"]}},{"type":"string","enum":[""]}]},"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"products":{"description":"The list of up to 10 products that support subscription updates.","anyOf":[{"type":"array","items":{"title":"subscription_update_product_param","required":["prices","product"],"type":"object","properties":{"adjustable_quantity":{"title":"subscription_update_product_adjustable_quantity_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity that can be set for the product."},"minimum":{"type":"integer","description":"The minimum quantity that can be set for the product."}},"description":"Control whether the quantity of the product can be adjusted.","x-stripeMostCommon":["enabled","maximum","minimum"]},"prices":{"type":"array","description":"The list of price IDs for the product that a subscription can be updated to.","items":{"maxLength":5000,"type":"string"}},"product":{"maxLength":5000,"type":"string","description":"The product id."}},"x-stripeMostCommon":["adjustable_quantity","prices","product"]}},{"type":"string","enum":[""]}]},"proration_behavior":{"type":"string","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"]},"schedule_at_period_end":{"title":"schedule_update_at_period_end_creating_param","type":"object","properties":{"conditions":{"type":"array","description":"List of conditions. When any condition is true, the update will be scheduled at the end of the current period.","items":{"title":"schedule_update_at_period_end_condition_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of condition.","enum":["decreasing_item_amount","shortening_interval"]}},"x-stripeMostCommon":["type"]}}},"description":"Setting to control when an update should be scheduled at the end of the period instead of applying immediately.","x-stripeMostCommon":["conditions"]},"trial_update_behavior":{"type":"string","description":"The behavior when updating a subscription that is trialing.","enum":["continue_trial","end_trial"]}},"description":"Information about updating subscriptions in the portal.","x-stripeMostCommon":["billing_cycle_anchor","default_allowed_updates","enabled","packaging","products","proration_behavior","proration_date","restrictions","schedule_at_period_end","trial_update_behavior"]}},"description":"Information about the features available in the portal.","x-stripeMostCommon":["customer_update","invoice_history","payment_method_update","subscription_cancel","subscription_update","usage_based_billing"]},"login_page":{"title":"login_page_create_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to generate a shareable URL [`login_page.url`](https://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-login_page-url) that will take your customers to a hosted login page for the customer portal."}},"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).","x-stripeMostCommon":["enabled"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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 name of the configuration.","anyOf":[{"maxLength":256,"type":"string"},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["business_profile","default_return_url","features","login_page","metadata","name"]},"encoding":{"business_profile":{"style":"deepObject","explode":true},"default_return_url":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"features":{"style":"deepObject","explode":true},"login_page":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"name":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing_portal.configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing_portal/configurations/{configuration}":{"get":{"summary":"Retrieve a portal configuration","description":"

Retrieves a configuration that describes the functionality of the customer portal.

","operationId":"GetBillingPortalConfigurationsConfiguration","parameters":[{"name":"configuration","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing_portal.configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a portal configuration","description":"

Updates a configuration that describes the functionality of the customer portal.

","operationId":"PostBillingPortalConfigurationsConfiguration","parameters":[{"name":"configuration","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether the configuration is active and can be used to create portal sessions."},"business_profile":{"title":"business_profile_update_param","type":"object","properties":{"headline":{"description":"The messaging shown to customers in the portal.","anyOf":[{"maxLength":60,"type":"string"},{"type":"string","enum":[""]}]},"privacy_policy_url":{"description":"A link to the business’s publicly available privacy policy.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"terms_of_service_url":{"description":"A link to the business’s publicly available terms of service.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"The business information shown to customers in the portal.","x-stripeMostCommon":["headline","privacy_policy_url","terms_of_service_url"]},"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://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"features":{"title":"features_updating_param","type":"object","properties":{"customer_update":{"title":"customer_update_updating_param","type":"object","properties":{"allowed_updates":{"description":"The types of customer updates that are supported. When empty, customers are not updateable.","anyOf":[{"type":"array","items":{"type":"string","enum":["address","email","name","phone","shipping","tax_id"]}},{"type":"string","enum":[""]}]},"enabled":{"type":"boolean","description":"Whether the feature is enabled."}},"description":"Information about updating the customer details in the portal.","x-stripeMostCommon":["allowed_updates","enabled"]},"invoice_history":{"title":"invoice_list_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."}},"description":"Information about showing the billing history in the portal.","x-stripeMostCommon":["enabled"]},"payment_method_update":{"title":"payment_method_update_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"payment_method_configuration":{"description":"The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set or set to an empty string, the default payment method configuration is used.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Information about updating payment methods in the portal.","x-stripeMostCommon":["enabled","payment_method_configuration"]},"subscription_cancel":{"title":"subscription_cancel_updating_param","type":"object","properties":{"cancellation_reason":{"title":"subscription_cancellation_reason_updating_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"options":{"description":"Which cancellation reasons will be given as options to the customer.","anyOf":[{"type":"array","items":{"type":"string","enum":["customer_service","low_quality","missing_features","other","switched_service","too_complex","too_expensive","unused"]}},{"type":"string","enum":[""]}]}},"description":"Whether the cancellation reasons will be collected in the portal and which options are exposed to the customer","x-stripeMostCommon":["enabled","options"]},"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"mode":{"type":"string","description":"Whether to cancel subscriptions immediately or at the end of the billing period.","enum":["at_period_end","immediately"]},"proration_behavior":{"type":"string","description":"Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`, which is only compatible with `mode=immediately`. Passing `always_invoice` will result in an error. No prorations are generated when canceling a subscription at the end of its natural billing period.","enum":["always_invoice","create_prorations","none"]}},"description":"Information about canceling subscriptions in the portal.","x-stripeMostCommon":["cancellation_reason","cancellation_redirect","enabled","mode","proration_behavior","restrictions","retention_options"]},"subscription_update":{"title":"subscription_update_updating_param","type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Determines the value to use for the billing cycle anchor on subscription updates. Valid values are `now` or `unchanged`, and the default value is `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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["now","unchanged"]},"default_allowed_updates":{"description":"The types of subscription updates that are supported. When empty, subscriptions are not updateable.","anyOf":[{"type":"array","items":{"type":"string","enum":["price","promotion_code","quantity"]}},{"type":"string","enum":[""]}]},"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"products":{"description":"The list of up to 10 products that support subscription updates.","anyOf":[{"type":"array","items":{"title":"subscription_update_product_param","required":["prices","product"],"type":"object","properties":{"adjustable_quantity":{"title":"subscription_update_product_adjustable_quantity_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity that can be set for the product."},"minimum":{"type":"integer","description":"The minimum quantity that can be set for the product."}},"description":"Control whether the quantity of the product can be adjusted.","x-stripeMostCommon":["enabled","maximum","minimum"]},"prices":{"type":"array","description":"The list of price IDs for the product that a subscription can be updated to.","items":{"maxLength":5000,"type":"string"}},"product":{"maxLength":5000,"type":"string","description":"The product id."}},"x-stripeMostCommon":["adjustable_quantity","prices","product"]}},{"type":"string","enum":[""]}]},"proration_behavior":{"type":"string","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"]},"schedule_at_period_end":{"title":"schedule_update_at_period_end_updating_param","type":"object","properties":{"conditions":{"description":"List of conditions. When any condition is true, the update will be scheduled at the end of the current period.","anyOf":[{"type":"array","items":{"title":"schedule_update_at_period_end_condition_param","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of condition.","enum":["decreasing_item_amount","shortening_interval"]}},"x-stripeMostCommon":["type"]}},{"type":"string","enum":[""]}]}},"description":"Setting to control when an update should be scheduled at the end of the period instead of applying immediately.","x-stripeMostCommon":["conditions"]},"trial_update_behavior":{"type":"string","description":"The behavior when updating a subscription that is trialing.","enum":["continue_trial","end_trial"]}},"description":"Information about updating subscriptions in the portal.","x-stripeMostCommon":["billing_cycle_anchor","default_allowed_updates","enabled","packaging","products","proration_behavior","proration_date","restrictions","schedule_at_period_end","trial_update_behavior"]}},"description":"Information about the features available in the portal.","x-stripeMostCommon":["customer_update","invoice_history","payment_method_update","subscription_cancel","subscription_update","usage_based_billing"]},"login_page":{"title":"login_page_update_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to generate a shareable URL [`login_page.url`](https://docs.stripe.com/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`."}},"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).","x-stripeMostCommon":["enabled"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"description":"The name of the configuration.","anyOf":[{"maxLength":256,"type":"string"},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["active","business_profile","default_return_url","features","login_page","metadata","name"]},"encoding":{"business_profile":{"style":"deepObject","explode":true},"default_return_url":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"features":{"style":"deepObject","explode":true},"login_page":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"name":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing_portal.configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/billing_portal/sessions":{"post":{"summary":"Create a portal session","description":"

Creates a session of the customer portal.

","operationId":"PostBillingPortalSessions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"configuration":{"maxLength":5000,"type":"string","description":"The ID of an existing [configuration](https://docs.stripe.com/api/customer_portal/configurations) to use for this session, describing its functionality and features. If not specified, the session uses the default configuration."},"customer":{"maxLength":5000,"type":"string","description":"The ID of an existing customer."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of an existing account."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"flow_data":{"title":"flow_data_param","required":["type"],"type":"object","properties":{"after_completion":{"title":"flow_data_after_completion_param","required":["type"],"type":"object","properties":{"hosted_confirmation":{"title":"after_completion_hosted_confirmation_param","type":"object","properties":{"custom_message":{"maxLength":500,"type":"string","description":"A custom message to display to the customer after the flow is completed."}},"description":"Configuration when `after_completion.type=hosted_confirmation`.","x-stripeMostCommon":["custom_message"]},"redirect":{"title":"after_completion_redirect_param","required":["return_url"],"type":"object","properties":{"return_url":{"type":"string","description":"The URL the customer will be redirected to after the flow is completed."}},"description":"Configuration when `after_completion.type=redirect`.","x-stripeMostCommon":["return_url"]},"type":{"type":"string","description":"The specified behavior after the flow is completed.","enum":["hosted_confirmation","portal_homepage","redirect"]}},"description":"Behavior after the flow is completed.","x-stripeMostCommon":["hosted_confirmation","redirect","type"]},"subscription_cancel":{"title":"flow_data_subscription_cancel_param","required":["subscription"],"type":"object","properties":{"retention":{"title":"retention_param","required":["coupon_offer","type"],"type":"object","properties":{"coupon_offer":{"title":"coupon_offer_param","required":["coupon"],"type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The ID of the coupon to be offered."}},"description":"Configuration when `retention.type=coupon_offer`.","x-stripeMostCommon":["coupon"]},"type":{"type":"string","description":"Type of retention strategy to use with the customer.","enum":["coupon_offer"]}},"description":"Specify a retention strategy to be used in the cancellation flow.","x-stripeMostCommon":["coupon_offer","type"]},"subscription":{"maxLength":5000,"type":"string","description":"The ID of the subscription to be canceled."}},"description":"Configuration when `flow_data.type=subscription_cancel`.","x-stripeMostCommon":["retention","subscription"]},"subscription_update":{"title":"flow_data_subscription_update_param","required":["subscription"],"type":"object","properties":{"subscription":{"maxLength":5000,"type":"string","description":"The ID of the subscription to be updated."}},"description":"Configuration when `flow_data.type=subscription_update`.","x-stripeMostCommon":["subscription"]},"subscription_update_confirm":{"title":"flow_data_subscription_update_confirm_param","required":["items","subscription"],"type":"object","properties":{"discounts":{"type":"array","description":"The coupon or promotion code to apply to this subscription update.","items":{"title":"subscription_update_confirm_discount_params","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The ID of the coupon to apply to this subscription update."},"promotion_code":{"maxLength":5000,"type":"string","description":"The ID of a promotion code to apply to this subscription update."}},"x-stripeMostCommon":["coupon","promotion_code"]}},"items":{"type":"array","description":"The [subscription item](https://docs.stripe.com/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":{"title":"subscription_update_confirm_item_params","required":["id"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of the [subscription item](https://docs.stripe.com/api/subscriptions/object#subscription_object-items-data-id) to be updated."},"price":{"maxLength":5000,"type":"string","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://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products)."},"quantity":{"type":"integer","description":"[Quantity](https://docs.stripe.com/subscriptions/quantities) for this item that the customer should subscribe to through this flow."}},"x-stripeMostCommon":["deleted","id","price","quantity"]}},"subscription":{"maxLength":5000,"type":"string","description":"The ID of the subscription to be updated."}},"description":"Configuration when `flow_data.type=subscription_update_confirm`.","x-stripeMostCommon":["discounts","items","recurring_items","subscription"]},"type":{"type":"string","description":"Type of flow that the customer will go through.","enum":["payment_method_update","subscription_cancel","subscription_update","subscription_update_confirm"]}},"description":"Information about a specific flow for the customer to go through. See the [docs](https://docs.stripe.com/customer-management/portal-deep-links) to learn more about using customer portal deep links and flows.","x-stripeMostCommon":["after_completion","subscription_cancel","subscription_update","subscription_update_confirm","type"]},"locale":{"type":"string","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"]},"on_behalf_of":{"type":"string","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://docs.stripe.com/connect/separate-charges-and-transfers#settlement-merchant). Use the [Accounts API](https://docs.stripe.com/api/accounts/object#account_object-settings-branding) to modify the `on_behalf_of` account's branding settings, which the portal displays."},"return_url":{"type":"string","description":"The default URL to redirect customers to when they click on the portal's link to return to your website."}},"additionalProperties":false,"x-stripeMostCommon":["configuration","customer","customer_account","flow_data","locale","on_behalf_of","return_url"]},"encoding":{"expand":{"style":"deepObject","explode":true},"flow_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/billing_portal.session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/charges":{"get":{"summary":"List all charges","description":"

Returns a list of charges you’ve previously created. The charges are returned in sorted order, with the most recent charges appearing first.

","operationId":"GetCharges","parameters":[{"name":"created","in":"query","description":"Only return charges that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return charges for the customer specified by this customer ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_intent","in":"query","description":"Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"transfer_group","in":"query","description":"Only return charges for this transfer group, limited to 100.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ChargeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/charge"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/charges","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"description":"

This method is no longer recommended—use the Payment Intents API\nto initiate a new payment instead. Confirmation of the PaymentIntent creates the Charge\nobject used to request payment.

","operationId":"PostCharges","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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)."},"application_fee":{"type":"integer"},"application_fee_amount":{"type":"integer","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://docs.stripe.com/connect/direct-charges#collect-fees)."},"capture":{"type":"boolean","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://api.stripe.com#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://docs.stripe.com/charges/placing-a-hold) documentation."},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":500,"type":"string","description":"The ID of an existing customer that will be charged in this request."},"description":{"maxLength":40000,"type":"string","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."},"destination":{"title":"destination_specs","required":["account"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"ID of an existing, connected Stripe account."},"amount":{"type":"integer","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."}},"x-stripeMostCommon":["account","amount"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"on_behalf_of":{"maxLength":5000,"type":"string","description":"The Stripe account ID for which these funds are intended. You can specify the business of record as the connected account using the `on_behalf_of` attribute on the charge. For details, see [Creating Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers#settlement-merchant)."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"receipt_email":{"type":"string","description":"The email address to which this charge's [receipt](https://docs.stripe.com/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://docs.stripe.com/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)."},"shipping":{"title":"optional_fields_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"description":"Shipping information for the charge. Helps prevent fraud on charges for physical goods.","x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]},"source":{"maxLength":5000,"type":"string","description":"A payment source to be charged. This can be the ID of a [card](https://docs.stripe.com/api#cards) (i.e., credit or debit card), a [bank account](https://docs.stripe.com/api#bank_accounts), a [source](https://docs.stripe.com/api#sources), a [token](https://docs.stripe.com/api#tokens), or a [connected account](https://docs.stripe.com/connect/account-debits#charging-a-connected-account). For certain sources---namely, [cards](https://docs.stripe.com/api#cards), [bank accounts](https://docs.stripe.com/api#bank_accounts), and attached [sources](https://docs.stripe.com/api#sources)---you must also pass the ID of the associated customer.","x-stripeBypassValidation":true},"statement_descriptor":{"maxLength":22,"type":"string","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."},"statement_descriptor_suffix":{"maxLength":22,"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. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor."},"transfer_data":{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account."},"destination":{"maxLength":5000,"type":"string","description":"ID of an existing, connected Stripe account."}},"description":"An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.","x-stripeMostCommon":["amount","description","destination"]},"transfer_group":{"type":"string","description":"A string that identifies this transaction as part of a group. For details, see [Grouping transactions](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options)."}},"additionalProperties":false,"x-stripeMostCommon":["amount","application_fee","currency","customer","description","destination","metadata","receipt_email","shipping","source","statement_descriptor","statement_descriptor_suffix"]},"encoding":{"destination":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"radar_options":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/charge"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/charges/search":{"get":{"summary":"Search charges","description":"

Search for charges you’ve previously created using Stripe’s Search Query Language.\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.

","operationId":"GetChargesSearch","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"page","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"query","in":"query","description":"The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for charges](https://docs.stripe.com/search#query-fields-for-charges).","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SearchResult","required":["data","has_more","next_page","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/charge"}},"has_more":{"type":"boolean"},"next_page":{"maxLength":5000,"type":"string","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["search_result"]},"total_count":{"type":"integer","description":"The total number of objects that match the query, only accurate up to 10,000."},"url":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","next_page","object","total_count","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/charges/{charge}":{"get":{"summary":"Retrieve a charge","description":"

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.

","operationId":"GetChargesCharge","parameters":[{"name":"charge","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/charge"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a charge","description":"

Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostChargesCharge","parameters":[{"name":"charge","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","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."},"description":{"maxLength":40000,"type":"string","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"fraud_details":{"title":"fraud_details","required":["user_report"],"type":"object","properties":{"user_report":{"maxLength":5000,"type":"string","description":"Either `safe` or `fraudulent`.","enum":["","fraudulent","safe"]}},"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.","x-stripeMostCommon":["user_report"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"receipt_email":{"maxLength":5000,"type":"string","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."},"shipping":{"title":"optional_fields_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"description":"Shipping information for the charge. Helps prevent fraud on charges for physical goods.","x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]},"transfer_group":{"type":"string","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://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details."}},"additionalProperties":false,"x-stripeMostCommon":["customer","description","metadata","receipt_email","shipping"]},"encoding":{"expand":{"style":"deepObject","explode":true},"fraud_details":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/charge"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/charges/{charge}/capture":{"post":{"summary":"Capture a payment","description":"

Capture the payment of an existing, uncaptured charge that was created with the capture option set to false.

\n\n

Uncaptured payments expire a set number of days after they are created (7 by default), after which they are marked as refunded and capture attempts will fail.

\n\n

Don’t use this method to capture a PaymentIntent-initiated charge. Use Capture a PaymentIntent.

","operationId":"PostChargesChargeCapture","parameters":[{"name":"charge","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"The amount to capture, which must be less than or equal to the original amount."},"application_fee":{"type":"integer","description":"An application fee to add on to this charge."},"application_fee_amount":{"type":"integer","description":"An application fee amount to add on to this charge, which must be less than or equal to the original amount."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"receipt_email":{"type":"string","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."},"statement_descriptor":{"maxLength":22,"type":"string","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."},"statement_descriptor_suffix":{"maxLength":22,"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. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor."},"transfer_data":{"title":"transfer_data_specs","type":"object","properties":{"amount":{"type":"integer","description":"The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account."}},"description":"An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.","x-stripeMostCommon":["amount"]},"transfer_group":{"type":"string","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://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details."}},"additionalProperties":false,"x-stripeMostCommon":["amount","application_fee","receipt_email","statement_descriptor","statement_descriptor_suffix"]},"encoding":{"expand":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/charge"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/charges/{charge}/refunds":{"get":{"summary":"List all refunds","description":"

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 limit and starting_after parameters to page through additional refunds.

","operationId":"GetChargesChargeRefunds","parameters":[{"name":"charge","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"RefundList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/refund"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/charges/{charge}/refunds/{refund}":{"get":{"description":"

Retrieves the details of an existing refund.

","operationId":"GetChargesChargeRefundsRefund","parameters":[{"name":"charge","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"refund","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/checkout/sessions":{"get":{"summary":"List all Checkout Sessions","description":"

Returns a list of Checkout Sessions.

","operationId":"GetCheckoutSessions","parameters":[{"name":"created","in":"query","description":"Only return Checkout Sessions that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return the Checkout Sessions for the Customer specified.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return the Checkout Sessions for the Account specified.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_details","in":"query","description":"Only return the Checkout Sessions for the Customer details specified.","required":false,"style":"deepObject","explode":true,"schema":{"title":"customer_details_params","required":["email"],"type":"object","properties":{"email":{"type":"string","description":"Customer's email address."}},"x-stripeMostCommon":["email"]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_intent","in":"query","description":"Only return the Checkout Session for the PaymentIntent specified.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"payment_link","in":"query","description":"Only return the Checkout Sessions for the Payment Link specified.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return the Checkout Sessions matching the given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["complete","expired","open"]}},{"name":"subscription","in":"query","description":"Only return the Checkout Session for the subscription specified.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentPagesCheckoutSessionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/checkout.session"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a Checkout Session","description":"

Creates a Checkout Session object.

","operationId":"PostCheckoutSessions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"adaptive_pricing":{"title":"adaptive_pricing_params","type":"object","properties":{"enabled":{"type":"boolean","description":"If set to `true`, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions). Defaults to your [dashboard setting](https://dashboard.stripe.com/settings/adaptive-pricing)."}},"description":"Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).","x-stripeMostCommon":["enabled"]},"after_expiration":{"title":"after_expiration_params","type":"object","properties":{"recovery":{"title":"recovery_params","required":["enabled"],"type":"object","properties":{"allow_promotion_codes":{"type":"boolean","description":"Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`"},"enabled":{"type":"boolean","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."}},"description":"Configure a Checkout Session that can be used to recover an expired session.","x-stripeMostCommon":["allow_promotion_codes","enabled"]}},"description":"Configure actions after a Checkout Session has expired. You can't set this parameter if `ui_mode` is `custom`.","x-stripeMostCommon":["recovery"]},"allow_promotion_codes":{"type":"boolean","description":"Enables user redeemable promotion codes."},"automatic_tax":{"title":"automatic_tax_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.\n\nEnabling this parameter causes Checkout to collect any billing address information necessary for tax calculation."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Settings for automatic tax lookup for this session and resulting payments, invoices, and subscriptions.","x-stripeMostCommon":["enabled","liability"]},"billing_address_collection":{"type":"string","description":"Specify whether Checkout should collect the customer's billing address. Defaults to `auto`.","enum":["auto","required"]},"branding_settings":{"title":"branding_settings_params","type":"object","properties":{"background_color":{"description":"A hex color value starting with `#` representing the background color for the Checkout Session.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"border_style":{"type":"string","description":"The border style for the Checkout Session.","enum":["","pill","rectangular","rounded"]},"button_color":{"description":"A hex color value starting with `#` representing the button color for the Checkout Session.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"display_name":{"maxLength":5000,"type":"string","description":"A string to override the business name shown on the Checkout Session. This only shows at the top of the Checkout page, and your business name still appears in terms, receipts, and other places."},"font_family":{"type":"string","description":"The font family for the Checkout Session corresponding to one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility).","enum":["","be_vietnam_pro","bitter","chakra_petch","default","hahmlet","inconsolata","inter","lato","lora","m_plus_1_code","montserrat","noto_sans","noto_sans_jp","noto_serif","nunito","open_sans","pridi","pt_sans","pt_serif","raleway","roboto","roboto_slab","source_sans_pro","titillium_web","ubuntu_mono","zen_maru_gothic"]},"icon":{"title":"icon_params","required":["type"],"type":"object","properties":{"file":{"type":"string","description":"The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise."},"type":{"type":"string","description":"The type of image for the icon. Must be one of `file` or `url`.","enum":["file","url"]},"url":{"type":"string","description":"The URL of the image. Required if `type` is `url` and disallowed otherwise."}},"description":"The icon for the Checkout Session. For best results, use a square image.","x-stripeMostCommon":["file","type","url"]},"logo":{"title":"logo_params","required":["type"],"type":"object","properties":{"file":{"type":"string","description":"The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise."},"type":{"type":"string","description":"The type of image for the logo. Must be one of `file` or `url`.","enum":["file","url"]},"url":{"type":"string","description":"The URL of the image. Required if `type` is `url` and disallowed otherwise."}},"description":"The logo for the Checkout Session.","x-stripeMostCommon":["file","type","url"]}},"description":"The branding settings for the Checkout Session. This parameter is not allowed if ui_mode is `custom`.","x-stripeMostCommon":["background_color","border_style","button_color","display_name","font_family","icon","logo"]},"cancel_url":{"type":"string","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` or `custom`."},"client_reference_id":{"maxLength":200,"type":"string","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."},"consent_collection":{"title":"consent_collection_params","type":"object","properties":{"payment_method_reuse_agreement":{"title":"payment_method_reuse_agreement_params","required":["position"],"type":"object","properties":{"position":{"type":"string","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"]}},"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.","x-stripeMostCommon":["position"]},"promotions":{"type":"string","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"]},"terms_of_service":{"type":"string","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"]}},"description":"Configure fields for the Checkout Session to gather active consent from customers.","x-stripeMostCommon":["payment_method_reuse_agreement","promotions","terms_of_service"]},"currency":{"type":"string","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.","format":"currency"},"custom_fields":{"type":"array","description":"Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.","items":{"title":"custom_field_param","required":["key","label","type"],"type":"object","properties":{"dropdown":{"title":"custom_field_dropdown_param","required":["options"],"type":"object","properties":{"default_value":{"maxLength":100,"type":"string","description":"The value that pre-fills the field on the payment page.Must match a `value` in the `options` array."},"options":{"type":"array","description":"The options available for the customer to select. Up to 200 options allowed.","items":{"title":"custom_field_option_param","required":["label","value"],"type":"object","properties":{"label":{"maxLength":100,"type":"string","description":"The label for the option, displayed to the customer. Up to 100 characters."},"value":{"maxLength":100,"type":"string","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."}},"x-stripeMostCommon":["label","value"]}}},"description":"Configuration for `type=dropdown` fields.","x-stripeMostCommon":["default_value","options"]},"key":{"maxLength":200,"type":"string","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."},"label":{"title":"custom_field_label_param","required":["custom","type"],"type":"object","properties":{"custom":{"maxLength":50,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 50 characters."},"type":{"type":"string","description":"The type of the label.","enum":["custom"]}},"description":"The label for the field, displayed to the customer.","x-stripeMostCommon":["custom","type"]},"numeric":{"title":"custom_field_numeric_param","type":"object","properties":{"default_value":{"maxLength":255,"type":"string","description":"The value that pre-fills the field on the payment page."},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input."},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input."}},"description":"Configuration for `type=numeric` fields.","x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."},"text":{"title":"custom_field_text_param","type":"object","properties":{"default_value":{"maxLength":255,"type":"string","description":"The value that pre-fills the field on the payment page."},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input."},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input."}},"description":"Configuration for `type=text` fields.","x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"type":{"type":"string","description":"The type of the field.","enum":["dropdown","numeric","text"]}},"x-stripeMostCommon":["dropdown","key","label","numeric","optional","text","type"]}},"custom_text":{"title":"custom_text_param","type":"object","properties":{"after_submit":{"description":"Custom text that should be displayed after the payment confirmation button.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"shipping_address":{"description":"Custom text that should be displayed alongside shipping address collection.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"submit":{"description":"Custom text that should be displayed alongside the payment confirmation button.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"terms_of_service_acceptance":{"description":"Custom text that should be displayed in place of the default terms of service agreement text.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]}},"description":"Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `custom`.","x-stripeMostCommon":["after_submit","shipping_address","submit","terms_of_service_acceptance"]},"customer":{"maxLength":5000,"type":"string","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://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/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."},"customer_account":{"maxLength":5000,"type":"string","description":"ID of an existing Account, if one exists. Has the same behavior as `customer`."},"customer_creation":{"type":"string","description":"Configure whether a Checkout Session creates a [Customer](https://docs.stripe.com/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://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-customer_details).\n\nSessions that don't create Customers instead are grouped by [guest customers](https://docs.stripe.com/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"]},"customer_email":{"type":"string","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."},"customer_update":{"title":"customer_update_params","type":"object","properties":{"address":{"type":"string","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"],"x-stripeBypassValidation":true},"name":{"type":"string","description":"Describes whether Checkout saves the name onto `customer.name`. Defaults to `never`.","enum":["auto","never"],"x-stripeBypassValidation":true},"shipping":{"type":"string","description":"Describes whether Checkout saves shipping information onto `customer.shipping`.\nTo collect shipping information, use `shipping_address_collection`. Defaults to `never`.","enum":["auto","never"],"x-stripeBypassValidation":true}},"description":"Controls what fields on Customer can be updated by the Checkout Session. Can only be provided when `customer` is provided.","x-stripeMostCommon":["address","name","shipping"]},"discounts":{"type":"array","description":"The coupon or promotion code to apply to this Session. Currently, only up to one may be specified.","items":{"title":"discount_params","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The ID of the coupon to apply to this Session."},"promotion_code":{"maxLength":5000,"type":"string","description":"The ID of a promotion code to apply to this Session."}},"x-stripeMostCommon":["coupon","coupon_data","promotion_code"]}},"excluded_payment_method_types":{"type":"array","description":"A list of the types of payment methods (e.g., `card`) that should be excluded from this Checkout Session. This should only be used when payment methods for this Checkout Session are managed through the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","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"},"integration_identifier":{"maxLength":200,"type":"string","description":"The integration identifier for this Checkout Session. Multiple Checkout Sessions can have the same integration identifier."},"invoice_creation":{"title":"invoice_creation_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable invoice creation."},"invoice_data":{"title":"invoice_data_params","type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the invoice.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"custom_fields":{"description":"Default custom fields to be displayed on invoices for this customer.","anyOf":[{"type":"array","items":{"title":"custom_field_params","required":["name","value"],"type":"object","properties":{"name":{"maxLength":40,"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"maxLength":140,"type":"string","description":"The value of the custom field. This may be up to 140 characters."}},"x-stripeMostCommon":["name","value"]}},{"type":"string","enum":[""]}]},"description":{"maxLength":1500,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"footer":{"maxLength":5000,"type":"string","description":"Default footer to be displayed on invoices for this customer."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"description":"Default options for invoice PDF rendering for this customer.","anyOf":[{"title":"checkout_rendering_options_param","type":"object","properties":{"amount_tax_display":{"type":"string","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"]},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to use for this invoice."}},"x-stripeMostCommon":["amount_tax_display","invoice_title","template"]},{"type":"string","enum":[""]}]}},"description":"Parameters passed when creating invoices for payment-mode Checkout Sessions.","x-stripeMostCommon":["account_tax_ids","custom_fields","description","footer","issuer","metadata","rendering_options"]}},"description":"Generate a post-purchase Invoice for one-time payments.","x-stripeMostCommon":["enabled","invoice_data"]},"line_items":{"type":"array","description":"A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices). The parameter is required for `payment` and `subscription` mode.\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":{"title":"line_item_params","type":"object","properties":{"adjustable_quantity":{"title":"adjustable_quantity_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","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."},"minimum":{"type":"integer","description":"The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0."}},"description":"When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.","x-stripeMostCommon":["enabled","maximum","minimum"]},"dynamic_tax_rates":{"type":"array","description":"The [tax rates](https://docs.stripe.com/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. You can't set this parameter if `ui_mode` is `custom`.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object. One of `price` or `price_data` is required."},"price_data":{"title":"price_data_with_product_data","required":["currency"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required."},"product_data":{"title":"product_data","required":["name"],"type":"object","properties":{"description":{"maxLength":40000,"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."},"images":{"type":"array","description":"A list of up to 8 URLs of images for this product, meant to be displayable to the customer.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"description":"Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.","x-stripeMostCommon":["description","images","metadata","name","tax_code","tax_details","unit_label"]},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`."},"tax_rates":{"type":"array","description":"The [tax rates](https://docs.stripe.com/api/tax_rates) which apply to this line item.","items":{"maxLength":5000,"type":"string"}}},"x-stripeMostCommon":["adjustable_quantity","dynamic_tax_rates","metadata","price","price_data","quantity","tax_rates"]}},"locale":{"type":"string","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"],"x-stripeBypassValidation":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mode":{"type":"string","description":"The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.","enum":["payment","setup","subscription"]},"name_collection":{"title":"name_collection_params","type":"object","properties":{"business":{"title":"name_collection_business_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable business name collection on the Checkout Session. Defaults to `false`."},"optional":{"type":"boolean","description":"Whether the customer is required to provide a business name before completing the Checkout Session. Defaults to `false`."}},"description":"Controls settings applied for collecting the customer's business name on the session.","x-stripeMostCommon":["enabled","optional"]},"individual":{"title":"name_collection_individual_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable individual name collection on the Checkout Session. Defaults to `false`."},"optional":{"type":"boolean","description":"Whether the customer is required to provide their name before completing the Checkout Session. Defaults to `false`."}},"description":"Controls settings applied for collecting the customer's individual name on the session.","x-stripeMostCommon":["enabled","optional"]}},"description":"Controls name collection settings for the session.\n\nYou can configure Checkout to collect your customers' business names, individual names, or both. Each name field can be either required or optional.\n\nIf a [Customer](https://docs.stripe.com/api/customers) is created or provided, the names can be saved to the Customer object as well.\n\nYou can't set this parameter if `ui_mode` is `custom`.","x-stripeMostCommon":["business","individual"]},"optional_items":{"type":"array","description":"A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).\n\nThere is a maximum of 10 optional items allowed on a Checkout Session, and the existing limits on the number of line items allowed on a Checkout Session apply to the combined number of line items and optional items.\n\nFor `payment` mode, there is a maximum of 100 combined line items and optional items, however it is recommended to consolidate items if there are more than a few dozen.\n\nFor `subscription` mode, there is a maximum of 20 line items and optional items with recurring Prices and 20 line items and optional items with one-time Prices.\n\nYou can't set this parameter if `ui_mode` is `custom`.","items":{"title":"optional_item_params","required":["price","quantity"],"type":"object","properties":{"adjustable_quantity":{"title":"optional_item_adjustable_quantity_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999."},"minimum":{"type":"integer","description":"The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0."}},"description":"When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order.","x-stripeMostCommon":["enabled","maximum","minimum"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object."},"quantity":{"type":"integer","description":"The initial quantity of the line item created when a customer chooses to add this optional item to their order."}},"x-stripeMostCommon":["adjustable_quantity","price","quantity"]}},"origin_context":{"type":"string","description":"Where the user is coming from. This informs the optimizations that are applied to the session. You can't set this parameter if `ui_mode` is `custom`.","enum":["mobile_app","web"]},"payment_intent_data":{"title":"payment_intent_data_params","type":"object","properties":{"application_fee_amount":{"type":"integer","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 amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts)."},"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["automatic","automatic_async","manual"]},"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","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)."},"receipt_email":{"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":{"type":"string","description":"Indicates that you intend to [make future payments](https://docs.stripe.com/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"]},"shipping":{"title":"shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"address","required":["line1"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"description":"Shipping information for this payment.","x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]},"statement_descriptor":{"maxLength":22,"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":{"maxLength":22,"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_data":{"title":"transfer_data_params","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when a charge succeeds."},"destination":{"type":"string","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."}},"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://docs.stripe.com/payments/connected-accounts).","x-stripeMostCommon":["amount","destination"]},"transfer_group":{"type":"string","description":"A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers) for details."}},"description":"A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.","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":{"type":"string","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://docs.stripe.com/payments/checkout/free-trials).","enum":["always","if_required"]},"payment_method_configuration":{"maxLength":100,"type":"string","description":"The ID of the payment method configuration to use with this Checkout session."},"payment_method_data":{"title":"payment_method_data_param","type":"object","properties":{"allow_redisplay":{"type":"string","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"]}},"description":"This parameter allows you to set some attributes on the payment method created during a Checkout session.","x-stripeMostCommon":["allow_redisplay"]},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"acss_debit":{"title":"payment_method_options_param","type":"object","properties":{"currency":{"type":"string","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"]},"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"custom_mandate_url":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"default_for":{"type":"array","description":"List of Stripe products where this mandate can be selected automatically. Only usable in `setup` mode.","items":{"type":"string","enum":["invoice","subscription"]}},"interval_description":{"maxLength":500,"type":"string","description":"Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'."},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["custom_mandate_url","default_for","interval_description","payment_schedule","transaction_type"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"contains details about the ACSS Debit payment method options. You can't set this parameter if `ui_mode` is `custom`.","x-stripeMostCommon":["currency","mandate_options","setup_future_usage","target_date","verification_method"]},"affirm":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Affirm payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"afterpay_clearpay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Afterpay Clearpay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"alipay":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"contains details about the Alipay payment method options.","x-stripeMostCommon":["currency","setup_future_usage"]},"alma":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"contains details about the Alma payment method options.","x-stripeMostCommon":["capture_method"]},"amazon_pay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the AmazonPay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"au_becs_debit":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"contains details about the AU Becs Debit payment method options.","x-stripeMostCommon":["setup_future_usage","target_date"]},"bacs_debit":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"contains details about the Bacs Debit payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},"bancontact":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Bancontact payment method options.","x-stripeMostCommon":["setup_future_usage"]},"billie":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"contains details about the Billie payment method options.","x-stripeMostCommon":["capture_method"]},"boleto":{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Boleto payment method options.","x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"card":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"installments":{"title":"installments_param","type":"object","properties":{"enabled":{"type":"boolean","description":"Setting to true enables installments for this Checkout Session.\nSetting to false will prevent any installment plan from applying to a payment."}},"description":"Installment options for card payments","x-stripeMostCommon":["enabled"]},"request_extended_authorization":{"type":"string","description":"Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.","enum":["if_available","never"]},"request_incremental_authorization":{"type":"string","description":"Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.","enum":["if_available","never"]},"request_multicapture":{"type":"string","description":"Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.","enum":["if_available","never"]},"request_overcapture":{"type":"string","description":"Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.","enum":["if_available","never"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"restrictions":{"title":"restrictions_param","type":"object","properties":{"brands_blocked":{"type":"array","description":"Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session.","items":{"type":"string","enum":["american_express","discover_global_network","mastercard","visa"]}}},"description":"Restrictions to apply to the card payment method. For example, you can block specific card brands. You can't set this parameter if `ui_mode` is `custom`.","x-stripeMostCommon":["brands_blocked"]},"setup_future_usage":{"type":"string","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"]},"statement_descriptor_suffix_kana":{"maxLength":22,"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":{"maxLength":17,"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."}},"description":"contains details about the Card payment method options.","x-stripeMostCommon":["capture_method","installments","network_options","recipient_details","request_decremental_authorization","request_extended_authorization","request_incremental_authorization","request_multicapture","request_overcapture","request_three_d_secure","restrictions","sender_details","setup_future_usage","statement_descriptor_suffix_kana","statement_descriptor_suffix_kanji"]},"cashapp":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Cashapp Pay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"crypto":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"contains details about the Crypto payment method options.","x-stripeMostCommon":["setup_future_usage"]},"customer_balance":{"title":"payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_params","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"requested_address_types":{"type":"array","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":{"type":"string","enum":["aba","iban","sepa","sort_code","spei","swift","zengin"],"x-stripeBypassValidation":true}},"type":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_transfer","requested_address_types","type"]},"funding_type":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Customer Balance payment method options.","x-stripeMostCommon":["bank_transfer","funding_type","setup_future_usage"]},"demo_pay":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the DemoPay payment method options.","x-stripeMostCommon":["setup_future_usage"]},"eps":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the EPS payment method options.","x-stripeMostCommon":["setup_future_usage"]},"fpx":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the FPX payment method options.","x-stripeMostCommon":["setup_future_usage"]},"giropay":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Giropay payment method options.","x-stripeMostCommon":["setup_future_usage"]},"grabpay":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Grabpay payment method options.","x-stripeMostCommon":["setup_future_usage"]},"ideal":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Ideal payment method options.","x-stripeMostCommon":["setup_future_usage"]},"kakao_pay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Kakao Pay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"klarna":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]},"subscriptions":{"description":"Subscription details if the Checkout Session sets up a future subscription.","anyOf":[{"type":"array","items":{"title":"setup_intent_subscription_param","required":["interval","next_billing","reference"],"type":"object","properties":{"interval":{"type":"string","description":"Unit of time between subscription charges.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months."},"name":{"maxLength":255,"type":"string","description":"Name for subscription."},"next_billing":{"title":"subscription_next_billing_param","required":["amount","date"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the next charge for the subscription."},"date":{"maxLength":5000,"type":"string","description":"The date of the next charge for the subscription in YYYY-MM-DD format."}},"description":"Describes the upcoming charge for this subscription.","x-stripeMostCommon":["amount","date"]},"reference":{"maxLength":255,"type":"string","description":"A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges."}},"x-stripeMostCommon":["interval","interval_count","name","next_billing","reference"]}},{"type":"string","enum":[""]}]}},"description":"contains details about the Klarna payment method options.","x-stripeMostCommon":["capture_method","interoperability_token","setup_future_usage","subscriptions"]},"konbini":{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Konbini payment method options.","x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"kr_card":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Korean card payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"link":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Link payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"mobilepay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Mobilepay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"multibanco":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Multibanco payment method options.","x-stripeMostCommon":["setup_future_usage"]},"naver_pay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Naver Pay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"oxxo":{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the OXXO payment method options.","x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"p24":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"tos_shown_and_accepted":{"type":"boolean","description":"Confirm that the payer has accepted the P24 terms and conditions."}},"description":"contains details about the P24 payment method options.","x-stripeMostCommon":["setup_future_usage","tos_shown_and_accepted"]},"pay_by_bank":{"title":"payment_method_options_param","type":"object","properties":{},"description":"contains details about the Pay By Bank payment method options.","x-stripeMostCommon":["allow_delayed_notification","country","locale","setup_future_usage","statement_descriptor"]},"payco":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"contains details about the PAYCO payment method options.","x-stripeMostCommon":["capture_method"]},"paynow":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the PayNow payment method options.","x-stripeMostCommon":["setup_future_usage"]},"paypal":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["","manual"]},"preferred_locale":{"type":"string","description":"[Preferred locale](https://docs.stripe.com/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"],"x-stripeBypassValidation":true},"reference":{"maxLength":127,"type":"string","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."},"risk_correlation_id":{"maxLength":32,"type":"string","description":"The risk correlation ID for an on-session payment using a saved PayPal payment method."},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the PayPal payment method options.","x-stripeMostCommon":["capture_method","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},"payto":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["","fixed","maximum"]},"end_date":{"description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["","adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["","dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]},"start_date":{"description":"Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the PayTo payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage"]},"pix":{"title":"payment_method_options_param","type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds."},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"contains details about the Pix payment method options.","x-stripeMostCommon":["amount_includes_iof","expires_after_seconds","mandate_options","setup_future_usage"]},"revolut_pay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the RevolutPay payment method options.","x-stripeMostCommon":["capture_method","setup_future_usage"]},"samsung_pay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"contains details about the Samsung Pay payment method options.","x-stripeMostCommon":["capture_method"]},"satispay":{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"contains details about the Satispay payment method options.","x-stripeMostCommon":["capture_method"]},"sepa_debit":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference","reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"contains details about the Sepa Debit payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage","target_date","verification_method"]},"sofort":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the Sofort payment method options.","x-stripeMostCommon":["setup_future_usage"]},"swish":{"title":"payment_method_options_param","type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent."}},"description":"contains details about the Swish payment method options.","x-stripeMostCommon":["authorization_method","reference"]},"twint":{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"contains details about the TWINT payment method options.","x-stripeMostCommon":["setup_future_usage"]},"upi":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["amount","amount_type","description","end_date"]},"setup_future_usage":{"type":"string","enum":["","none","off_session","on_session"]}},"description":"contains details about the UPI payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage"]},"us_bank_account":{"title":"payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"linked_account_options_param","type":"object","properties":{"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["permissions","prefetch"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant"],"x-stripeBypassValidation":true}},"description":"contains details about the Us Bank Account payment method options.","x-stripeMostCommon":["financial_connections","setup_future_usage","target_date","verification_method"]},"wechat_pay":{"title":"payment_method_options_param","required":["client"],"type":"object","properties":{"app_id":{"maxLength":5000,"type":"string","description":"The app ID registered with WeChat Pay. Only required when client is ios or android."},"client":{"type":"string","description":"The client type that the end customer will pay from","enum":["android","ios","web"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]}},"description":"contains details about the WeChat Pay payment method options.","x-stripeMostCommon":["app_id","client","setup_future_usage"]}},"description":"Payment-method-specific configuration.","x-stripeMostCommon":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","boleto","card","cashapp","crypto","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","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay"]},"payment_method_types":{"type":"array","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://docs.stripe.com/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":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"permissions":{"title":"permissions_param","type":"object","properties":{"update_shipping_details":{"type":"string","description":"Determines which entity is allowed to update the shipping details.\n\nDefault is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.\n\nWhen set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.","enum":["client_only","server_only"]}},"description":"This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object. Can only be set when creating `embedded` or `custom` sessions.\n\nFor specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.","x-stripeMostCommon":["update","update_discounts","update_line_items","update_shipping_details"]},"phone_number_collection":{"title":"phone_number_collection_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable phone number collection.\n\nCan only be set in `payment` and `subscription` mode."}},"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://docs.stripe.com/payments/checkout/phone-numbers).","x-stripeMostCommon":["enabled"]},"redirect_on_completion":{"type":"string","description":"This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.","enum":["always","if_required","never"]},"return_url":{"type":"string","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` or `custom`\nand redirect-based payment methods are enabled on the session."},"saved_payment_method_options":{"title":"saved_payment_method_options_param","type":"object","properties":{"allow_redisplay_filters":{"type":"array","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":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_remove":{"type":"string","description":"Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.","enum":["disabled","enabled"]},"payment_method_save":{"type":"string","description":"Enable customers to choose if they wish to save their payment method for future use. Disabled by default.","enum":["disabled","enabled"]}},"description":"Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.","x-stripeMostCommon":["allow_redisplay_filters","payment_method_remove","payment_method_save"]},"setup_intent_data":{"title":"setup_intent_data_param","type":"object","properties":{"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"The Stripe account for which the setup is intended."}},"description":"A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode.","x-stripeMostCommon":["description","metadata","on_behalf_of"]},"shipping_address_collection":{"title":"shipping_address_collection_params","required":["allowed_countries"],"type":"object","properties":{"allowed_countries":{"type":"array","description":"An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations.","items":{"type":"string","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","SD","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"]}}},"description":"When set, provides configuration for Checkout to collect a shipping address from a customer.","x-stripeMostCommon":["allowed_countries"]},"shipping_options":{"type":"array","description":"The shipping rate options to apply to this Session. Up to a maximum of 5.","items":{"title":"shipping_option_params","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the Shipping Rate to use for this shipping option."},"shipping_rate_data":{"title":"method_params","required":["display_name"],"type":"object","properties":{"delivery_estimate":{"title":"delivery_estimate","type":"object","properties":{"maximum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.","x-stripeMostCommon":["unit","value"]},"minimum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The lower bound of the estimated range. If empty, represents no lower bound.","x-stripeMostCommon":["unit","value"]}},"description":"The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.","x-stripeMostCommon":["maximum","minimum"]},"display_name":{"maxLength":100,"type":"string","description":"The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions."},"fixed_amount":{"title":"fixed_amount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"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)."}},"description":"Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.","x-stripeMostCommon":["amount","currency","currency_options"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`."},"type":{"type":"string","description":"The type of calculation to use on the shipping rate.","enum":["fixed_amount"]}},"description":"Parameters to be passed to Shipping Rate creation for this shipping option.","x-stripeMostCommon":["display_name","fixed_amount","metadata","tax_behavior","tax_code","type"]}},"x-stripeMostCommon":["shipping_rate","shipping_rate_data"]}},"submit_type":{"type":"string","description":"Describes the type of transaction being performed by Checkout in order\nto customize relevant text on the page, such as the submit button.\n `submit_type` can only be specified on Checkout Sessions in\n`payment` or `subscription` mode. If blank or `auto`, `pay` is used.\nYou can't set this parameter if `ui_mode` is `custom`.","enum":["auto","book","donate","pay","subscribe"]},"subscription_data":{"title":"subscription_data_params","type":"object","properties":{"application_fee_percent":{"type":"number","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)."},"billing_cycle_anchor":{"type":"integer","description":"A future timestamp to anchor the subscription's billing cycle for new subscriptions. You can't set this parameter if `ui_mode` is `custom`.","format":"unix-time"},"billing_mode":{"title":"billing_mode","required":["type"],"type":"object","properties":{"flexible":{"title":"flexible_params","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"Configure behavior for flexible billing mode.","x-stripeMostCommon":["proration_discounts"]},"type":{"type":"string","description":"Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.","enum":["classic","flexible"]}},"description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","x-stripeMostCommon":["flexible","type"]},"default_tax_rates":{"type":"array","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"}},"description":{"maxLength":500,"type":"string","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://docs.stripe.com/customer-management)."},"invoice_settings":{"title":"invoice_settings_params","type":"object","properties":{"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["issuer"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"The account on behalf of which to charge, for each of the subscription's invoices."},"pending_invoice_item_interval":{"title":"pending_invoice_item_interval_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://docs.stripe.com/api#create_invoice) for the given subscription at the specified interval.","x-stripeMostCommon":["interval","interval_count"]},"proration_behavior":{"type":"string","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"]},"transfer_data":{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"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.","x-stripeMostCommon":["amount_percent","destination"]},"trial_end":{"type":"integer","description":"Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.","format":"unix-time"},"trial_period_days":{"type":"integer","description":"Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1."},"trial_settings":{"title":"trial_settings_config","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"title":"end_behavior","required":["missing_payment_method"],"type":"object","properties":{"missing_payment_method":{"type":"string","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"]}},"description":"Defines how the subscription should behave when the user's free trial ends.","x-stripeMostCommon":["missing_payment_method"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"description":"A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode.","x-stripeMostCommon":["application_fee_percent","billing_cycle_anchor","billing_mode","default_tax_rates","description","invoice_settings","metadata","on_behalf_of","pending_invoice_item_interval","proration_behavior","tax_filing_currency","transfer_data","trial_end","trial_period_days"]},"success_url":{"type":"string","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` or `custom`. If you'd like to use\ninformation from the successful Checkout Session on your page, read the\nguide on [customizing your success page](https://docs.stripe.com/payments/checkout/custom-success-page)."},"tax_id_collection":{"title":"tax_id_collection_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable tax ID collection during checkout. Defaults to `false`."},"required":{"type":"string","description":"Describes whether a tax ID is required during checkout. Defaults to `never`. You can't set this parameter if `ui_mode` is `custom`.","enum":["if_supported","never"]}},"description":"Controls tax ID collection during checkout.","x-stripeMostCommon":["enabled","required"]},"ui_mode":{"type":"string","description":"The UI mode of the Session. Defaults to `hosted`.","enum":["elements","embedded_page","form","hosted_page"],"x-stripeBypassValidation":true},"wallet_options":{"title":"wallet_options_param","type":"object","properties":{"link":{"title":"wallet_options_param","type":"object","properties":{"display":{"type":"string","description":"Specifies whether Checkout should display Link as a payment option. By default, Checkout will display all the supported wallets that the Checkout Session was created with. This is the `auto` behavior, and it is the default choice.","enum":["auto","never"]}},"description":"contains details about the Link wallet options.","x-stripeMostCommon":["display"]}},"description":"Wallet-specific configuration.","x-stripeMostCommon":["link"]}},"additionalProperties":false,"x-stripeMostCommon":["automatic_tax","client_reference_id","customer","customer_email","line_items","metadata","mode","return_url","success_url","ui_mode"]},"encoding":{"adaptive_pricing":{"style":"deepObject","explode":true},"after_expiration":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"branding_settings":{"style":"deepObject","explode":true},"consent_collection":{"style":"deepObject","explode":true},"custom_fields":{"style":"deepObject","explode":true},"custom_text":{"style":"deepObject","explode":true},"customer_update":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"excluded_payment_method_types":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"invoice_creation":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"name_collection":{"style":"deepObject","explode":true},"optional_items":{"style":"deepObject","explode":true},"payment_intent_data":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true},"permissions":{"style":"deepObject","explode":true},"phone_number_collection":{"style":"deepObject","explode":true},"saved_payment_method_options":{"style":"deepObject","explode":true},"setup_intent_data":{"style":"deepObject","explode":true},"shipping_address_collection":{"style":"deepObject","explode":true},"shipping_options":{"style":"deepObject","explode":true},"subscription_data":{"style":"deepObject","explode":true},"tax_id_collection":{"style":"deepObject","explode":true},"wallet_options":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/checkout.session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/checkout/sessions/{session}":{"get":{"summary":"Retrieve a Checkout Session","description":"

Retrieves a Checkout Session object.

","operationId":"GetCheckoutSessionsSession","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":66,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/checkout.session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a Checkout Session","description":"

Updates a Checkout Session object.

\n\n

Related guide: Dynamically update a Checkout Session

","operationId":"PostCheckoutSessionsSession","parameters":[{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"collected_information":{"title":"collected_information_params","type":"object","properties":{"shipping_details":{"title":"shipping_details_params","required":["address","name"],"type":"object","properties":{"address":{"title":"address","required":["country","line1"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The address of the customer","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":255,"type":"string","description":"The name of customer"}},"description":"The shipping details to apply to this Session.","x-stripeMostCommon":["address","name"]}},"description":"Information about the customer collected within the Checkout Session. Can only be set when updating `embedded` or `custom` sessions.","x-stripeMostCommon":["billing_details","shipping_details"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"line_items":{"type":"array","description":"A list of items the customer is purchasing.\n\nWhen updating line items, you must retransmit the entire array of line items.\n\nTo retain an existing line item, specify its `id`.\n\nTo update an existing line item, specify its `id` along with the new values of the fields to update.\n\nTo add a new line item, specify one of `price` or `price_data` and `quantity`.\n\nTo remove an existing line item, omit the line item's ID from the retransmitted array.\n\nTo reorder a line item, specify it at the desired position in the retransmitted array.","items":{"title":"line_item_params","type":"object","properties":{"adjustable_quantity":{"title":"adjustable_quantity_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any positive integer. Setting to false will remove any previously specified constraints on quantity."},"maximum":{"type":"integer","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."},"minimum":{"type":"integer","description":"The minimum quantity the customer must purchase for the Checkout Session. By default this value is 0."}},"description":"When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.","x-stripeMostCommon":["enabled","maximum","minimum"]},"id":{"maxLength":5000,"type":"string","description":"ID of an existing line item."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"price":{"maxLength":5000,"type":"string","description":"The ID of the [Price](https://docs.stripe.com/api/prices). One of `price` or `price_data` is required when creating a new line item."},"price_data":{"title":"price_data_with_product_data","required":["currency"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required."},"product_data":{"title":"product_data","required":["name"],"type":"object","properties":{"description":{"maxLength":40000,"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."},"images":{"type":"array","description":"A list of up to 8 URLs of images for this product, meant to be displayable to the customer.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"description":"Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.","x-stripeMostCommon":["description","images","metadata","name","tax_code","tax_details","unit_label"]},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required when creating a new line item.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`."},"tax_rates":{"description":"The [tax rates](https://docs.stripe.com/api/tax_rates) which apply to this line item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["adjustable_quantity","id","metadata","price","price_data","quantity","tax_rates"]}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"shipping_options":{"description":"The shipping rate options to apply to this Session. Up to a maximum of 5.","anyOf":[{"type":"array","items":{"title":"shipping_option_params","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the Shipping Rate to use for this shipping option."},"shipping_rate_data":{"title":"method_params","required":["display_name"],"type":"object","properties":{"delivery_estimate":{"title":"delivery_estimate","type":"object","properties":{"maximum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.","x-stripeMostCommon":["unit","value"]},"minimum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The lower bound of the estimated range. If empty, represents no lower bound.","x-stripeMostCommon":["unit","value"]}},"description":"The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.","x-stripeMostCommon":["maximum","minimum"]},"display_name":{"maxLength":100,"type":"string","description":"The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions."},"fixed_amount":{"title":"fixed_amount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"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)."}},"description":"Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.","x-stripeMostCommon":["amount","currency","currency_options"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`."},"type":{"type":"string","description":"The type of calculation to use on the shipping rate.","enum":["fixed_amount"]}},"description":"Parameters to be passed to Shipping Rate creation for this shipping option.","x-stripeMostCommon":["display_name","fixed_amount","metadata","tax_behavior","tax_code","type"]}},"x-stripeMostCommon":["shipping_rate","shipping_rate_data"]}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["line_items","metadata"]},"encoding":{"collected_information":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"shipping_options":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/checkout.session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/checkout/sessions/{session}/expire":{"post":{"summary":"Expire a Checkout Session","description":"

A Checkout Session can be expired when it is in one of these statuses: open

\n\n

After it expires, a customer can’t complete a Checkout Session and customers loading the Checkout Session see a message saying the Checkout Session is expired.

","operationId":"PostCheckoutSessionsSessionExpire","parameters":[{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/checkout.session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/checkout/sessions/{session}/line_items":{"get":{"summary":"Retrieve a Checkout Session's line items","description":"

When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

","operationId":"GetCheckoutSessionsSessionLineItems","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentPagesCheckoutSessionListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/climate/orders":{"get":{"summary":"List orders","description":"

Lists all Climate order objects. The orders are returned sorted by creation date, with the\nmost recently created orders appearing first.

","operationId":"GetClimateOrders","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ClimateRemovalsOrdersList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/climate.order"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/climate/orders","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an order","description":"

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.

","operationId":"PostClimateOrders","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["product"],"type":"object","properties":{"amount":{"type":"integer","description":"Requested amount of carbon removal units. Either this or `metric_tons` must be specified."},"beneficiary":{"title":"beneficiary_params","required":["public_name"],"type":"object","properties":{"public_name":{"maxLength":5000,"type":"string","description":"Publicly displayable name for the end beneficiary of carbon removal."}},"description":"Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.","x-stripeMostCommon":["domain","email","public_name"]},"currency":{"maxLength":5000,"type":"string","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"metric_tons":{"type":"string","description":"Requested number of tons for the order. Either this or `amount` must be specified.","format":"decimal"},"product":{"maxLength":5000,"type":"string","description":"Unique identifier of the Climate product."}},"additionalProperties":false,"x-stripeMostCommon":["amount","beneficiary","currency","metadata","metric_tons","product"]},"encoding":{"beneficiary":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/climate.order"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/climate/orders/{order}":{"get":{"summary":"Retrieve an order","description":"

Retrieves the details of a Climate order object with the given ID.

","operationId":"GetClimateOrdersOrder","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"order","in":"path","description":"Unique identifier of the order.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/climate.order"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an order","description":"

Updates the specified order by setting the values of the parameters passed.

","operationId":"PostClimateOrdersOrder","parameters":[{"name":"order","in":"path","description":"Unique identifier of the order.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"beneficiary":{"description":"Publicly sharable reference for the end beneficiary of carbon removal. Assumed to be the Stripe account if not set.","anyOf":[{"title":"beneficiary_params","required":["public_name"],"type":"object","properties":{"public_name":{"description":"Publicly displayable name for the end beneficiary of carbon removal.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["domain","email","public_name"]},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."}},"additionalProperties":false,"x-stripeMostCommon":["beneficiary","metadata"]},"encoding":{"beneficiary":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/climate.order"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/climate/orders/{order}/cancel":{"post":{"summary":"Cancel an order","description":"

Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the\nreservation amount_subtotal, but not the amount_fees 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 amount_total.

","operationId":"PostClimateOrdersOrderCancel","parameters":[{"name":"order","in":"path","description":"Unique identifier of the order.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/climate.order"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/climate/products":{"get":{"summary":"List products","description":"

Lists all available Climate product objects.

","operationId":"GetClimateProducts","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ClimateRemovalsProductsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/climate.product"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/climate/products","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/climate/products/{product}":{"get":{"summary":"Retrieve a product","description":"

Retrieves the details of a Climate product with the given ID.

","operationId":"GetClimateProductsProduct","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"product","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/climate.product"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/climate/suppliers":{"get":{"summary":"List suppliers","description":"

Lists all available Climate supplier objects.

","operationId":"GetClimateSuppliers","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ClimateRemovalsSuppliersList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/climate.supplier"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/climate/suppliers","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/climate/suppliers/{supplier}":{"get":{"summary":"Retrieve a supplier","description":"

Retrieves a Climate supplier object.

","operationId":"GetClimateSuppliersSupplier","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"supplier","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/climate.supplier"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/confirmation_tokens/{confirmation_token}":{"get":{"summary":"Retrieve a ConfirmationToken","description":"

Retrieves an existing ConfirmationToken object

","operationId":"GetConfirmationTokensConfirmationToken","parameters":[{"name":"confirmation_token","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/confirmation_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/country_specs":{"get":{"summary":"List Country Specs","description":"

Lists all Country Spec objects available in the API.

","operationId":"GetCountrySpecs","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CountrySpecList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/country_spec"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/country_specs","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/country_specs/{country}":{"get":{"summary":"Retrieve a Country Spec","description":"

Returns a Country Spec for a given Country code.

","operationId":"GetCountrySpecsCountry","parameters":[{"name":"country","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/country_spec"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/coupons":{"get":{"summary":"List all coupons","description":"

Returns a list of your coupons.

","operationId":"GetCoupons","parameters":[{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CouponsResourceCouponList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/coupon"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/coupons","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a coupon","description":"

You can create coupons easily via the coupon management page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly.

\n\n

A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice’s subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it.

","operationId":"PostCoupons","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount_off":{"type":"integer","description":"A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed)."},"applies_to":{"title":"applies_to_params","type":"object","properties":{"products":{"type":"array","description":"An array of Product IDs that this Coupon will apply to.","items":{"maxLength":5000,"type":"string"}}},"description":"A hash containing directions for what this Coupon will apply discounts to.","x-stripeMostCommon":["billable_items","product_classes","products"]},"currency":{"type":"string","description":"Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","required":["amount_off"],"type":"object","properties":{"amount_off":{"type":"integer","description":"A positive integer representing the amount to subtract from an invoice total."}},"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)."},"duration":{"type":"string","description":"Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.","enum":["forever","once","repeating"],"x-stripeBypassValidation":true},"duration_in_months":{"type":"integer","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"id":{"maxLength":5000,"type":"string","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."},"max_redemptions":{"type":"integer","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."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":40,"type":"string","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."},"percent_off":{"type":"number","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)."},"redeem_by":{"type":"integer","description":"Unix timestamp specifying the last time at which the coupon can be redeemed (cannot be set to more than 5 years in the future). After the redeem_by date, the coupon can no longer be applied to new customers.","format":"unix-time"}},"additionalProperties":false,"x-stripeMostCommon":["amount_off","currency","duration","metadata","name","percent_off"]},"encoding":{"applies_to":{"style":"deepObject","explode":true},"currency_options":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/coupon"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/coupons/{coupon}":{"get":{"summary":"Retrieve a coupon","description":"

Retrieves the coupon with the given ID.

","operationId":"GetCouponsCoupon","parameters":[{"name":"coupon","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/coupon"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a coupon","description":"

Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable.

","operationId":"PostCouponsCoupon","parameters":[{"name":"coupon","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","required":["amount_off"],"type":"object","properties":{"amount_off":{"type":"integer","description":"A positive integer representing the amount to subtract from an invoice total."}},"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)."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":40,"type":"string","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."}},"additionalProperties":false,"x-stripeMostCommon":["metadata","name"]},"encoding":{"currency_options":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/coupon"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a coupon","description":"

You can delete coupons via the coupon management 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.

","operationId":"DeleteCouponsCoupon","parameters":[{"name":"coupon","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_coupon"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/credit_notes":{"get":{"summary":"List all credit notes","description":"

Returns a list of credit notes.

","operationId":"GetCreditNotes","parameters":[{"name":"created","in":"query","description":"Only return credit notes that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return credit notes for the customer specified by this customer ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return credit notes for the account representing the customer specified by this account ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"query","description":"Only return credit notes for the invoice specified by this invoice ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CreditNotesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/credit_note"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a credit note","description":"

Issue a credit note to adjust the amount of a finalized invoice. A credit note will first reduce the invoice’s amount_remaining (and amount_due), but not below zero.\nThis amount is indicated by the credit note’s pre_payment_amount. The excess amount is indicated by post_payment_amount, and it can result in any combination of the following:

\n\n\n\n

The sum of refunds, customer balance credits, and outside of Stripe credits must equal the post_payment_amount.

\n\n

You may issue multiple credit notes for an invoice. Each credit note may increment the invoice’s pre_payment_credit_notes_amount,\npost_payment_credit_notes_amount, or both, depending on the invoice’s amount_remaining at the time of credit note creation.

","operationId":"PostCreditNotes","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["invoice"],"type":"object","properties":{"amount":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the total amount of the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided."},"credit_amount":{"type":"integer","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."},"effective_at":{"type":"integer","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"},"email_type":{"type":"string","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"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice":{"maxLength":5000,"type":"string","description":"ID of the invoice."},"lines":{"type":"array","description":"Line items that make up the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","items":{"title":"credit_note_line_item_params","required":["type"],"type":"object","properties":{"amount":{"type":"integer","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"},"description":{"maxLength":5000,"type":"string","description":"The description of the credit note line item. Only valid when the `type` is `custom_line_item`."},"invoice_line_item":{"maxLength":5000,"type":"string","description":"The invoice line item to credit. Only valid when the `type` is `invoice_line_item`."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"quantity":{"type":"integer","description":"The line item quantity to credit."},"tax_amounts":{"description":"A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.","anyOf":[{"type":"array","items":{"title":"tax_amount_with_tax_rate_param","required":["amount","tax_rate","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the tax."},"tax_rate":{"maxLength":5000,"type":"string","description":"The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe."},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent)."}},"x-stripeMostCommon":["amount","tax_rate","taxable_amount"]}},{"type":"string","enum":[""]}]},"tax_rates":{"description":"The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"type":{"type":"string","description":"Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.","enum":["custom_line_item","invoice_line_item"]},"unit_amount":{"type":"integer","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`."},"unit_amount_decimal":{"type":"string","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"}},"x-stripeMostCommon":["amount","description","invoice_line_item","metadata","quantity","tax_amounts","tax_rates","type","unit_amount","unit_amount_decimal"]}},"memo":{"maxLength":5000,"type":"string","description":"The credit note's memo appears on the credit note PDF."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"out_of_band_amount":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe."},"reason":{"type":"string","description":"Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`","enum":["duplicate","fraudulent","order_change","product_unsatisfactory"]},"refund_amount":{"type":"integer","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."},"refunds":{"type":"array","description":"Refunds to link to this credit note.","items":{"title":"credit_note_refund_params","type":"object","properties":{"amount_refunded":{"type":"integer","description":"Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount."},"payment_record_refund":{"title":"payment_record_refund_params","required":["payment_record","refund_group"],"type":"object","properties":{"payment_record":{"maxLength":5000,"type":"string","description":"The ID of the PaymentRecord with the refund to link to this credit note."},"refund_group":{"maxLength":5000,"type":"string","description":"The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord."}},"description":"The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`.","x-stripeMostCommon":["payment_record","refund_group"]},"refund":{"type":"string","description":"ID of an existing refund to link this credit note to. Required when `type` is `refund`."},"type":{"type":"string","description":"Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`.","enum":["payment_record_refund","refund"]}},"x-stripeMostCommon":["amount_refunded","payment_record_refund","refund","type"]}},"shipping_cost":{"title":"credit_note_shipping_cost","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the shipping rate to use for this order."}},"description":"When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","x-stripeMostCommon":["shipping_rate"]}},"additionalProperties":false,"x-stripeMostCommon":["invoice","lines","memo","metadata","reason"]},"encoding":{"expand":{"style":"deepObject","explode":true},"lines":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"refunds":{"style":"deepObject","explode":true},"shipping_cost":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/credit_note"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/credit_notes/preview":{"get":{"summary":"Preview a credit note","description":"

Get a preview of a credit note without creating it.

","operationId":"GetCreditNotesPreview","parameters":[{"name":"amount","in":"query","description":"The integer amount in cents (or local equivalent) representing the total amount of the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"credit_amount","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"effective_at","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"integer","format":"unix-time"}},{"name":"email_type","in":"query","description":"Type of email to send to the customer, one of `credit_note` or `none` and the default is `credit_note`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["credit_note","none"]}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"query","description":"ID of the invoice.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"lines","in":"query","description":"Line items that make up the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"title":"credit_note_line_item_params","required":["type"],"type":"object","properties":{"amount":{"type":"integer","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"},"description":{"maxLength":5000,"type":"string","description":"The description of the credit note line item. Only valid when the `type` is `custom_line_item`."},"invoice_line_item":{"maxLength":5000,"type":"string","description":"The invoice line item to credit. Only valid when the `type` is `invoice_line_item`."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"quantity":{"type":"integer","description":"The line item quantity to credit."},"tax_amounts":{"description":"A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.","anyOf":[{"type":"array","items":{"title":"tax_amount_with_tax_rate_param","required":["amount","tax_rate","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the tax."},"tax_rate":{"maxLength":5000,"type":"string","description":"The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe."},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent)."}},"x-stripeMostCommon":["amount","tax_rate","taxable_amount"]}},{"type":"string","enum":[""]}]},"tax_rates":{"description":"The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"type":{"type":"string","description":"Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.","enum":["custom_line_item","invoice_line_item"]},"unit_amount":{"type":"integer","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`."},"unit_amount_decimal":{"type":"string","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"}},"x-stripeMostCommon":["amount","description","invoice_line_item","metadata","quantity","tax_amounts","tax_rates","type","unit_amount","unit_amount_decimal"]}}},{"name":"memo","in":"query","description":"The credit note's memo appears on the credit note PDF.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"metadata","in":"query","description":"Set of [key-value pairs](https://docs.stripe.com/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":false,"style":"deepObject","explode":true,"schema":{"type":"object","additionalProperties":{"type":"string"}}},{"name":"out_of_band_amount","in":"query","description":"The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"reason","in":"query","description":"Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["duplicate","fraudulent","order_change","product_unsatisfactory"]}},{"name":"refund_amount","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"refunds","in":"query","description":"Refunds to link to this credit note.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"title":"credit_note_refund_params","type":"object","properties":{"amount_refunded":{"type":"integer","description":"Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount."},"payment_record_refund":{"title":"payment_record_refund_params","required":["payment_record","refund_group"],"type":"object","properties":{"payment_record":{"maxLength":5000,"type":"string","description":"The ID of the PaymentRecord with the refund to link to this credit note."},"refund_group":{"maxLength":5000,"type":"string","description":"The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord."}},"description":"The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`.","x-stripeMostCommon":["payment_record","refund_group"]},"refund":{"type":"string","description":"ID of an existing refund to link this credit note to. Required when `type` is `refund`."},"type":{"type":"string","description":"Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`.","enum":["payment_record_refund","refund"]}},"x-stripeMostCommon":["amount_refunded","payment_record_refund","refund","type"]}}},{"name":"shipping_cost","in":"query","description":"When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","required":false,"style":"deepObject","explode":true,"schema":{"title":"credit_note_shipping_cost","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the shipping rate to use for this order."}},"x-stripeMostCommon":["shipping_rate"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/credit_note"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/credit_notes/preview/lines":{"get":{"summary":"Retrieve a credit note preview's line items","description":"

When retrieving a credit note preview, you’ll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items.

","operationId":"GetCreditNotesPreviewLines","parameters":[{"name":"amount","in":"query","description":"The integer amount in cents (or local equivalent) representing the total amount of the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"credit_amount","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"effective_at","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"integer","format":"unix-time"}},{"name":"email_type","in":"query","description":"Type of email to send to the customer, one of `credit_note` or `none` and the default is `credit_note`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["credit_note","none"]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"query","description":"ID of the invoice.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"lines","in":"query","description":"Line items that make up the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"title":"credit_note_line_item_params","required":["type"],"type":"object","properties":{"amount":{"type":"integer","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"},"description":{"maxLength":5000,"type":"string","description":"The description of the credit note line item. Only valid when the `type` is `custom_line_item`."},"invoice_line_item":{"maxLength":5000,"type":"string","description":"The invoice line item to credit. Only valid when the `type` is `invoice_line_item`."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"quantity":{"type":"integer","description":"The line item quantity to credit."},"tax_amounts":{"description":"A list of up to 10 tax amounts for the credit note line item. Not valid when `tax_rates` is used or if invoice is set up with `automatic_tax[enabled]=true`.","anyOf":[{"type":"array","items":{"title":"tax_amount_with_tax_rate_param","required":["amount","tax_rate","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the tax."},"tax_rate":{"maxLength":5000,"type":"string","description":"The id of the tax rate for this tax amount. The tax rate must have been automatically created by Stripe."},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent)."}},"x-stripeMostCommon":["amount","tax_rate","taxable_amount"]}},{"type":"string","enum":[""]}]},"tax_rates":{"description":"The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item` and `tax_amounts` is not used.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"type":{"type":"string","description":"Type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. `custom_line_item` is not valid when the invoice is set up with `automatic_tax[enabled]=true`.","enum":["custom_line_item","invoice_line_item"]},"unit_amount":{"type":"integer","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`."},"unit_amount_decimal":{"type":"string","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"}},"x-stripeMostCommon":["amount","description","invoice_line_item","metadata","quantity","tax_amounts","tax_rates","type","unit_amount","unit_amount_decimal"]}}},{"name":"memo","in":"query","description":"The credit note's memo appears on the credit note PDF.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"metadata","in":"query","description":"Set of [key-value pairs](https://docs.stripe.com/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":false,"style":"deepObject","explode":true,"schema":{"type":"object","additionalProperties":{"type":"string"}}},{"name":"out_of_band_amount","in":"query","description":"The integer amount in cents (or local equivalent) representing the amount that is credited outside of Stripe.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"reason","in":"query","description":"Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["duplicate","fraudulent","order_change","product_unsatisfactory"]}},{"name":"refund_amount","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"refunds","in":"query","description":"Refunds to link to this credit note.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"title":"credit_note_refund_params","type":"object","properties":{"amount_refunded":{"type":"integer","description":"Amount of the refund that applies to this credit note, in cents (or local equivalent). Defaults to the entire refund amount."},"payment_record_refund":{"title":"payment_record_refund_params","required":["payment_record","refund_group"],"type":"object","properties":{"payment_record":{"maxLength":5000,"type":"string","description":"The ID of the PaymentRecord with the refund to link to this credit note."},"refund_group":{"maxLength":5000,"type":"string","description":"The PaymentRecord refund group to link to this credit note. For refunds processed off-Stripe, this will correspond to the `processor_details.custom.refund_reference` field provided when reporting the refund on the PaymentRecord."}},"description":"The PaymentRecord refund details to link to this credit note. Required when `type` is `payment_record_refund`.","x-stripeMostCommon":["payment_record","refund_group"]},"refund":{"type":"string","description":"ID of an existing refund to link this credit note to. Required when `type` is `refund`."},"type":{"type":"string","description":"Type of the refund, one of `refund` or `payment_record_refund`. Defaults to `refund`.","enum":["payment_record_refund","refund"]}},"x-stripeMostCommon":["amount_refunded","payment_record_refund","refund","type"]}}},{"name":"shipping_cost","in":"query","description":"When shipping_cost contains the shipping_rate from the invoice, the shipping_cost is included in the credit note. One of `amount`, `lines`, or `shipping_cost` must be provided.","required":false,"style":"deepObject","explode":true,"schema":{"title":"credit_note_shipping_cost","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the shipping rate to use for this order."}},"x-stripeMostCommon":["shipping_rate"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CreditNoteLinesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/credit_note_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/credit_notes/{credit_note}/lines":{"get":{"summary":"Retrieve a credit note's line items","description":"

When retrieving a credit note, you’ll get a lines property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

","operationId":"GetCreditNotesCreditNoteLines","parameters":[{"name":"credit_note","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CreditNoteLinesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/credit_note_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/credit_notes/{id}":{"get":{"summary":"Retrieve a credit note","description":"

Retrieves the credit note object with the given identifier.

","operationId":"GetCreditNotesId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/credit_note"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a credit note","description":"

Updates an existing credit note.

","operationId":"PostCreditNotesId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"memo":{"maxLength":5000,"type":"string","description":"Credit note memo."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."}},"additionalProperties":false,"x-stripeMostCommon":["memo","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/credit_note"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/credit_notes/{id}/void":{"post":{"summary":"Void a credit note","description":"

Marks a credit note as void. Learn more about voiding credit notes.

","operationId":"PostCreditNotesIdVoid","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/credit_note"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customer_sessions":{"post":{"summary":"Create a Customer Session","description":"

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.

","operationId":"PostCustomerSessions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["components"],"type":"object","properties":{"components":{"title":"components","type":"object","properties":{"buy_button":{"title":"buy_button_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the buy button is enabled."}},"description":"Configuration for buy button.","x-stripeMostCommon":["enabled"]},"customer_sheet":{"title":"customer_sheet_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the customer sheet is enabled."},"features":{"title":"features_param","type":"object","properties":{"payment_method_allow_redisplay_filters":{"type":"array","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 customer sheet 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":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_remove":{"type":"string","description":"Controls whether the customer sheet displays the option to remove a saved payment method.\"\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"],"x-stripeBypassValidation":true}},"description":"This hash defines whether the customer sheet supports certain features.","x-stripeMostCommon":["payment_method_allow_redisplay_filters","payment_method_remove","payment_method_remove_last","payment_method_sync_default"]}},"description":"Configuration for the customer sheet.","x-stripeMostCommon":["enabled","features"]},"mobile_payment_element":{"title":"mobile_payment_element_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the mobile payment element is enabled."},"features":{"title":"features_param","type":"object","properties":{"payment_method_allow_redisplay_filters":{"type":"array","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 mobile 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":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_redisplay":{"type":"string","description":"Controls whether or not the mobile payment element shows saved payment methods.","enum":["disabled","enabled"],"x-stripeBypassValidation":true},"payment_method_remove":{"type":"string","description":"Controls whether the mobile payment element displays the option to remove a saved payment method.\"\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"],"x-stripeBypassValidation":true},"payment_method_save":{"type":"string","description":"Controls whether the mobile payment element displays a checkbox offering to save a new payment method.\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"],"x-stripeBypassValidation":true},"payment_method_save_allow_redisplay_override":{"type":"string","description":"Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: \"always\", \"limited\", or \"unspecified\".\n\nIf not specified, defaults to `nil` (no override value).","enum":["always","limited","unspecified"]}},"description":"This hash defines whether the mobile payment element supports certain features.","x-stripeMostCommon":["payment_method_allow_redisplay_filters","payment_method_redisplay","payment_method_remove","payment_method_remove_last","payment_method_save","payment_method_save_allow_redisplay_override","payment_method_set_as_default"]}},"description":"Configuration for the mobile payment element.","x-stripeMostCommon":["enabled","features"]},"payment_element":{"title":"payment_element_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the Payment Element is enabled."},"features":{"title":"features_param","type":"object","properties":{"payment_method_allow_redisplay_filters":{"type":"array","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":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_redisplay":{"type":"string","description":"Controls whether or not the Payment Element shows saved payment methods. This parameter defaults to `disabled`.","enum":["disabled","enabled"],"x-stripeBypassValidation":true},"payment_method_redisplay_limit":{"type":"integer","description":"Determines the max number of saved payment methods for the Payment Element to display. This parameter defaults to `3`. The maximum redisplay limit is `10`."},"payment_method_remove":{"type":"string","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"],"x-stripeBypassValidation":true},"payment_method_save":{"type":"string","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"],"x-stripeBypassValidation":true},"payment_method_save_usage":{"type":"string","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"]}},"description":"This hash defines whether the Payment Element supports certain features.","x-stripeMostCommon":["payment_method_allow_redisplay_filters","payment_method_redisplay","payment_method_redisplay_limit","payment_method_remove","payment_method_remove_last","payment_method_save","payment_method_save_usage","payment_method_set_as_default","payment_method_update"]}},"description":"Configuration for the Payment Element.","x-stripeMostCommon":["enabled","features"]},"pricing_table":{"title":"pricing_table_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the pricing table is enabled."}},"description":"Configuration for the pricing table.","x-stripeMostCommon":["enabled"]}},"description":"Configuration for each component. At least 1 component must be enabled.","x-stripeMostCommon":["active_entitlements","buy_button","customer_portal","customer_sheet","mobile_payment_element","payment_element","pricing_table","tax_id_element"]},"customer":{"maxLength":5000,"type":"string","description":"The ID of an existing customer for which to create the Customer Session."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of an existing Account for which to create the Customer Session."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["components","customer"]},"encoding":{"components":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer_session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers":{"get":{"summary":"List all customers","description":"

Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first.

","operationId":"GetCustomers","parameters":[{"name":"created","in":"query","description":"Only return customers that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"email","in":"query","description":"A case-sensitive filter on the list based on the customer's `email` field. The value must be a string.","required":false,"style":"form","explode":true,"schema":{"maxLength":512,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"test_clock","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CustomerResourceCustomerList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/customer"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/customers","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a customer","description":"

Creates a new customer object.

","operationId":"PostCustomers","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"address":{"description":"The customer's address. Learn about [country-specific requirements for calculating tax](https://docs.stripe.com/invoicing/taxes?dashboard-or-api=dashboard#set-up-customer).","anyOf":[{"title":"optional_fields_customer_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","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))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"balance":{"type":"integer","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."},"business_name":{"description":"The customer's business name. This may be up to *150 characters*.","anyOf":[{"maxLength":150,"type":"string"},{"type":"string","enum":[""]}]},"cash_balance":{"title":"cash_balance_param","type":"object","properties":{"settings":{"title":"balance_settings_param","type":"object","properties":{"reconciliation_mode":{"type":"string","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://docs.stripe.com/payments/customer-balance/reconciliation).","enum":["automatic","manual","merchant_default"]}},"description":"Settings controlling the behavior of the customer's cash balance,\nsuch as reconciliation of funds received.","x-stripeMostCommon":["reconciliation_mode"]}},"description":"Balance information and default balance settings for this customer.","x-stripeMostCommon":["settings"]},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard."},"email":{"maxLength":512,"type":"string","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*."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"individual_name":{"description":"The customer's full name. This may be up to *150 characters*.","anyOf":[{"maxLength":150,"type":"string"},{"type":"string","enum":[""]}]},"invoice_prefix":{"maxLength":5000,"type":"string","description":"The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers."},"invoice_settings":{"title":"customer_param","type":"object","properties":{"custom_fields":{"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.","anyOf":[{"type":"array","items":{"title":"custom_field_params","required":["name","value"],"type":"object","properties":{"name":{"maxLength":40,"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"maxLength":140,"type":"string","description":"The value of the custom field. This may be up to 140 characters."}},"x-stripeMostCommon":["name","value"]}},{"type":"string","enum":[""]}]},"default_payment_method":{"maxLength":5000,"type":"string","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."},"footer":{"maxLength":5000,"type":"string","description":"Default footer to be displayed on invoices for this customer."},"rendering_options":{"description":"Default options for invoice PDF rendering for this customer.","anyOf":[{"title":"customer_rendering_options_param","type":"object","properties":{"amount_tax_display":{"type":"string","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"]},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to use for future invoices."}},"x-stripeMostCommon":["amount_tax_display","invoice_title","template"]},{"type":"string","enum":[""]}]}},"description":"Default invoice settings for this customer.","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":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":256,"type":"string","description":"The customer's full name or business name."},"next_invoice_sequence":{"type":"integer","description":"The sequence to be used on the customer's next invoice. Defaults to 1."},"payment_method":{"maxLength":5000,"type":"string"},"phone":{"maxLength":20,"type":"string","description":"The customer's phone number."},"preferred_locales":{"type":"array","description":"Customer's preferred languages, ordered by preference.","items":{"maxLength":5000,"type":"string"}},"shipping":{"description":"The customer's shipping information. Appears on invoices emailed to this customer.","anyOf":[{"title":"customer_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_customer_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","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))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Customer shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"Customer name."},"phone":{"maxLength":5000,"type":"string","description":"Customer phone (including extension)."}},"x-stripeMostCommon":["address","name","phone"]},{"type":"string","enum":[""]}]},"source":{"maxLength":5000,"type":"string","x-stripeBypassValidation":true},"tax":{"title":"shared_tax_create_param","type":"object","properties":{"ip_address":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"validate_location":{"type":"string","description":"A flag that indicates when Stripe should validate the customer tax location. Defaults to `deferred`.","enum":["deferred","immediately"]}},"description":"Tax details about the customer.","x-stripeMostCommon":["ip_address","validate_location"]},"tax_exempt":{"type":"string","description":"The customer's tax exemption. One of `none`, `exempt`, or `reverse`.","enum":["","exempt","none","reverse"]},"tax_id_data":{"type":"array","description":"The customer's tax IDs.","items":{"title":"data_params","required":["type","value"],"type":"object","properties":{"type":{"maxLength":5000,"type":"string","description":"Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"],"x-stripeBypassValidation":true},"value":{"type":"string","description":"Value of the tax ID."}},"x-stripeMostCommon":["type","value"]}},"test_clock":{"maxLength":5000,"type":"string","description":"ID of the test clock to attach to the customer."},"validate":{"type":"boolean"}},"additionalProperties":false,"x-stripeMostCommon":["address","description","email","metadata","name","payment_method","phone","shipping","tax"]},"encoding":{"address":{"style":"deepObject","explode":true},"business_name":{"style":"deepObject","explode":true},"cash_balance":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"individual_name":{"style":"deepObject","explode":true},"invoice_settings":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"preferred_locales":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true},"tax":{"style":"deepObject","explode":true},"tax_id_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/search":{"get":{"summary":"Search customers","description":"

Search for customers you’ve previously created using Stripe’s Search Query Language.\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.

","operationId":"GetCustomersSearch","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"page","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"query","in":"query","description":"The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for customers](https://docs.stripe.com/search#query-fields-for-customers).","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SearchResult","required":["data","has_more","next_page","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/customer"}},"has_more":{"type":"boolean"},"next_page":{"maxLength":5000,"type":"string","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["search_result"]},"total_count":{"type":"integer","description":"The total number of objects that match the query, only accurate up to 10,000."},"url":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","next_page","object","total_count","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}":{"get":{"summary":"Retrieve a customer","description":"

Retrieves a Customer object.

","operationId":"GetCustomersCustomer","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a customer","description":"

Updates the specified customer by setting the values of the parameters passed. Any parameters not provided are left unchanged. For example, if you pass the source parameter, that becomes the customer’s active source (such as 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 source parameter: for each of the customer’s current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled is retried. This retry doesn’t count as an automatic retry, and doesn’t affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer doesn’t trigger this behavior.

\n\n

This request accepts mostly the same arguments as the customer creation call.

","operationId":"PostCustomersCustomer","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"address":{"description":"The customer's address. Learn about [country-specific requirements for calculating tax](https://docs.stripe.com/invoicing/taxes?dashboard-or-api=dashboard#set-up-customer).","anyOf":[{"title":"optional_fields_customer_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","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))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"balance":{"type":"integer","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."},"business_name":{"description":"The customer's business name. This may be up to *150 characters*.","anyOf":[{"maxLength":150,"type":"string"},{"type":"string","enum":[""]}]},"cash_balance":{"title":"cash_balance_param","type":"object","properties":{"settings":{"title":"balance_settings_param","type":"object","properties":{"reconciliation_mode":{"type":"string","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://docs.stripe.com/payments/customer-balance/reconciliation).","enum":["automatic","manual","merchant_default"]}},"description":"Settings controlling the behavior of the customer's cash balance,\nsuch as reconciliation of funds received.","x-stripeMostCommon":["reconciliation_mode"]}},"description":"Balance information and default balance settings for this customer.","x-stripeMostCommon":["settings"]},"default_source":{"maxLength":500,"type":"string","description":"If you are using payment methods created via the PaymentMethods API, see the [invoice_settings.default_payment_method](https://docs.stripe.com/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://docs.stripe.com/api/customers/update#update_customer-source) property."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard."},"email":{"maxLength":512,"type":"string","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*."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"individual_name":{"description":"The customer's full name. This may be up to *150 characters*.","anyOf":[{"maxLength":150,"type":"string"},{"type":"string","enum":[""]}]},"invoice_prefix":{"maxLength":5000,"type":"string","description":"The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers."},"invoice_settings":{"title":"customer_param","type":"object","properties":{"custom_fields":{"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.","anyOf":[{"type":"array","items":{"title":"custom_field_params","required":["name","value"],"type":"object","properties":{"name":{"maxLength":40,"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"maxLength":140,"type":"string","description":"The value of the custom field. This may be up to 140 characters."}},"x-stripeMostCommon":["name","value"]}},{"type":"string","enum":[""]}]},"default_payment_method":{"maxLength":5000,"type":"string","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."},"footer":{"maxLength":5000,"type":"string","description":"Default footer to be displayed on invoices for this customer."},"rendering_options":{"description":"Default options for invoice PDF rendering for this customer.","anyOf":[{"title":"customer_rendering_options_param","type":"object","properties":{"amount_tax_display":{"type":"string","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"]},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to use for future invoices."}},"x-stripeMostCommon":["amount_tax_display","invoice_title","template"]},{"type":"string","enum":[""]}]}},"description":"Default invoice settings for this customer.","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":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":256,"type":"string","description":"The customer's full name or business name."},"next_invoice_sequence":{"type":"integer","description":"The sequence to be used on the customer's next invoice. Defaults to 1."},"phone":{"maxLength":20,"type":"string","description":"The customer's phone number."},"preferred_locales":{"type":"array","description":"Customer's preferred languages, ordered by preference.","items":{"maxLength":5000,"type":"string"}},"shipping":{"description":"The customer's shipping information. Appears on invoices emailed to this customer.","anyOf":[{"title":"customer_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_customer_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","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))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Customer shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"Customer name."},"phone":{"maxLength":5000,"type":"string","description":"Customer phone (including extension)."}},"x-stripeMostCommon":["address","name","phone"]},{"type":"string","enum":[""]}]},"source":{"maxLength":5000,"type":"string","x-stripeBypassValidation":true},"tax":{"title":"shared_tax_update_param","type":"object","properties":{"ip_address":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"validate_location":{"type":"string","description":"A flag that indicates when Stripe should validate the customer tax location. Defaults to `auto`.","enum":["auto","deferred","immediately"]}},"description":"Tax details about the customer.","x-stripeMostCommon":["ip_address","validate_location"]},"tax_exempt":{"type":"string","description":"The customer's tax exemption. One of `none`, `exempt`, or `reverse`.","enum":["","exempt","none","reverse"]},"validate":{"type":"boolean"}},"additionalProperties":false,"x-stripeMostCommon":["address","description","email","metadata","name","phone","shipping","tax"]},"encoding":{"address":{"style":"deepObject","explode":true},"business_name":{"style":"deepObject","explode":true},"cash_balance":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"individual_name":{"style":"deepObject","explode":true},"invoice_settings":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"preferred_locales":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true},"tax":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a customer","description":"

Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer.

","operationId":"DeleteCustomersCustomer","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_customer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/balance_transactions":{"get":{"summary":"List customer balance transactions","description":"

Returns a list of transactions that updated the customer’s balances.

","operationId":"GetCustomersCustomerBalanceTransactions","parameters":[{"name":"created","in":"query","description":"Only return customer balance transactions that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"query","description":"Only return transactions that are related to the specified invoice.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CustomerBalanceTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/customer_balance_transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a customer balance transaction","description":"

Creates an immutable transaction that updates the customer’s credit balance.

","operationId":"PostCustomersCustomerBalanceTransactions","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"The integer amount in **cents (or local equivalent)** to apply to the customer's credit balance."},"currency":{"type":"string","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://docs.stripe.com/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.","format":"currency"},"description":{"maxLength":350,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer_balance_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/balance_transactions/{transaction}":{"get":{"summary":"Retrieve a customer balance transaction","description":"

Retrieves a specific customer balance transaction that updated the customer’s balances.

","operationId":"GetCustomersCustomerBalanceTransactionsTransaction","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer_balance_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a customer credit balance transaction","description":"

Most credit balance transaction fields are immutable, but you may update its description and metadata.

","operationId":"PostCustomersCustomerBalanceTransactionsTransaction","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"description":{"maxLength":350,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["description","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer_balance_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/cash_balance":{"get":{"summary":"Retrieve a cash balance","description":"

Retrieves a customer’s cash balance.

","operationId":"GetCustomersCustomerCashBalance","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/cash_balance"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a cash balance's settings","description":"

Changes the settings on a customer’s cash balance.

","operationId":"PostCustomersCustomerCashBalance","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"settings":{"title":"balance_settings_param","type":"object","properties":{"reconciliation_mode":{"type":"string","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://docs.stripe.com/payments/customer-balance/reconciliation).","enum":["automatic","manual","merchant_default"]}},"description":"A hash of settings for this cash balance.","x-stripeMostCommon":["reconciliation_mode"]}},"additionalProperties":false,"x-stripeMostCommon":["settings"]},"encoding":{"expand":{"style":"deepObject","explode":true},"settings":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/cash_balance"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/cash_balance_transactions":{"get":{"summary":"List cash balance transactions","description":"

Returns a list of transactions that modified the customer’s cash balance.

","operationId":"GetCustomersCustomerCashBalanceTransactions","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CustomerCashBalanceTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/customer_cash_balance_transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"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.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/cash_balance_transactions/{transaction}":{"get":{"summary":"Retrieve a cash balance transaction","description":"

Retrieves a specific cash balance transaction, which updated the customer’s cash balance.

","operationId":"GetCustomersCustomerCashBalanceTransactionsTransaction","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer_cash_balance_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/discount":{"delete":{"summary":"Delete a customer discount","description":"

Removes the currently applied discount on a customer.

","operationId":"DeleteCustomersCustomerDiscount","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_discount"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/funding_instructions":{"post":{"summary":"Create or retrieve funding instructions for a customer cash balance","description":"

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.

","operationId":"PostCustomersCustomerFundingInstructions","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["bank_transfer","currency","funding_type"],"type":"object","properties":{"bank_transfer":{"title":"bank_transfer_params","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_account_params","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"requested_address_types":{"type":"array","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":{"type":"string","enum":["iban","sort_code","spei","zengin"],"x-stripeBypassValidation":true}},"type":{"type":"string","description":"The type of the `bank_transfer`","enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeBypassValidation":true}},"description":"Additional parameters for `bank_transfer` funding types","x-stripeMostCommon":["eu_bank_transfer","requested_address_types","type"]},"currency":{"type":"string","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).","format":"currency"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"funding_type":{"type":"string","description":"The `funding_type` to get the instructions for.","enum":["bank_transfer"]}},"additionalProperties":false,"x-stripeMostCommon":["bank_transfer","currency","funding_type"]},"encoding":{"bank_transfer":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/funding_instructions"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/payment_methods":{"get":{"summary":"List a Customer's PaymentMethods","description":"

Returns a list of PaymentMethods for a given Customer

","operationId":"GetCustomersCustomerPaymentMethods","parameters":[{"name":"allow_redisplay","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["always","limited","unspecified"]}},{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"CustomerPaymentMethodResourceList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_method"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/payment_methods/{payment_method}":{"get":{"summary":"Retrieve a Customer's PaymentMethod","description":"

Retrieves a PaymentMethod object for a given Customer.

","operationId":"GetCustomersCustomerPaymentMethodsPaymentMethod","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"payment_method","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/sources":{"get":{"description":"

List sources for a specified customer.

","operationId":"GetCustomersCustomerSources","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"object","in":"query","description":"Filter sources according to a particular object type.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ApmsSourcesSourceList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/payment_source"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a card","description":"

When you create a new credit card, you must specify a customer or recipient on which to create it.

\n\n

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 update the customer to have a new default_source.

","operationId":"PostCustomersCustomerSources","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["source"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"Please refer to full [documentation](https://api.stripe.com) instead.","x-stripeBypassValidation":true},"validate":{"type":"boolean"}},"additionalProperties":false,"x-stripeMostCommon":["metadata","source"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_source"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/sources/{id}":{"get":{"description":"

Retrieve a specified source for a given customer.

","operationId":"GetCustomersCustomerSourcesId","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":500,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_source"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"description":"

Update a specified source for a given customer.

","operationId":"PostCustomersCustomerSourcesId","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name of the person or business that owns the bank account."},"account_holder_type":{"maxLength":5000,"type":"string","description":"The type of entity that holds the account. This can be either `individual` or `company`.","enum":["company","individual"]},"address_city":{"maxLength":5000,"type":"string","description":"City/District/Suburb/Town/Village."},"address_country":{"maxLength":5000,"type":"string","description":"Billing address country, if provided when creating card."},"address_line1":{"maxLength":5000,"type":"string","description":"Address line 1 (Street address/PO Box/Company name)."},"address_line2":{"maxLength":5000,"type":"string","description":"Address line 2 (Apartment/Suite/Unit/Building)."},"address_state":{"maxLength":5000,"type":"string","description":"State/County/Province/Region."},"address_zip":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"exp_month":{"maxLength":5000,"type":"string","description":"Two digit number representing the card’s expiration month."},"exp_year":{"maxLength":5000,"type":"string","description":"Four digit number representing the card’s expiration year."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":5000,"type":"string","description":"Cardholder name."},"owner":{"title":"owner","type":"object","properties":{"address":{"title":"source_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Owner's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"Owner's email address."},"name":{"maxLength":5000,"type":"string","description":"Owner's full name."},"phone":{"maxLength":5000,"type":"string","description":"Owner's phone number."}},"x-stripeMostCommon":["address","email","name","phone"]}},"additionalProperties":false,"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"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"owner":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/source"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a customer source","description":"

Delete a specified source for a given customer.

","operationId":"DeleteCustomersCustomerSourcesId","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/payment_source"},{"$ref":"#/components/schemas/deleted_payment_source"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/sources/{id}/verify":{"post":{"summary":"Verify a bank account","description":"

Verify a specified bank account for a given customer.

","operationId":"PostCustomersCustomerSourcesIdVerify","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amounts":{"type":"array","description":"Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.","items":{"type":"integer"}},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["amounts"]},"encoding":{"amounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bank_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/tax_ids":{"get":{"summary":"List all Customer tax IDs","description":"

Returns a list of tax IDs for a customer.

","operationId":"GetCustomersCustomerTaxIds","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TaxIDsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax_id"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a Customer tax ID","description":"

Creates a new tax_id object for a customer.

","operationId":"PostCustomersCustomerTaxIds","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["type","value"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"type":{"maxLength":5000,"type":"string","description":"Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"],"x-stripeBypassValidation":true},"value":{"type":"string","description":"Value of the tax ID."}},"additionalProperties":false,"x-stripeMostCommon":["type","value"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_id"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/customers/{customer}/tax_ids/{id}":{"get":{"summary":"Retrieve a Customer tax ID","description":"

Retrieves the tax_id object with the given identifier.

","operationId":"GetCustomersCustomerTaxIdsId","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_id"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a Customer tax ID","description":"

Deletes an existing tax_id object.

","operationId":"DeleteCustomersCustomerTaxIdsId","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_tax_id"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/disputes":{"get":{"summary":"List all disputes","description":"

Returns a list of your disputes.

","operationId":"GetDisputes","parameters":[{"name":"charge","in":"query","description":"Only return disputes associated to the charge specified by this charge ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return disputes that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_intent","in":"query","description":"Only return disputes associated to the PaymentIntent specified by this PaymentIntent ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"DisputeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/dispute"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/disputes","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/disputes/{dispute}":{"get":{"summary":"Retrieve a dispute","description":"

Retrieves the dispute with the given ID.

","operationId":"GetDisputesDispute","parameters":[{"name":"dispute","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a dispute","description":"

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 dashboard, but if you prefer, you can use the API to submit evidence programmatically.

\n\n

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 guide to dispute types.

","operationId":"PostDisputesDispute","parameters":[{"name":"dispute","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"evidence":{"title":"dispute_evidence_params","type":"object","properties":{"access_activity_log":{"maxLength":20000,"type":"string","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."},"billing_address":{"maxLength":5000,"type":"string","description":"The billing address provided by the customer."},"cancellation_policy":{"type":"string","description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer."},"cancellation_policy_disclosure":{"maxLength":20000,"type":"string","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."},"cancellation_rebuttal":{"maxLength":20000,"type":"string","description":"A justification for why the customer's subscription was not canceled. Has a maximum character count of 20,000."},"customer_communication":{"type":"string","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."},"customer_email_address":{"maxLength":5000,"type":"string","description":"The email address of the customer."},"customer_name":{"maxLength":5000,"type":"string","description":"The name of the customer."},"customer_purchase_ip":{"maxLength":5000,"type":"string","description":"The IP address that the customer used when making the purchase."},"customer_signature":{"type":"string","description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature."},"duplicate_charge_documentation":{"type":"string","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."},"duplicate_charge_explanation":{"maxLength":20000,"type":"string","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."},"duplicate_charge_id":{"maxLength":5000,"type":"string","description":"The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge."},"enhanced_evidence":{"description":"Additional evidence for qualifying evidence programs.","anyOf":[{"title":"enhanced_evidence","type":"object","properties":{"visa_compelling_evidence_3":{"title":"visa_compelling_evidence3","type":"object","properties":{"disputed_transaction":{"title":"visa_compelling_evidence3_disputed_transaction","type":"object","properties":{"customer_account_id":{"description":"User Account ID used to log into business platform. Must be recognizable by the user.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"customer_email_address":{"description":"The email address of the customer.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"customer_purchase_ip":{"description":"The IP address that the customer used when making the purchase.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"merchandise_or_services":{"type":"string","description":"Categorization of disputed payment.","enum":["merchandise","services"]},"product_description":{"description":"A description of the product or service that was sold.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"shipping_address":{"title":"shipping_address","type":"object","properties":{"city":{"description":"City, district, suburb, town, or village.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"country":{"description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"line1":{"description":"Address line 1, such as the street, PO Box, or company name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"line2":{"description":"Address line 2, such as the apartment, suite, unit, or building.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"postal_code":{"description":"ZIP or postal code.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"state":{"description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]}},"description":"Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.","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":{"type":"array","description":"List of exactly two prior undisputed transaction objects for Visa Compelling Evidence 3.0 evidence submission.","items":{"title":"visa_compelling_evidence3_prior_undisputed_transaction","required":["charge"],"type":"object","properties":{"charge":{"maxLength":5000,"type":"string","description":"Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge."},"customer_account_id":{"description":"User Account ID used to log into business platform. Must be recognizable by the user.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"customer_email_address":{"description":"The email address of the customer.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"customer_purchase_ip":{"description":"The IP address that the customer used when making the purchase.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"product_description":{"description":"A description of the product or service that was sold.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"shipping_address":{"title":"shipping_address","type":"object","properties":{"city":{"description":"City, district, suburb, town, or village.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"country":{"description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"line1":{"description":"Address line 1, such as the street, PO Box, or company name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"line2":{"description":"Address line 2, such as the apartment, suite, unit, or building.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"postal_code":{"description":"ZIP or postal code.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"state":{"description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"The address to which a physical product was shipped. All fields are required for Visa Compelling Evidence 3.0 evidence submission.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]}},"x-stripeMostCommon":["charge","customer_account_id","customer_device_fingerprint","customer_device_id","customer_email_address","customer_purchase_ip","product_description","shipping_address"]}}},"description":"Evidence provided for Visa Compelling Evidence 3.0 evidence submission.","x-stripeMostCommon":["disputed_transaction","prior_undisputed_transactions"]},"visa_compliance":{"title":"visa_compliance","type":"object","properties":{"fee_acknowledged":{"type":"boolean","description":"A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute."}},"description":"Evidence provided for Visa compliance evidence submission.","x-stripeMostCommon":["fee_acknowledged"]}},"x-stripeMostCommon":["visa_compelling_evidence_3","visa_compliance"]},{"type":"string","enum":[""]}]},"product_description":{"maxLength":20000,"type":"string","description":"A description of the product or service that was sold. Has a maximum character count of 20,000."},"receipt":{"type":"string","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."},"refund_policy":{"type":"string","description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer."},"refund_policy_disclosure":{"maxLength":20000,"type":"string","description":"Documentation demonstrating that the customer was shown your refund policy prior to purchase. Has a maximum character count of 20,000."},"refund_refusal_explanation":{"maxLength":20000,"type":"string","description":"A justification for why the customer is not entitled to a refund. Has a maximum character count of 20,000."},"service_date":{"maxLength":5000,"type":"string","description":"The date on which the customer received or began receiving the purchased service, in a clear human-readable format."},"service_documentation":{"type":"string","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."},"shipping_address":{"maxLength":5000,"type":"string","description":"The address to which a physical product was shipped. You should try to include as complete address information as possible."},"shipping_carrier":{"maxLength":5000,"type":"string","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."},"shipping_date":{"maxLength":5000,"type":"string","description":"The date on which a physical product began its route to the shipping address, in a clear human-readable format."},"shipping_documentation":{"type":"string","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."},"shipping_tracking_number":{"maxLength":5000,"type":"string","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."},"uncategorized_file":{"type":"string","description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements."},"uncategorized_text":{"maxLength":20000,"type":"string","description":"Any additional evidence or statements. Has a maximum character count of 20,000."}},"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.","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_data","uncategorized_file","uncategorized_text"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"submit":{"type":"boolean","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)."}},"additionalProperties":false,"x-stripeMostCommon":["evidence","metadata","submit"]},"encoding":{"evidence":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/disputes/{dispute}/close":{"post":{"summary":"Close a dispute","description":"

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.

\n\n

The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible.

","operationId":"PostDisputesDisputeClose","parameters":[{"name":"dispute","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/entitlements/active_entitlements":{"get":{"summary":"List all active entitlements","description":"

Retrieve a list of active entitlements for a customer

","operationId":"GetEntitlementsActiveEntitlements","parameters":[{"name":"customer","in":"query","description":"The ID of the customer.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"EntitlementsResourceCustomerEntitlementList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/entitlements.active_entitlement"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/entitlements/active_entitlements/{id}":{"get":{"summary":"Retrieve an active entitlement","description":"

Retrieve an active entitlement

","operationId":"GetEntitlementsActiveEntitlementsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"The ID of the entitlement.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/entitlements.active_entitlement"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/entitlements/features":{"get":{"summary":"List all features","description":"

Retrieve a list of features

","operationId":"GetEntitlementsFeatures","parameters":[{"name":"archived","in":"query","description":"If set, filter results to only include features with the given archive status.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"lookup_key","in":"query","description":"If set, filter results to only include features with the given lookup_key.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"EntitlementsResourceFeatureList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/entitlements.feature"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/entitlements/features","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a feature","description":"

Creates a feature

","operationId":"PostEntitlementsFeatures","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["lookup_key","name"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"lookup_key":{"maxLength":80,"type":"string","description":"A unique key you provide as your own system identifier. This may be up to 80 characters."},"metadata":{"type":"object","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."},"name":{"maxLength":80,"type":"string","description":"The feature's name, for your own purpose, not meant to be displayable to the customer."}},"additionalProperties":false,"x-stripeMostCommon":["lookup_key","metadata","name"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/entitlements.feature"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/entitlements/features/{id}":{"get":{"summary":"Retrieve a feature","description":"

Retrieves a feature

","operationId":"GetEntitlementsFeaturesId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"The ID of the feature.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/entitlements.feature"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Updates a feature","description":"

Update a feature’s metadata or permanently deactivate it.

","operationId":"PostEntitlementsFeaturesId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","description":"Inactive features cannot be attached to new products and will not be returned from the features list endpoint."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"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.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":80,"type":"string","description":"The feature's name, for your own purpose, not meant to be displayable to the customer."}},"additionalProperties":false,"x-stripeMostCommon":["metadata","name"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/entitlements.feature"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/ephemeral_keys":{"post":{"summary":"Create an ephemeral key","description":"

Creates a short-lived API key for a given resource.

","operationId":"PostEphemeralKeys","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The ID of the Customer you'd like to modify using the resulting ephemeral key."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"issuing_card":{"maxLength":5000,"type":"string","description":"The ID of the Issuing Card you'd like to access using the resulting ephemeral key."},"nonce":{"maxLength":5000,"type":"string","description":"A single-use token, created by Stripe.js, used for creating ephemeral keys for Issuing Cards without exchanging sensitive information."},"verification_session":{"maxLength":5000,"type":"string","description":"The ID of the Identity VerificationSession you'd like to access using the resulting ephemeral key"}},"additionalProperties":false,"x-stripeMostCommon":["customer","issuing_card","nonce","verification_session"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ephemeral_key"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/ephemeral_keys/{key}":{"delete":{"summary":"Immediately invalidate an ephemeral key","description":"

Invalidates a short-lived API key for a given resource.

","operationId":"DeleteEphemeralKeysKey","parameters":[{"name":"key","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ephemeral_key"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/events":{"get":{"summary":"List all events","description":"

List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in event object api_version attribute (not according to your current Stripe API version or Stripe-Version header).

","operationId":"GetEvents","parameters":[{"name":"created","in":"query","description":"Only return events that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"delivery_success","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"types","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"NotificationEventList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/event"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/events","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/events/{id}":{"get":{"summary":"Retrieve an event","description":"

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.

","operationId":"GetEventsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/event"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/exchange_rates":{"get":{"summary":"List all exchange rates","description":"

[Deprecated] The ExchangeRate APIs are deprecated. Please use the FX Quotes API instead.

\n\n

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.

","operationId":"GetExchangeRates","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ExchangeRateList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/exchange_rate"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/exchange_rates","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/exchange_rates/{rate_id}":{"get":{"summary":"Retrieve an exchange rate","description":"

[Deprecated] The ExchangeRate APIs are deprecated. Please use the FX Quotes API instead.

\n\n

Retrieves the exchange rates from the given currency to every supported currency.

","operationId":"GetExchangeRatesRateId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"rate_id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/exchange_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/file_links":{"get":{"summary":"List all file links","description":"

Returns a list of file links.

","operationId":"GetFileLinks","parameters":[{"name":"created","in":"query","description":"Only return links that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"expired","in":"query","description":"Filter links by their expiration status. By default, Stripe returns all links.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"file","in":"query","description":"Only return links for the given file.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"FileResourceFileLinkList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/file_link"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/file_links","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a file link","description":"

Creates a new file link object.

","operationId":"PostFileLinks","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["file"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","description":"The link isn't usable after this future timestamp.","format":"unix-time"},"file":{"maxLength":5000,"type":"string","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`, `terminal_android_apk`, or `terminal_reader_splashscreen`."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["expires_at","file","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/file_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/file_links/{link}":{"get":{"summary":"Retrieve a file link","description":"

Retrieves the file link with the given ID.

","operationId":"GetFileLinksLink","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"link","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/file_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a file link","description":"

Updates an existing file link object. Expired links can no longer be updated.

","operationId":"PostFileLinksLink","parameters":[{"name":"link","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"description":"A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately.","anyOf":[{"maxLength":5000,"type":"string","enum":["now"]},{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["expires_at","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"expires_at":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/file_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/files":{"get":{"summary":"List all files","description":"

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.

","operationId":"GetFiles","parameters":[{"name":"created","in":"query","description":"Only return files that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"purpose","in":"query","description":"Filter queries by the file purpose. If you don't provide a purpose, the queries return unfiltered files.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string","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","platform_terms_of_service","selfie","sigma_scheduled_query","tax_document_user_upload","terminal_android_apk","terminal_reader_splashscreen","terminal_wifi_certificate","terminal_wifi_private_key"],"x-stripeBypassValidation":true}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"FileResourceFileList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/file"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/files","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a file","description":"

To upload a file to Stripe, you need to send a request of type multipart/form-data. Include the file you want to upload in the request, and the parameters for creating a file.

\n\n

All of Stripe’s officially supported Client libraries support sending multipart/form-data.

","operationId":"PostFiles","requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file","purpose"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"file":{"type":"string","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"},"file_link_data":{"title":"file_link_creation_params","required":["create"],"type":"object","properties":{"create":{"type":"boolean","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`, `terminal_android_apk`, or `terminal_reader_splashscreen`."},"expires_at":{"type":"integer","description":"The link isn't available after this future timestamp.","format":"unix-time"},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"description":"Optional parameters that automatically create a [file link](https://api.stripe.com#file_links) for the newly created file.","x-stripeMostCommon":["create","expires_at","metadata"]},"purpose":{"type":"string","description":"The [purpose](https://docs.stripe.com/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","platform_terms_of_service","tax_document_user_upload","terminal_android_apk","terminal_reader_splashscreen","terminal_wifi_certificate","terminal_wifi_private_key"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["file","purpose"]},"encoding":{"expand":{"style":"deepObject","explode":true},"file_link_data":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/file"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"servers":[{"url":"https://files.stripe.com/"}]}},"/v1/files/{file}":{"get":{"summary":"Retrieve a file","description":"

Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to access file contents.

","operationId":"GetFilesFile","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"file","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/file"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/accounts":{"get":{"summary":"List Accounts","description":"

Returns a list of Financial Connections Account objects.

","operationId":"GetFinancialConnectionsAccounts","parameters":[{"name":"account_holder","in":"query","description":"If present, only return accounts that belong to the specified account holder. `account_holder[customer]` and `account_holder[account]` are mutually exclusive.","required":false,"style":"deepObject","explode":true,"schema":{"title":"accountholder_params","type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The ID of the Stripe account whose accounts you will retrieve."},"customer":{"maxLength":5000,"type":"string","description":"The ID of the Stripe customer whose accounts you will retrieve."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing a customer whose accounts you will retrieve."}},"x-stripeMostCommon":["account","customer","customer_account"]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"session","in":"query","description":"If present, only return accounts that were collected as part of the given session.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BankConnectionsResourceLinkedAccountList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/financial_connections.account"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/financial_connections/accounts","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/accounts/{account}":{"get":{"summary":"Retrieve an Account","description":"

Retrieves the details of an Financial Connections Account.

","operationId":"GetFinancialConnectionsAccountsAccount","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/accounts/{account}/disconnect":{"post":{"summary":"Disconnect an Account","description":"

Disables your access to a Financial Connections Account. You will no longer be able to access data associated with the account (e.g. balances, transactions).

","operationId":"PostFinancialConnectionsAccountsAccountDisconnect","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/accounts/{account}/owners":{"get":{"summary":"List Account Owners","description":"

Lists all owners for a given Account

","operationId":"GetFinancialConnectionsAccountsAccountOwners","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"ownership","in":"query","description":"The ID of the ownership object to fetch owners from.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BankConnectionsResourceOwnerList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/financial_connections.account_owner"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/accounts/{account}/refresh":{"post":{"summary":"Refresh Account data","description":"

Refreshes the data associated with a Financial Connections Account.

","operationId":"PostFinancialConnectionsAccountsAccountRefresh","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["features"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"features":{"type":"array","description":"The list of account features that you would like to refresh.","items":{"type":"string","enum":["balance","ownership","transactions"],"x-stripeBypassValidation":true}}},"additionalProperties":false,"x-stripeMostCommon":["features"]},"encoding":{"expand":{"style":"deepObject","explode":true},"features":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/accounts/{account}/subscribe":{"post":{"summary":"Subscribe to data refreshes for an Account","description":"

Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day.

","operationId":"PostFinancialConnectionsAccountsAccountSubscribe","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["features"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"features":{"type":"array","description":"The list of account features to which you would like to subscribe.","items":{"type":"string","enum":["transactions"],"x-stripeBypassValidation":true}}},"additionalProperties":false,"x-stripeMostCommon":["features"]},"encoding":{"expand":{"style":"deepObject","explode":true},"features":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/accounts/{account}/unsubscribe":{"post":{"summary":"Unsubscribe from data refreshes for an Account","description":"

Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.

","operationId":"PostFinancialConnectionsAccountsAccountUnsubscribe","parameters":[{"name":"account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["features"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"features":{"type":"array","description":"The list of account features from which you would like to unsubscribe.","items":{"type":"string","enum":["transactions"],"x-stripeBypassValidation":true}}},"additionalProperties":false,"x-stripeMostCommon":["features"]},"encoding":{"expand":{"style":"deepObject","explode":true},"features":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/sessions":{"post":{"summary":"Create a Session","description":"

To launch the Financial Connections authorization flow, create a Session. The session’s client_secret can be used to launch the flow using Stripe.js.

","operationId":"PostFinancialConnectionsSessions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["account_holder","permissions"],"type":"object","properties":{"account_holder":{"title":"accountholder_params","required":["type"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The ID of the Stripe account whose accounts you will retrieve. Only available when `type` is `account`."},"customer":{"maxLength":5000,"type":"string","description":"The ID of the Stripe customer whose accounts you will retrieve. Only available when `type` is `customer`."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of Account representing a customer whose accounts you will retrieve. Only available when `type` is `customer`."},"type":{"type":"string","description":"Type of account holder to collect accounts for.","enum":["account","customer"]}},"description":"The account holder to link accounts for.","x-stripeMostCommon":["account","customer","customer_account","type"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"filters":{"title":"filters_params","type":"object","properties":{"account_subcategories":{"type":"array","description":"Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`.","items":{"type":"string","enum":["checking","credit_card","line_of_credit","mortgage","savings"]}},"countries":{"type":"array","description":"List of countries from which to collect accounts.","items":{"maxLength":5000,"type":"string"}}},"description":"Filters to restrict the kinds of accounts to collect.","x-stripeMostCommon":["account_subcategories","countries","country","institution","require_account_numbers","require_payment_method_support"]},"permissions":{"type":"array","description":"List of data features that you would like to request access to.\n\nPossible values are `balances`, `transactions`, `ownership`, and `payment_method`.","items":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"additionalProperties":false,"x-stripeMostCommon":["account_holder","filters","permissions","prefetch","return_url"]},"encoding":{"account_holder":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"filters":{"style":"deepObject","explode":true},"permissions":{"style":"deepObject","explode":true},"prefetch":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/sessions/{session}":{"get":{"summary":"Retrieve a Session","description":"

Retrieves the details of a Financial Connections Session

","operationId":"GetFinancialConnectionsSessionsSession","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/transactions":{"get":{"summary":"List Transactions","description":"

Returns a list of Financial Connections Transaction objects.

","operationId":"GetFinancialConnectionsTransactions","parameters":[{"name":"account","in":"query","description":"The ID of the Financial Connections Account whose transactions will be retrieved.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"transacted_at","in":"query","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:","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"transaction_refresh","in":"query","description":"A filter on the list based on the object `transaction_refresh` field. The value can be a dictionary with the following options:","required":false,"style":"deepObject","explode":true,"schema":{"title":"transaction_refresh_params","required":["after"],"type":"object","properties":{"after":{"maxLength":5000,"type":"string","description":"Return results where the transactions were created or updated by a refresh that took place after this refresh (non-inclusive)."}},"x-stripeMostCommon":["after"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BankConnectionsResourceTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/financial_connections.transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/financial_connections/transactions","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/financial_connections/transactions/{transaction}":{"get":{"summary":"Retrieve a Transaction","description":"

Retrieves the details of a Financial Connections Transaction

","operationId":"GetFinancialConnectionsTransactionsTransaction","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/financial_connections.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/forwarding/requests":{"get":{"summary":"List all ForwardingRequests","description":"

Lists all ForwardingRequest objects.

","operationId":"GetForwardingRequests","parameters":[{"name":"created","in":"query","description":"Similar to other List endpoints, filters results based on created timestamp. You can pass gt, gte, lt, and lte timestamp values.","required":false,"style":"deepObject","explode":true,"schema":{"title":"created_param","type":"object","properties":{"gt":{"type":"integer","description":"Return results where the `created` field is greater than this value."},"gte":{"type":"integer","description":"Return results where the `created` field is greater than or equal to this value."},"lt":{"type":"integer","description":"Return results where the `created` field is less than this value."},"lte":{"type":"integer","description":"Return results where the `created` field is less than or equal to this value."}},"x-stripeMostCommon":["gt","gte","lt","lte"]}},{"name":"ending_before","in":"query","description":"A pagination cursor to fetch the previous page of the list. The value must be a ForwardingRequest ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","description":"A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ForwardingRequestList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/forwarding.request"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"List of ForwardingRequest data.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a ForwardingRequest","description":"

Creates a ForwardingRequest object.

","operationId":"PostForwardingRequests","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["payment_method","replacements","url"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The PaymentMethod to insert into the forwarded request. Forwarding previously consumed PaymentMethods is allowed."},"replacements":{"type":"array","description":"The field kinds to be replaced in the forwarded request.","items":{"type":"string","enum":["card_cvc","card_expiry","card_number","cardholder_name","request_signature"],"x-stripeBypassValidation":true}},"request":{"title":"request_param","type":"object","properties":{"body":{"maxLength":5000,"type":"string","description":"The body payload to send to the destination endpoint."},"headers":{"type":"array","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":{"title":"header_param","required":["name","value"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The header name."},"value":{"maxLength":5000,"type":"string","description":"The header value."}},"x-stripeMostCommon":["name","value"]}}},"description":"The request body and headers to be sent to the destination endpoint.","x-stripeMostCommon":["body","headers"]},"url":{"maxLength":5000,"type":"string","description":"The destination URL for the forwarded request. Must be supported by the config."}},"additionalProperties":false,"x-stripeMostCommon":["metadata","payment_method","replacements","request","url"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"replacements":{"style":"deepObject","explode":true},"request":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/forwarding.request"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/forwarding/requests/{id}":{"get":{"summary":"Retrieve a ForwardingRequest","description":"

Retrieves a ForwardingRequest object.

","operationId":"GetForwardingRequestsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/forwarding.request"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/identity/verification_reports":{"get":{"summary":"List VerificationReports","description":"

List all verification reports.

","operationId":"GetIdentityVerificationReports","parameters":[{"name":"client_reference_id","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return VerificationReports that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","description":"Only return VerificationReports of this type","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["document","id_number"],"x-stripeBypassValidation":true}},{"name":"verification_session","in":"query","description":"Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"GelatoVerificationReportList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/identity.verification_report"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/identity/verification_reports","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/identity/verification_reports/{report}":{"get":{"summary":"Retrieve a VerificationReport","description":"

Retrieves an existing VerificationReport

","operationId":"GetIdentityVerificationReportsReport","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"report","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity.verification_report"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/identity/verification_sessions":{"get":{"summary":"List VerificationSessions","description":"

Returns a list of VerificationSessions

","operationId":"GetIdentityVerificationSessions","parameters":[{"name":"client_reference_id","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return VerificationSessions that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"related_customer","in":"query","description":"Customer ID","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"related_customer_account","in":"query","description":"The ID of the Account representing a customer.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://docs.stripe.com/identity/how-sessions-work).","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","processing","requires_input","verified"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"GelatoVerificationSessionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/identity.verification_session"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/identity/verification_sessions","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a VerificationSession","description":"

Creates a VerificationSession object.

\n\n

After the VerificationSession is created, display a verification modal using the session client_secret or send your users to the session’s url.

\n\n

If your API key is in test mode, verification checks won’t actually process, though everything else will occur as if in live mode.

\n\n

Related guide: Verify your users’ identity documents

","operationId":"PostIdentityVerificationSessions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"client_reference_id":{"maxLength":5000,"type":"string","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"options":{"title":"session_options_param","type":"object","properties":{"document":{"description":"Options that apply to the [document check](https://docs.stripe.com/identity/verification-checks?type=document).","anyOf":[{"title":"document_options","type":"object","properties":{"allowed_types":{"type":"array","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":{"type":"string","enum":["driving_license","id_card","passport"]}},"require_id_number":{"type":"boolean","description":"Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth."},"require_live_capture":{"type":"boolean","description":"Disable image uploads, identity document images have to be captured using the device’s camera."},"require_matching_selfie":{"type":"boolean","description":"Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://docs.stripe.com/identity/selfie)."}},"x-stripeMostCommon":["allowed_types","require_id_number","require_live_capture","require_matching_selfie"]},{"type":"string","enum":[""]}]}},"description":"A set of options for the session’s verification checks.","x-stripeMostCommon":["document","duplicate","email","matching","phone","phone_otp","phone_records"]},"provided_details":{"title":"provided_details_param","type":"object","properties":{"email":{"type":"string","description":"Email of user being verified"},"phone":{"type":"string","description":"Phone number of user being verified"}},"description":"Details provided about the user being verified. These details may be shown to the user.","x-stripeMostCommon":["address","dob","email","name","phone"]},"related_customer":{"maxLength":5000,"type":"string","description":"Customer ID"},"related_customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing a customer."},"related_person":{"title":"related_person_param","required":["account","person"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"A token representing a connected account. If provided, the person parameter is also required and must be associated with the account."},"person":{"maxLength":5000,"type":"string","description":"A token referencing a Person resource that this verification is being used to verify."}},"description":"Tokens referencing a Person resource and it's associated account.","x-stripeMostCommon":["account","person"]},"return_url":{"type":"string","description":"The URL that the user will be redirected to upon completing the verification flow."},"type":{"type":"string","description":"The type of [verification check](https://docs.stripe.com/identity/verification-checks) to be performed. You must provide a `type` if not passing `verification_flow`.","enum":["document","id_number"],"x-stripeBypassValidation":true},"verification_flow":{"maxLength":5000,"type":"string","description":"The ID of a verification flow from the Dashboard. See https://docs.stripe.com/identity/verification-flows."}},"additionalProperties":false,"x-stripeMostCommon":["client_reference_id","metadata","options","provided_details","related_customer","related_customer_account","related_person","return_url","type","verification_flow"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"options":{"style":"deepObject","explode":true},"provided_details":{"style":"deepObject","explode":true},"related_person":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity.verification_session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/identity/verification_sessions/{session}":{"get":{"summary":"Retrieve a VerificationSession","description":"

Retrieves the details of a VerificationSession that was previously created.

\n\n

When the session status is requires_input, you can use this method to retrieve a valid\nclient_secret or url to allow re-submission.

","operationId":"GetIdentityVerificationSessionsSession","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity.verification_session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a VerificationSession","description":"

Updates a VerificationSession object.

\n\n

When the session status is requires_input, you can use this method to update the\nverification check and options.

","operationId":"PostIdentityVerificationSessionsSession","parameters":[{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"options":{"title":"session_options_param","type":"object","properties":{"document":{"description":"Options that apply to the [document check](https://docs.stripe.com/identity/verification-checks?type=document).","anyOf":[{"title":"document_options","type":"object","properties":{"allowed_types":{"type":"array","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":{"type":"string","enum":["driving_license","id_card","passport"]}},"require_id_number":{"type":"boolean","description":"Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth."},"require_live_capture":{"type":"boolean","description":"Disable image uploads, identity document images have to be captured using the device’s camera."},"require_matching_selfie":{"type":"boolean","description":"Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://docs.stripe.com/identity/selfie)."}},"x-stripeMostCommon":["allowed_types","require_id_number","require_live_capture","require_matching_selfie"]},{"type":"string","enum":[""]}]}},"description":"A set of options for the session’s verification checks.","x-stripeMostCommon":["document","duplicate","email","matching","phone","phone_otp","phone_records"]},"provided_details":{"title":"provided_details_param","type":"object","properties":{"email":{"type":"string","description":"Email of user being verified"},"phone":{"type":"string","description":"Phone number of user being verified"}},"description":"Details provided about the user being verified. These details may be shown to the user.","x-stripeMostCommon":["address","dob","email","name","phone"]},"type":{"type":"string","description":"The type of [verification check](https://docs.stripe.com/identity/verification-checks) to be performed.","enum":["document","id_number"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["metadata","options","provided_details","type"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"options":{"style":"deepObject","explode":true},"provided_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity.verification_session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/identity/verification_sessions/{session}/cancel":{"post":{"summary":"Cancel a VerificationSession","description":"

A VerificationSession object can be canceled when it is in requires_input status.

\n\n

Once canceled, future submission attempts are disabled. This cannot be undone. Learn more.

","operationId":"PostIdentityVerificationSessionsSessionCancel","parameters":[{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity.verification_session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/identity/verification_sessions/{session}/redact":{"post":{"summary":"Redact a VerificationSession","description":"

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.

\n\n

A VerificationSession object can be redacted when it is in requires_input or verified\nstatus. Redacting a VerificationSession in requires_action\nstate will automatically cancel it.

\n\n

The redaction process may take up to four days. When the redaction process is in progress, the\nVerificationSession’s redaction.status field will be set to processing; when the process is\nfinished, it will change to redacted and an identity.verification_session.redacted event\nwill be emitted.

\n\n

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 [redacted] or a similar\nplaceholder. The metadata field will also be erased. Redacted objects cannot be updated or\nused for any purpose.

\n\n

Learn more.

","operationId":"PostIdentityVerificationSessionsSessionRedact","parameters":[{"name":"session","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/identity.verification_session"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoice_payments":{"get":{"summary":"List all payments for an invoice","description":"

When retrieving an invoice, there is an includable payments property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of payments.

","operationId":"GetInvoicePayments","parameters":[{"name":"created","in":"query","description":"Only return invoice payments that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"query","description":"The identifier of the invoice whose payments to return.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment","in":"query","description":"The payment details of the invoice payments to return.","required":false,"style":"deepObject","explode":true,"schema":{"title":"payment_param","required":["type"],"type":"object","properties":{"payment_intent":{"maxLength":5000,"type":"string","description":"Only return invoice payments associated by this payment intent ID."},"payment_record":{"maxLength":5000,"type":"string","description":"Only return invoice payments associated by this payment record ID."},"type":{"type":"string","description":"Only return invoice payments associated by this payment type.","enum":["payment_intent","payment_record"]}},"x-stripeMostCommon":["payment_intent","payment_record","type"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"The status of the invoice payments to return.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","open","paid"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"InvoicesPaymentsListInvoicePayments","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/invoice_payment"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoice_payments/{invoice_payment}":{"get":{"summary":"Retrieve an InvoicePayment","description":"

Retrieves the invoice payment with the given ID.

","operationId":"GetInvoicePaymentsInvoicePayment","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice_payment","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoice_rendering_templates":{"get":{"summary":"List all invoice rendering templates","description":"

List all templates, ordered by creation date, with the most recently created template appearing first.

","operationId":"GetInvoiceRenderingTemplates","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","archived"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"InvoiceRenderingTemplatesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/invoice_rendering_template"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoice_rendering_templates/{template}":{"get":{"summary":"Retrieve an invoice rendering template","description":"

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.

","operationId":"GetInvoiceRenderingTemplatesTemplate","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"template","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"version","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice_rendering_template"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoice_rendering_templates/{template}/archive":{"post":{"summary":"Archive an invoice rendering template","description":"

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.

","operationId":"PostInvoiceRenderingTemplatesTemplateArchive","parameters":[{"name":"template","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice_rendering_template"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoice_rendering_templates/{template}/unarchive":{"post":{"summary":"Unarchive an invoice rendering template","description":"

Unarchive an invoice rendering template so it can be used on new Stripe objects again.

","operationId":"PostInvoiceRenderingTemplatesTemplateUnarchive","parameters":[{"name":"template","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice_rendering_template"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoiceitems":{"get":{"summary":"List all invoice items","description":"

Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.

","operationId":"GetInvoiceitems","parameters":[{"name":"created","in":"query","description":"Only return invoice items that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"The identifier of the customer whose invoice items to return. If none is provided, returns all invoice items.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"The identifier of the account representing the customer whose invoice items to return. If none is provided, returns all invoice items.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"pending","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"InvoicesItemsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/invoiceitem"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/invoiceitems","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an invoice item","description":"

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.

","operationId":"PostInvoiceitems","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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."},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer to bill for this invoice item."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account representing the customer to bill for this invoice item."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking."},"discountable":{"type":"boolean","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."},"discounts":{"description":"The coupons and promotion codes to redeem into discounts for the invoice item or invoice line item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice":{"maxLength":5000,"type":"string","description":"The ID of an existing invoice to add this invoice item to. For subscription invoices, when left blank, the invoice item will be added to the next upcoming scheduled invoice. For standalone invoices, the invoice item won't be automatically added unless you pass `pending_invoice_item_behavior: 'include'` when creating the 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."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"period":{"title":"period","required":["end","start"],"type":"object","properties":{"end":{"type":"integer","description":"The end of the period, which must be greater than or equal to the start. This value is inclusive.","format":"unix-time"},"start":{"type":"integer","description":"The start of the period. This value is inclusive.","format":"unix-time"}},"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://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.","x-stripeMostCommon":["end","start"]},"price_data":{"title":"one_time_price_data","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","unit_amount"]},"pricing":{"title":"pricing_param","type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."}},"description":"The pricing information for the invoice item.","x-stripeMostCommon":["price"]},"quantity":{"type":"integer","description":"Non-negative integer. The quantity of units for the invoice item. Use `quantity_decimal` instead to provide decimal precision. This field will be deprecated in favor of `quantity_decimal` in a future version."},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the invoice item.","format":"decimal"},"subscription":{"maxLength":5000,"type":"string","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."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"tax_rates":{"type":"array","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"}},"unit_amount_decimal":{"type":"string","description":"The decimal unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This `unit_amount_decimal` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount_decimal` will reduce the `amount_due` on the invoice. Accepts at most 12 decimal places.","format":"decimal"}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","customer","customer_account","description","metadata","period","pricing"]},"encoding":{"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"period":{"style":"deepObject","explode":true},"price_data":{"style":"deepObject","explode":true},"pricing":{"style":"deepObject","explode":true},"tax_code":{"style":"deepObject","explode":true},"tax_rates":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoiceitem"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoiceitems/{invoiceitem}":{"get":{"summary":"Retrieve an invoice item","description":"

Retrieves the invoice item with the given ID.

","operationId":"GetInvoiceitemsInvoiceitem","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoiceitem","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoiceitem"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an invoice item","description":"

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.

","operationId":"PostInvoiceitemsInvoiceitem","parameters":[{"name":"invoiceitem","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking."},"discountable":{"type":"boolean","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."},"discounts":{"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.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"period":{"title":"period","required":["end","start"],"type":"object","properties":{"end":{"type":"integer","description":"The end of the period, which must be greater than or equal to the start. This value is inclusive.","format":"unix-time"},"start":{"type":"integer","description":"The start of the period. This value is inclusive.","format":"unix-time"}},"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://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.","x-stripeMostCommon":["end","start"]},"price_data":{"title":"one_time_price_data","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","unit_amount"]},"pricing":{"title":"pricing_param","type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."}},"description":"The pricing information for the invoice item.","x-stripeMostCommon":["price"]},"quantity":{"type":"integer","description":"Non-negative integer. The quantity of units for the invoice item. Use `quantity_decimal` instead to provide decimal precision. This field will be deprecated in favor of `quantity_decimal` in a future version."},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the line item.","format":"decimal"},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"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. Pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"unit_amount_decimal":{"type":"string","description":"The decimal unit amount in cents (or local equivalent) of the charge to be applied to the upcoming invoice. This `unit_amount_decimal` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount_decimal` will reduce the `amount_due` on the invoice. Accepts at most 12 decimal places.","format":"decimal"}},"additionalProperties":false,"x-stripeMostCommon":["amount","description","metadata","period","pricing"]},"encoding":{"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"period":{"style":"deepObject","explode":true},"price_data":{"style":"deepObject","explode":true},"pricing":{"style":"deepObject","explode":true},"tax_code":{"style":"deepObject","explode":true},"tax_rates":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoiceitem"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete an invoice item","description":"

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.

","operationId":"DeleteInvoiceitemsInvoiceitem","parameters":[{"name":"invoiceitem","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_invoiceitem"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices":{"get":{"summary":"List all invoices","description":"

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.

","operationId":"GetInvoices","parameters":[{"name":"collection_method","in":"query","description":"The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["charge_automatically","send_invoice"]}},{"name":"created","in":"query","description":"Only return invoices that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return invoices for the customer specified by this customer ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return invoices for the account representing the customer specified by this account ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"due_date","in":"query","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://docs.stripe.com/billing/invoices/workflow#workflow-overview)","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["draft","open","paid","uncollectible","void"]}},{"name":"subscription","in":"query","description":"Only return invoices for the subscription specified by this subscription ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"InvoicesResourceList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/invoice"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/invoices","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an invoice","description":"

This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you finalize the invoice, which allows you to pay or send the invoice to your customers.

","operationId":"PostInvoices","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the invoice. Only editable when the invoice is a draft.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"application_fee_amount":{"type":"integer","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://docs.stripe.com/billing/invoices/connect#collecting-fees)."},"auto_advance":{"type":"boolean","description":"Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action. Defaults to false."},"automatic_tax":{"title":"automatic_tax_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Settings for automatic tax lookup for this invoice.","x-stripeMostCommon":["enabled","liability"]},"automatically_finalizes_at":{"type":"integer","description":"The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state.","format":"unix-time"},"collection_method":{"type":"string","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"]},"currency":{"type":"string","description":"The currency to create this invoice in. Defaults to that of `customer` if not specified.","format":"currency"},"custom_fields":{"description":"A list of up to 4 custom fields to be displayed on the invoice.","anyOf":[{"type":"array","items":{"title":"custom_field_params","required":["name","value"],"type":"object","properties":{"name":{"maxLength":40,"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"maxLength":140,"type":"string","description":"The value of the custom field. This may be up to 140 characters."}},"x-stripeMostCommon":["name","value"]}},{"type":"string","enum":[""]}]},"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer to bill."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account to bill."},"days_until_due":{"type":"integer","description":"The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`."},"default_payment_method":{"maxLength":5000,"type":"string","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."},"default_source":{"maxLength":5000,"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":{"type":"array","description":"The tax rates that will apply to any line item that does not have `tax_rates` set.","items":{"maxLength":5000,"type":"string"}},"description":{"maxLength":1500,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard."},"discounts":{"description":"The coupons and promotion codes to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"due_date":{"type":"integer","description":"The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`.","format":"unix-time"},"effective_at":{"type":"integer","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"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"footer":{"maxLength":5000,"type":"string","description":"Footer to be displayed on the invoice."},"from_invoice":{"title":"from_invoice","required":["action","invoice"],"type":"object","properties":{"action":{"maxLength":5000,"type":"string","description":"The relation between the new invoice and the original invoice. Currently, only 'revision' is permitted","enum":["revision"]},"invoice":{"maxLength":5000,"type":"string","description":"The `id` of the invoice that will be cloned."}},"description":"Revise an existing invoice. The new invoice will be created in `status=draft`. See the [revision documentation](https://docs.stripe.com/invoicing/invoice-revisions) for more details.","x-stripeMostCommon":["action","invoice"]},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"number":{"maxLength":26,"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":{"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://docs.stripe.com/billing/invoices/connect) documentation for details."},"payment_settings":{"title":"payment_settings","type":"object","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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_method_options":{"title":"payment_method_options","type":"object","properties":{"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["transaction_type"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["mandate_options","verification_method"]},{"type":"string","enum":[""]}]},"bancontact":{"description":"If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]}},"x-stripeMostCommon":["preferred_language"]},{"type":"string","enum":[""]}]},"card":{"description":"If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"installments":{"title":"installments_param","type":"object","properties":{"enabled":{"type":"boolean","description":"Setting to true enables installments for this invoice.\nSetting to false will prevent any selected plan from applying to a payment."},"plan":{"description":"The selected installment plan to use for this invoice.","anyOf":[{"title":"installment_plan","required":["type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card."},"interval":{"type":"string","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":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.","enum":["bonus","fixed_count","revolving"]}},"x-stripeMostCommon":["count","interval","type"]},{"type":"string","enum":[""]}]}},"description":"Installment configuration for payments attempted on this invoice.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).","x-stripeMostCommon":["enabled","plan"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"]}},"x-stripeMostCommon":["installments","request_three_d_secure"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_param","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"type":{"type":"string","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`."}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_transfer","type"]},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`."}},"x-stripeMostCommon":["bank_transfer","funding_type"]},{"type":"string","enum":[""]}]},"konbini":{"description":"If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"type":"string","enum":[""]}]},"payto":{"description":"If paying by `payto`, this sub-hash contains details about the PayTo payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"The maximum amount that can be collected in a single invoice. If you don't specify a maximum, then there is no limit."},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"Additional fields for Mandate creation.","x-stripeMostCommon":["amount","purpose"]}},"x-stripeMostCommon":["mandate_options"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["verification_method"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"invoice_linked_account_options_param","type":"object","properties":{"filters":{"title":"invoice_linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","permissions","prefetch"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","verification_method"]},{"type":"string","enum":[""]}]}},"description":"Payment-method-specific configuration to provide to the invoice’s PaymentIntent.","x-stripeMostCommon":["acss_debit","bancontact","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account"]},"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).","anyOf":[{"type":"array","items":{"type":"string","enum":["ach_credit_transfer","ach_debit","acss_debit","affirm","amazon_pay","au_becs_debit","bacs_debit","bancontact","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","promptpay","revolut_pay","sepa_credit_transfer","sepa_debit","sofort","swish","us_bank_account","wechat_pay"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]}},"description":"Configuration settings for the PaymentIntent that is generated when the invoice is finalized.","x-stripeMostCommon":["default_mandate","payment_method_configuration","payment_method_options","payment_method_types"]},"pending_invoice_items_behavior":{"type":"string","description":"How to handle pending invoice items on invoice creation. Defaults to `exclude` if the parameter is omitted.","enum":["exclude","include"],"x-stripeBypassValidation":true},"rendering":{"title":"rendering_param","type":"object","properties":{"amount_tax_display":{"type":"string","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"]},"pdf":{"title":"rendering_pdf_param","type":"object","properties":{"page_size":{"type":"string","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"]}},"description":"Invoice pdf rendering options","x-stripeMostCommon":["page_size"]},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to use for this invoice."},"template_version":{"description":"The specific version of invoice rendering template to use for this invoice.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]}},"description":"The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.","x-stripeMostCommon":["amount_tax_display","custom_text","invoice_title","pdf","summary_items_data","template","template_version"]},"shipping_cost":{"title":"shipping_cost","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the shipping rate to use for this order."},"shipping_rate_data":{"title":"method_params","required":["display_name"],"type":"object","properties":{"delivery_estimate":{"title":"delivery_estimate","type":"object","properties":{"maximum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.","x-stripeMostCommon":["unit","value"]},"minimum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The lower bound of the estimated range. If empty, represents no lower bound.","x-stripeMostCommon":["unit","value"]}},"description":"The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.","x-stripeMostCommon":["maximum","minimum"]},"display_name":{"maxLength":100,"type":"string","description":"The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions."},"fixed_amount":{"title":"fixed_amount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"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)."}},"description":"Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.","x-stripeMostCommon":["amount","currency","currency_options"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`."},"type":{"type":"string","description":"The type of calculation to use on the shipping rate.","enum":["fixed_amount"]}},"description":"Parameters to create a new ad-hoc shipping rate for this order.","x-stripeMostCommon":["display_name","fixed_amount","metadata","tax_behavior","tax_code","type"]}},"description":"Settings for the cost of shipping for this invoice.","x-stripeMostCommon":["shipping_rate","shipping_rate_data"]},"shipping_details":{"title":"recipient_shipping_with_optional_fields_address","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"description":"Recipient phone (including extension)","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"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.","x-stripeMostCommon":["address","name","phone"]},"statement_descriptor":{"maxLength":22,"type":"string","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`."},"subscription":{"maxLength":5000,"type":"string","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."},"transfer_data":{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"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.","x-stripeMostCommon":["amount","destination"]}},"additionalProperties":false,"x-stripeMostCommon":["auto_advance","automatic_tax","collection_method","customer","customer_account","description","metadata","subscription"]},"encoding":{"account_tax_ids":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"custom_fields":{"style":"deepObject","explode":true},"default_tax_rates":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"from_invoice":{"style":"deepObject","explode":true},"issuer":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_settings":{"style":"deepObject","explode":true},"rendering":{"style":"deepObject","explode":true},"shipping_cost":{"style":"deepObject","explode":true},"shipping_details":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/create_preview":{"post":{"summary":"Create a preview invoice","description":"

At any time, you can preview the upcoming invoice for a subscription or subscription schedule. 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.

\n\n

You can also preview the effects of creating or updating a subscription or subscription schedule, including a preview of any prorations that will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update.

\n\n

The recommended way to get only the prorations being previewed on the invoice is to consider line items where parent.subscription_item_details.proration is true.

\n\n

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.

\n\n

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. Learn more

","operationId":"PostInvoicesCreatePreview","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"automatic_tax":{"title":"automatic_tax_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Settings for automatic tax lookup for this invoice preview.","x-stripeMostCommon":["enabled","liability"]},"currency":{"type":"string","description":"The currency to preview this invoice in. Defaults to that of `customer` if not specified.","format":"currency"},"customer":{"maxLength":5000,"type":"string","description":"The identifier of the customer whose upcoming invoice you're retrieving. If `automatic_tax` is enabled then one of `customer`, `customer_details`, `subscription`, or `schedule` must be set."},"customer_account":{"maxLength":5000,"type":"string","description":"The identifier of the account representing the customer whose upcoming invoice you're retrieving. If `automatic_tax` is enabled then one of `customer`, `customer_account`, `customer_details`, `subscription`, or `schedule` must be set."},"customer_details":{"title":"customer_details_param","type":"object","properties":{"address":{"description":"The customer's address. Learn about [country-specific requirements for calculating tax](/invoicing/taxes?dashboard-or-api=dashboard#set-up-customer).","anyOf":[{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"shipping":{"description":"The customer's shipping information. Appears on invoices emailed to this customer.","anyOf":[{"title":"customer_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_customer_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","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))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Customer shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"Customer name."},"phone":{"maxLength":5000,"type":"string","description":"Customer phone (including extension)."}},"x-stripeMostCommon":["address","name","phone"]},{"type":"string","enum":[""]}]},"tax":{"title":"tax_param","type":"object","properties":{"ip_address":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax details about the customer.","x-stripeMostCommon":["ip_address"]},"tax_exempt":{"type":"string","description":"The customer's tax exemption. One of `none`, `exempt`, or `reverse`.","enum":["","exempt","none","reverse"]},"tax_ids":{"type":"array","description":"The customer's tax IDs.","items":{"title":"data_params","required":["type","value"],"type":"object","properties":{"type":{"maxLength":5000,"type":"string","description":"Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"],"x-stripeBypassValidation":true},"value":{"type":"string","description":"Value of the tax ID."}},"x-stripeMostCommon":["type","value"]}}},"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.","x-stripeMostCommon":["address","shipping","tax","tax_exempt","tax_ids"]},"discounts":{"description":"The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_items":{"type":"array","description":"List of invoice items to add or update in the upcoming invoice preview (up to 250).","items":{"title":"invoice_item_preview_params","type":"object","properties":{"amount":{"type":"integer","description":"The integer amount in cents (or local equivalent) of previewed invoice item."},"currency":{"type":"string","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.","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking."},"discountable":{"type":"boolean","description":"Explicitly controls whether discounts apply to this invoice item. Defaults to true, except for negative invoice items."},"discounts":{"description":"The coupons to redeem into discounts for the invoice item in the preview.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"invoiceitem":{"maxLength":5000,"type":"string","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."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"period":{"title":"period","required":["end","start"],"type":"object","properties":{"end":{"type":"integer","description":"The end of the period, which must be greater than or equal to the start. This value is inclusive.","format":"unix-time"},"start":{"type":"integer","description":"The start of the period. This value is inclusive.","format":"unix-time"}},"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://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.","x-stripeMostCommon":["end","start"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"one_time_price_data","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"Non-negative integer. The quantity of units for the invoice item. Use `quantity_decimal` instead to provide decimal precision. This field will be deprecated in favor of `quantity_decimal` in a future version."},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the invoice item.","format":"decimal"},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"tax_rates":{"description":"The tax rates that apply to the item. When set, any `default_tax_rates` do not apply to this item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"x-stripeMostCommon":["amount","currency","description","discountable","discounts","invoiceitem","metadata","period","price","quantity","quantity_decimal","tax_behavior","tax_code","tax_rates","unit_amount","unit_amount_decimal"]}},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]},"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://docs.stripe.com/billing/invoices/connect) documentation for details.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"preview_mode":{"type":"string","description":"Customizes the types of values to include when calculating the invoice. Defaults to `next` if unspecified.","enum":["next","recurring"]},"schedule":{"maxLength":5000,"type":"string","description":"The identifier of the schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields."},"schedule_details":{"title":"schedule_details_params","type":"object","properties":{"billing_mode":{"title":"billing_mode","required":["type"],"type":"object","properties":{"flexible":{"title":"flexible_params","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"Configure behavior for flexible billing mode.","x-stripeMostCommon":["proration_discounts"]},"type":{"type":"string","description":"Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.","enum":["classic","flexible"]}},"description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","x-stripeMostCommon":["flexible","type"]},"end_behavior":{"type":"string","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"]},"phases":{"type":"array","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":{"title":"phase_configuration_params","required":["items"],"type":"object","properties":{"add_invoice_items":{"type":"array","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":{"title":"add_invoice_item_entry","type":"object","properties":{"discounts":{"type":"array","description":"The coupons to redeem into discounts for the item.","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"title":"invoice_item_period","required":["end","start"],"type":"object","properties":{"end":{"title":"invoice_item_period_end","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the end of the invoice item period.","enum":["min_item_period_end","phase_end","timestamp"],"x-stripeBypassValidation":true}},"description":"End of the invoice item period.","x-stripeMostCommon":["timestamp","type"]},"start":{"title":"invoice_item_period_start","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the start of the invoice item period.","enum":["max_item_period_start","phase_start","timestamp"],"x-stripeBypassValidation":true}},"description":"Start of the invoice item period.","x-stripeMostCommon":["timestamp","type"]}},"description":"The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.","x-stripeMostCommon":["end","start"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"one_time_price_data_with_negative_amounts","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item. Defaults to 1."},"tax_rates":{"description":"The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["price","quantity"],"x-stripeParam":{"class_name":"AddInvoiceItem"}}},"application_fee_percent":{"type":"number","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":{"title":"automatic_tax_config","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Automatic tax settings for this phase.","x-stripeMostCommon":["enabled","liability"]},"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["automatic","phase_start"]},"billing_thresholds":{"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.","anyOf":[{"title":"billing_thresholds_param","type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to advance to a new billing period"},"reset_billing_cycle_anchor":{"type":"boolean","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."}},"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},{"type":"string","enum":[""]}]},"collection_method":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"default_payment_method":{"maxLength":5000,"type":"string","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."},"default_tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://docs.stripe.com/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"discounts":{"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.","anyOf":[{"type":"array","items":{"title":"schedule_discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"duration":{"title":"duration_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies phase duration. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The multiplier applied to the interval."}},"description":"The number of intervals the phase should last. If set, `end_date` must not be set.","x-stripeMostCommon":["interval","interval_count"]},"end_date":{"description":"The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]},"invoice_settings":{"title":"invoice_settings","type":"object","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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"days_until_due":{"type":"integer","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`."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["account_tax_ids","custom_fields","days_until_due","description","footer","issuer","send_hosted_payment_email","supported_payment_methods"]},"items":{"type":"array","description":"List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.","items":{"title":"configuration_item_params","type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"schedule_discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"plan":{"maxLength":5000,"type":"string","description":"The plan ID to subscribe to. You may specify the same ID in `plan` and `price`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["billing_thresholds","discounts","metadata","plan","price","quantity","tax_rates","trial","trial_offer"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"on_behalf_of":{"type":"string","description":"The account on behalf of which to charge, for each of the associated subscription's invoices."},"proration_behavior":{"type":"string","description":"Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.","enum":["always_invoice","create_prorations","none"]},"start_date":{"description":"The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase.","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]},"transfer_data":{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"description":"The data with which to automatically create a Transfer for each of the associated subscription's invoices.","x-stripeMostCommon":["amount_percent","destination"]},"trial":{"type":"boolean","description":"If set to true the entire phase is counted as a trial and the customer will not be charged for any fees."},"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`","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]}},"x-stripeMostCommon":["add_invoice_items","application_fee_percent","automatic_tax","billing_cycle_anchor","billing_thresholds","collection_method","currency","default_payment_method","default_tax_rates","description","discounts","duration","effective_at","end_date","invoice_settings","items","metadata","on_behalf_of","pause_collection","proration_behavior","start_date","tax_filing_currency","transfer_data","trial","trial_continuation","trial_end","trial_settings"]}},"proration_behavior":{"type":"string","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"]}},"description":"The schedule creation or modification params to apply as a preview. Cannot be used with `subscription` or `subscription_` prefixed fields.","x-stripeMostCommon":["amendments","billing_behavior","billing_mode","billing_schedules","default_settings","end_behavior","phases","prebilling","proration_behavior"]},"subscription":{"maxLength":5000,"type":"string","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."},"subscription_details":{"title":"subscription_details_params","type":"object","properties":{"billing_cycle_anchor":{"description":"For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://docs.stripe.com/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`.","anyOf":[{"maxLength":5000,"type":"string","enum":["now","unchanged"]},{"type":"integer","format":"unix-time"}]},"billing_mode":{"title":"billing_mode","required":["type"],"type":"object","properties":{"flexible":{"title":"flexible_params","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"Configure behavior for flexible billing mode.","x-stripeMostCommon":["proration_discounts"]},"type":{"type":"string","description":"Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.","enum":["classic","flexible"]}},"description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","x-stripeMostCommon":["flexible","type"]},"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.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]},{"type":"string","enum":["max_period_end","min_period_end"]}]},"cancel_at_period_end":{"type":"boolean","description":"Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`."},"cancel_now":{"type":"boolean","description":"This simulates the subscription being canceled or expired immediately."},"default_tax_rates":{"description":"If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"items":{"type":"array","description":"A list of up to 20 subscription items, each with an attached price.","items":{"title":"subscription_item_update_params","type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"clear_usage":{"type":"boolean","description":"Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached."},"deleted":{"type":"boolean","description":"A flag that, if set to `true`, will delete the specified item."},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"id":{"maxLength":5000,"type":"string","description":"Subscription item to update."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"plan":{"maxLength":5000,"type":"string","description":"Plan ID for this item, as a string."},"price":{"maxLength":5000,"type":"string","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."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["billing_thresholds","clear_usage","current_trial","deleted","discounts","id","metadata","plan","price","quantity","service_starts_at","tax_rates"]}},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/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"]},"proration_date":{"type":"integer","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"},"resume_at":{"maxLength":5000,"type":"string","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"]},"start_date":{"type":"integer","description":"Date a subscription is intended to start (can be future or past).","format":"unix-time"},"trial_end":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["now"]},{"type":"integer","format":"unix-time"}]}},"description":"The subscription creation or modification params to apply as a preview. Cannot be used with `schedule` or `schedule_details` fields.","x-stripeMostCommon":["billing_cycle_anchor","billing_mode","billing_schedules","cancel_at","cancel_at_period_end","cancel_now","default_tax_rates","items","prebilling","proration_behavior","proration_date","resume_at","start_date","trial_end"]}},"additionalProperties":false,"x-stripeMostCommon":["automatic_tax","customer","customer_account","subscription"]},"encoding":{"automatic_tax":{"style":"deepObject","explode":true},"customer_details":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"invoice_items":{"style":"deepObject","explode":true},"issuer":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"schedule_details":{"style":"deepObject","explode":true},"subscription_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/search":{"get":{"summary":"Search invoices","description":"

Search for invoices you’ve previously created using Stripe’s Search Query Language.\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.

","operationId":"GetInvoicesSearch","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"page","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"query","in":"query","description":"The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for invoices](https://docs.stripe.com/search#query-fields-for-invoices).","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SearchResult","required":["data","has_more","next_page","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/invoice"}},"has_more":{"type":"boolean"},"next_page":{"maxLength":5000,"type":"string","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["search_result"]},"total_count":{"type":"integer","description":"The total number of objects that match the query, only accurate up to 10,000."},"url":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","next_page","object","total_count","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}":{"get":{"summary":"Retrieve an invoice","description":"

Retrieves the invoice with the given ID.

","operationId":"GetInvoicesInvoice","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an invoice","description":"

Draft invoices are fully editable. Once an invoice is finalized,\nmonetary values, as well as collection_method, become uneditable.

\n\n

If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,\nsending reminders for, or automatically reconciling invoices, pass\nauto_advance=false.

","operationId":"PostInvoicesInvoice","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the invoice. Only editable when the invoice is a draft.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"application_fee_amount":{"type":"integer","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://docs.stripe.com/billing/invoices/connect#collecting-fees)."},"auto_advance":{"type":"boolean","description":"Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice."},"automatic_tax":{"title":"automatic_tax_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Settings for automatic tax lookup for this invoice.","x-stripeMostCommon":["enabled","liability"]},"automatically_finalizes_at":{"type":"integer","description":"The time when this invoice should be scheduled to finalize (up to 5 years in the future). The invoice is finalized at this time if it's still in draft state. To turn off automatic finalization, set `auto_advance` to false.","format":"unix-time"},"collection_method":{"type":"string","description":"Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices.","enum":["charge_automatically","send_invoice"]},"custom_fields":{"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.","anyOf":[{"type":"array","items":{"title":"custom_field_params","required":["name","value"],"type":"object","properties":{"name":{"maxLength":40,"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"maxLength":140,"type":"string","description":"The value of the custom field. This may be up to 140 characters."}},"x-stripeMostCommon":["name","value"]}},{"type":"string","enum":[""]}]},"days_until_due":{"type":"integer","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."},"default_payment_method":{"maxLength":5000,"type":"string","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."},"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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"default_tax_rates":{"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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"description":{"maxLength":1500,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard."},"discounts":{"description":"The discounts that will apply to the invoice. Pass an empty string to remove previously-defined discounts.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"due_date":{"type":"integer","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"},"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.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"footer":{"maxLength":5000,"type":"string","description":"Footer to be displayed on the invoice."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":26,"type":"string"},{"type":"string","enum":[""]}]},"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://docs.stripe.com/billing/invoices/connect) documentation for details.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"payment_settings":{"title":"payment_settings","type":"object","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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_method_options":{"title":"payment_method_options","type":"object","properties":{"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["transaction_type"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["mandate_options","verification_method"]},{"type":"string","enum":[""]}]},"bancontact":{"description":"If paying by `bancontact`, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]}},"x-stripeMostCommon":["preferred_language"]},{"type":"string","enum":[""]}]},"card":{"description":"If paying by `card`, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"installments":{"title":"installments_param","type":"object","properties":{"enabled":{"type":"boolean","description":"Setting to true enables installments for this invoice.\nSetting to false will prevent any selected plan from applying to a payment."},"plan":{"description":"The selected installment plan to use for this invoice.","anyOf":[{"title":"installment_plan","required":["type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card."},"interval":{"type":"string","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":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.","enum":["bonus","fixed_count","revolving"]}},"x-stripeMostCommon":["count","interval","type"]},{"type":"string","enum":[""]}]}},"description":"Installment configuration for payments attempted on this invoice.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).","x-stripeMostCommon":["enabled","plan"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"]}},"x-stripeMostCommon":["installments","request_three_d_secure"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_param","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"type":{"type":"string","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`."}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_transfer","type"]},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`."}},"x-stripeMostCommon":["bank_transfer","funding_type"]},{"type":"string","enum":[""]}]},"konbini":{"description":"If paying by `konbini`, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"type":"string","enum":[""]}]},"payto":{"description":"If paying by `payto`, this sub-hash contains details about the PayTo payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"The maximum amount that can be collected in a single invoice. If you don't specify a maximum, then there is no limit."},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"Additional fields for Mandate creation.","x-stripeMostCommon":["amount","purpose"]}},"x-stripeMostCommon":["mandate_options"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["verification_method"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"invoice_linked_account_options_param","type":"object","properties":{"filters":{"title":"invoice_linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","permissions","prefetch"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","verification_method"]},{"type":"string","enum":[""]}]}},"description":"Payment-method-specific configuration to provide to the invoice’s PaymentIntent.","x-stripeMostCommon":["acss_debit","bancontact","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account"]},"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).","anyOf":[{"type":"array","items":{"type":"string","enum":["ach_credit_transfer","ach_debit","acss_debit","affirm","amazon_pay","au_becs_debit","bacs_debit","bancontact","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","promptpay","revolut_pay","sepa_credit_transfer","sepa_debit","sofort","swish","us_bank_account","wechat_pay"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]}},"description":"Configuration settings for the PaymentIntent that is generated when the invoice is finalized.","x-stripeMostCommon":["default_mandate","payment_method_configuration","payment_method_options","payment_method_types"]},"rendering":{"title":"rendering_param","type":"object","properties":{"amount_tax_display":{"type":"string","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"]},"pdf":{"title":"rendering_pdf_param","type":"object","properties":{"page_size":{"type":"string","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"]}},"description":"Invoice pdf rendering options","x-stripeMostCommon":["page_size"]},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to use for this invoice."},"template_version":{"description":"The specific version of invoice rendering template to use for this invoice.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]}},"description":"The rendering-related settings that control how the invoice is displayed on customer-facing surfaces such as PDF and Hosted Invoice Page.","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.","anyOf":[{"title":"shipping_cost","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the shipping rate to use for this order."},"shipping_rate_data":{"title":"method_params","required":["display_name"],"type":"object","properties":{"delivery_estimate":{"title":"delivery_estimate","type":"object","properties":{"maximum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.","x-stripeMostCommon":["unit","value"]},"minimum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The lower bound of the estimated range. If empty, represents no lower bound.","x-stripeMostCommon":["unit","value"]}},"description":"The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.","x-stripeMostCommon":["maximum","minimum"]},"display_name":{"maxLength":100,"type":"string","description":"The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions."},"fixed_amount":{"title":"fixed_amount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"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)."}},"description":"Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.","x-stripeMostCommon":["amount","currency","currency_options"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`."},"type":{"type":"string","description":"The type of calculation to use on the shipping rate.","enum":["fixed_amount"]}},"description":"Parameters to create a new ad-hoc shipping rate for this order.","x-stripeMostCommon":["display_name","fixed_amount","metadata","tax_behavior","tax_code","type"]}},"x-stripeMostCommon":["shipping_rate","shipping_rate_data"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"title":"recipient_shipping_with_optional_fields_address","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"description":"Recipient phone (including extension)","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["address","name","phone"]},{"type":"string","enum":[""]}]},"statement_descriptor":{"maxLength":22,"type":"string","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`."},"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. This will be unset if you POST an empty value.","anyOf":[{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"x-stripeMostCommon":["amount","destination"]},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["auto_advance","automatic_tax","collection_method","description","metadata"]},"encoding":{"account_tax_ids":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"custom_fields":{"style":"deepObject","explode":true},"default_source":{"style":"deepObject","explode":true},"default_tax_rates":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"effective_at":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"issuer":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"number":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"payment_settings":{"style":"deepObject","explode":true},"rendering":{"style":"deepObject","explode":true},"shipping_cost":{"style":"deepObject","explode":true},"shipping_details":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a draft invoice","description":"

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 voided.

","operationId":"DeleteInvoicesInvoice","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/add_lines":{"post":{"summary":"Bulk add invoice line items","description":"

Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.

","operationId":"PostInvoicesInvoiceAddLines","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["lines"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"lines":{"type":"array","description":"The line items to add.","items":{"title":"lines_data_param","type":"object","properties":{"amount":{"type":"integer","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."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking."},"discountable":{"type":"boolean","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."},"discounts":{"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.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"invoice_item":{"maxLength":5000,"type":"string","description":"ID of an unassigned invoice item to assign to this invoice. If not provided, a new item will be created."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"period":{"title":"period","required":["end","start"],"type":"object","properties":{"end":{"type":"integer","description":"The end of the period, which must be greater than or equal to the start. This value is inclusive.","format":"unix-time"},"start":{"type":"integer","description":"The start of the period. This value is inclusive.","format":"unix-time"}},"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://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.","x-stripeMostCommon":["end","start"]},"price_data":{"title":"one_time_price_data_with_product_data","required":["currency"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required."},"product_data":{"title":"product_data","required":["name"],"type":"object","properties":{"description":{"maxLength":40000,"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."},"images":{"type":"array","description":"A list of up to 8 URLs of images for this product, meant to be displayable to the customer.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"description":"Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.","x-stripeMostCommon":["description","images","metadata","name","tax_code","tax_details","unit_label"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","unit_amount"]},"pricing":{"title":"pricing_param","type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."}},"description":"The pricing information for the invoice item.","x-stripeMostCommon":["price"]},"quantity":{"type":"integer","description":"Non-negative integer. The quantity of units for the line item. Use `quantity_decimal` instead to provide decimal precision. This field will be deprecated in favor of `quantity_decimal` in a future version."},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the line item.","format":"decimal"},"tax_amounts":{"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://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.","anyOf":[{"type":"array","items":{"title":"tax_amount_param","required":["amount","tax_rate_data","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the tax."},"tax_rate_data":{"title":"tax_rate_data_param","required":["display_name","inclusive","percentage"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers."},"display_name":{"maxLength":100,"type":"string","description":"The display name of the tax rate, which will be shown to users."},"inclusive":{"type":"boolean","description":"This specifies if the tax rate is inclusive or exclusive."},"jurisdiction":{"maxLength":200,"type":"string","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."},"jurisdiction_level":{"type":"string","description":"The level of the jurisdiction that imposes this tax rate.","enum":["city","country","county","district","multiple","state"]},"percentage":{"type":"number","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."},"state":{"maxLength":5000,"type":"string","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."},"tax_type":{"type":"string","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"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["country","description","display_name","inclusive","jurisdiction","jurisdiction_level","percentage","state","tax_type"]},"taxability_reason":{"type":"string","description":"The reasoning behind this tax, for example, if the product is tax exempt.","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"],"x-stripeBypassValidation":true},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent)."}},"x-stripeMostCommon":["amount","tax_rate_data","taxability_reason","taxable_amount"]}},{"type":"string","enum":[""]}]},"tax_rates":{"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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","description","invoice_item","metadata","period","pricing","quantity_decimal"]}}},"additionalProperties":false,"x-stripeMostCommon":["invoice_metadata","lines"]},"encoding":{"expand":{"style":"deepObject","explode":true},"invoice_metadata":{"style":"deepObject","explode":true},"lines":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/attach_payment":{"post":{"summary":"Attach a payment to an Invoice","description":"

Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of payments.

\n\n

For the PaymentIntent, when the PaymentIntent’s status changes to succeeded, the payment is credited\nto the invoice, increasing its amount_paid. When the invoice is fully paid, the\ninvoice’s status becomes paid.

\n\n

If the PaymentIntent’s status is already succeeded when it’s attached, it’s\ncredited to the invoice immediately.

\n\n

See: Partial payments to learn more.

","operationId":"PostInvoicesInvoiceAttachPayment","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"payment_intent":{"maxLength":5000,"type":"string","description":"The ID of the PaymentIntent to attach to the invoice."},"payment_record":{"maxLength":5000,"type":"string","description":"The ID of the PaymentRecord to attach to the invoice."}},"additionalProperties":false,"x-stripeMostCommon":["payment_intent","payment_record"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/finalize":{"post":{"summary":"Finalize an invoice","description":"

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.

","operationId":"PostInvoicesInvoiceFinalize","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"auto_advance":{"type":"boolean","description":"Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["auto_advance"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/lines":{"get":{"summary":"Retrieve an invoice's line items","description":"

When retrieving an invoice, you’ll get a lines 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.

","operationId":"GetInvoicesInvoiceLines","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"InvoiceLinesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/lines/{line_item_id}":{"post":{"summary":"Update an invoice's line item","description":"

Updates an invoice’s line item. Some fields, such as tax_amounts, only live on the invoice line item,\nso they can only be updated through this endpoint. Other fields, such as amount, 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.

","operationId":"PostInvoicesInvoiceLinesLineItemId","parameters":[{"name":"invoice","in":"path","description":"Invoice ID of line item","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"line_item_id","in":"path","description":"Invoice line item ID","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking."},"discountable":{"type":"boolean","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."},"discounts":{"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.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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](/api/invoices/line_item) 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) line items, where any existing metadata on the invoice line is merged with the incoming data.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"period":{"title":"period","required":["end","start"],"type":"object","properties":{"end":{"type":"integer","description":"The end of the period, which must be greater than or equal to the start. This value is inclusive.","format":"unix-time"},"start":{"type":"integer","description":"The start of the period. This value is inclusive.","format":"unix-time"}},"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://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.","x-stripeMostCommon":["end","start"]},"price_data":{"title":"one_time_price_data_with_product_data","required":["currency"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required."},"product_data":{"title":"product_data","required":["name"],"type":"object","properties":{"description":{"maxLength":40000,"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."},"images":{"type":"array","description":"A list of up to 8 URLs of images for this product, meant to be displayable to the customer.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"description":"Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.","x-stripeMostCommon":["description","images","metadata","name","tax_code","tax_details","unit_label"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","unit_amount"]},"pricing":{"title":"pricing_param","type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."}},"description":"The pricing information for the invoice item.","x-stripeMostCommon":["price"]},"quantity":{"type":"integer","description":"Non-negative integer. The quantity of units for the line item. Use `quantity_decimal` instead to provide decimal precision. This field will be deprecated in favor of `quantity_decimal` in a future version."},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the line item.","format":"decimal"},"tax_amounts":{"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://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.","anyOf":[{"type":"array","items":{"title":"tax_amount_param","required":["amount","tax_rate_data","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the tax."},"tax_rate_data":{"title":"tax_rate_data_param","required":["display_name","inclusive","percentage"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers."},"display_name":{"maxLength":100,"type":"string","description":"The display name of the tax rate, which will be shown to users."},"inclusive":{"type":"boolean","description":"This specifies if the tax rate is inclusive or exclusive."},"jurisdiction":{"maxLength":200,"type":"string","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."},"jurisdiction_level":{"type":"string","description":"The level of the jurisdiction that imposes this tax rate.","enum":["city","country","county","district","multiple","state"]},"percentage":{"type":"number","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."},"state":{"maxLength":5000,"type":"string","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."},"tax_type":{"type":"string","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"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["country","description","display_name","inclusive","jurisdiction","jurisdiction_level","percentage","state","tax_type"]},"taxability_reason":{"type":"string","description":"The reasoning behind this tax, for example, if the product is tax exempt.","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"],"x-stripeBypassValidation":true},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent)."}},"x-stripeMostCommon":["amount","tax_rate_data","taxability_reason","taxable_amount"]}},{"type":"string","enum":[""]}]},"tax_rates":{"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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["amount","description","metadata","period","pricing","quantity_decimal"]},"encoding":{"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"period":{"style":"deepObject","explode":true},"price_data":{"style":"deepObject","explode":true},"pricing":{"style":"deepObject","explode":true},"tax_amounts":{"style":"deepObject","explode":true},"tax_rates":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/line_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/mark_uncollectible":{"post":{"summary":"Mark an invoice as uncollectible","description":"

Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.

","operationId":"PostInvoicesInvoiceMarkUncollectible","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/pay":{"post":{"summary":"Pay an invoice","description":"

Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. 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.

","operationId":"PostInvoicesInvoicePay","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"forgive":{"type":"boolean","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`."},"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 payment_method param or the invoice's default_payment_method or default_source, if set.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"off_session":{"type":"boolean","description":"Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `true` (off-session)."},"paid_out_of_band":{"type":"boolean","description":"Boolean representing whether an invoice is paid outside of Stripe. This will result in no charge being made. Defaults to `false`."},"payment_method":{"maxLength":5000,"type":"string","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."},"source":{"maxLength":5000,"type":"string","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."}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true},"mandate":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/remove_lines":{"post":{"summary":"Bulk remove invoice line items","description":"

Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.

","operationId":"PostInvoicesInvoiceRemoveLines","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["lines"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"lines":{"type":"array","description":"The line items to remove.","items":{"title":"lines_data_param","required":["behavior","id"],"type":"object","properties":{"behavior":{"type":"string","description":"Either `delete` or `unassign`. Deleted line items are permanently deleted. Unassigned line items can be reassigned to an invoice.","enum":["delete","unassign"]},"id":{"maxLength":5000,"type":"string","description":"ID of an existing line item to remove from this invoice."}},"x-stripeMostCommon":["behavior","id"]}}},"additionalProperties":false,"x-stripeMostCommon":["invoice_metadata","lines"]},"encoding":{"expand":{"style":"deepObject","explode":true},"invoice_metadata":{"style":"deepObject","explode":true},"lines":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/send":{"post":{"summary":"Send an invoice for manual payment","description":"

Stripe will automatically send invoices to customers according to your subscriptions settings. 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.

\n\n

Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.

","operationId":"PostInvoicesInvoiceSend","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/update_lines":{"post":{"summary":"Bulk update invoice line items","description":"

Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.

","operationId":"PostInvoicesInvoiceUpdateLines","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["lines"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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://docs.stripe.com/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.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"lines":{"type":"array","description":"The line items to update.","items":{"title":"lines_data_param","required":["id"],"type":"object","properties":{"amount":{"type":"integer","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."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking."},"discountable":{"type":"boolean","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."},"discounts":{"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.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"id":{"maxLength":5000,"type":"string","description":"ID of an existing line item on the invoice."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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://docs.stripe.com/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.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"period":{"title":"period","required":["end","start"],"type":"object","properties":{"end":{"type":"integer","description":"The end of the period, which must be greater than or equal to the start. This value is inclusive.","format":"unix-time"},"start":{"type":"integer","description":"The start of the period. This value is inclusive.","format":"unix-time"}},"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://docs.stripe.com/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://docs.stripe.com/revenue-recognition/methodology/subscriptions-and-invoicing) for details.","x-stripeMostCommon":["end","start"]},"price_data":{"title":"one_time_price_data_with_product_data","required":["currency"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required."},"product_data":{"title":"product_data","required":["name"],"type":"object","properties":{"description":{"maxLength":40000,"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."},"images":{"type":"array","description":"A list of up to 8 URLs of images for this product, meant to be displayable to the customer.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"description":"Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.","x-stripeMostCommon":["description","images","metadata","name","tax_code","tax_details","unit_label"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","unit_amount"]},"pricing":{"title":"pricing_param","type":"object","properties":{"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."}},"description":"The pricing information for the invoice item.","x-stripeMostCommon":["price"]},"quantity":{"type":"integer","description":"Non-negative integer. The quantity of units for the line item. Use `quantity_decimal` instead to provide decimal precision. This field will be deprecated in favor of `quantity_decimal` in a future version."},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the line item.","format":"decimal"},"tax_amounts":{"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://docs.stripe.com/api/invoices/line_item#invoice_line_item_object-tax_rates) or if the invoice has [default_tax_rates](https://docs.stripe.com/api/invoices/object#invoice_object-default_tax_rates) or uses [automatic tax](https://docs.stripe.com/tax/invoicing). Pass an empty string to remove previously defined tax amounts.","anyOf":[{"type":"array","items":{"title":"tax_amount_param","required":["amount","tax_rate_data","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the tax."},"tax_rate_data":{"title":"tax_rate_data_param","required":["display_name","inclusive","percentage"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers."},"display_name":{"maxLength":100,"type":"string","description":"The display name of the tax rate, which will be shown to users."},"inclusive":{"type":"boolean","description":"This specifies if the tax rate is inclusive or exclusive."},"jurisdiction":{"maxLength":200,"type":"string","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."},"jurisdiction_level":{"type":"string","description":"The level of the jurisdiction that imposes this tax rate.","enum":["city","country","county","district","multiple","state"]},"percentage":{"type":"number","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."},"state":{"maxLength":5000,"type":"string","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."},"tax_type":{"type":"string","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"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["country","description","display_name","inclusive","jurisdiction","jurisdiction_level","percentage","state","tax_type"]},"taxability_reason":{"type":"string","description":"The reasoning behind this tax, for example, if the product is tax exempt.","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"],"x-stripeBypassValidation":true},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent)."}},"x-stripeMostCommon":["amount","tax_rate_data","taxability_reason","taxable_amount"]}},{"type":"string","enum":[""]}]},"tax_rates":{"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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","description","id","metadata","period","pricing","quantity_decimal"]}}},"additionalProperties":false,"x-stripeMostCommon":["invoice_metadata","lines"]},"encoding":{"expand":{"style":"deepObject","explode":true},"invoice_metadata":{"style":"deepObject","explode":true},"lines":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/invoices/{invoice}/void":{"post":{"summary":"Void an invoice","description":"

Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to deletion, however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

\n\n

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 issue another invoice or credit note instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.

","operationId":"PostInvoicesInvoiceVoid","parameters":[{"name":"invoice","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/invoice"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/authorizations":{"get":{"summary":"List all authorizations","description":"

Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetIssuingAuthorizations","parameters":[{"name":"card","in":"query","description":"Only return authorizations that belong to the given card.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"cardholder","in":"query","description":"Only return authorizations that belong to the given cardholder.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return authorizations that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return authorizations with the given status. One of `pending`, `closed`, or `reversed`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["closed","expired","pending","reversed"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingAuthorizationList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.authorization"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/issuing/authorizations","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/authorizations/{authorization}":{"get":{"summary":"Retrieve an authorization","description":"

Retrieves an Issuing Authorization object.

","operationId":"GetIssuingAuthorizationsAuthorization","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update an authorization","description":"

Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostIssuingAuthorizationsAuthorization","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/authorizations/{authorization}/approve":{"post":{"summary":"Approve an authorization","description":"

[Deprecated] Approves a pending Issuing Authorization object. This request should be made within the timeout window of the real-time authorization flow. \nThis method is deprecated. Instead, respond directly to the webhook request to approve an authorization.

","operationId":"PostIssuingAuthorizationsAuthorizationApprove","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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://docs.stripe.com/api/issuing/authorizations/decline) to decline an authorization request)."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["amount","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"deprecated":true}},"/v1/issuing/authorizations/{authorization}/decline":{"post":{"summary":"Decline an authorization","description":"

[Deprecated] Declines a pending Issuing Authorization object. This request should be made within the timeout window of the real time authorization flow.\nThis method is deprecated. Instead, respond directly to the webhook request to decline an authorization.

","operationId":"PostIssuingAuthorizationsAuthorizationDecline","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"deprecated":true}},"/v1/issuing/cardholders":{"get":{"summary":"List all cardholders","description":"

Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetIssuingCardholders","parameters":[{"name":"created","in":"query","description":"Only return cardholders that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"email","in":"query","description":"Only return cardholders that have the given email address.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"phone_number","in":"query","description":"Only return cardholders that have the given phone number.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return cardholders that have the given status. One of `active`, `inactive`, or `blocked`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","blocked","inactive"]}},{"name":"type","in":"query","description":"Only return cardholders that have the given type. One of `individual` or `company`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["company","individual"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingCardholderList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.cardholder"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/issuing/cardholders","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a cardholder","description":"

Creates a new Issuing Cardholder object that can be issued cards.

","operationId":"PostIssuingCardholders","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["billing","name"],"type":"object","properties":{"billing":{"title":"billing_specs","required":["address"],"type":"object","properties":{"address":{"title":"required_address","required":["city","country","line1","postal_code"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The cardholder’s billing address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]}},"description":"The cardholder's billing address.","x-stripeMostCommon":["address"]},"company":{"title":"company_param","type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The entity's business ID number."}},"description":"Additional information about a `company` cardholder.","x-stripeMostCommon":["tax_id"]},"email":{"type":"string","description":"The cardholder's email address."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"individual":{"title":"individual_param","type":"object","properties":{"card_issuing":{"title":"card_issuing_param","type":"object","properties":{"user_terms_acceptance":{"title":"terms_acceptance_param","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the cardholder accepted the Authorized User Terms.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the cardholder accepted the Authorized User Terms."},"user_agent":{"description":"The user agent of the browser from which the cardholder accepted the Authorized User Terms.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"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.","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Information related to the card_issuing program for this cardholder.","x-stripeMostCommon":["user_terms_acceptance"]},"dob":{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"The date of birth of this cardholder. Cardholders must be older than 13 years old.","x-stripeMostCommon":["day","month","year"]},"first_name":{"type":"string","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."},"last_name":{"type":"string","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."},"verification":{"title":"person_verification_param","type":"object","properties":{"document":{"title":"person_verification_document_param","type":"object","properties":{"back":{"maxLength":5000,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`."},"front":{"maxLength":5000,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","front"]}},"description":"Government-issued ID document for this cardholder.","x-stripeMostCommon":["document"]}},"description":"Additional information about an `individual` cardholder.","x-stripeMostCommon":["card_issuing","dob","first_name","last_name","user_terms_acceptance","verification"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","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."},"phone_number":{"type":"string","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://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied) for more details."},"preferred_locales":{"type":"array","description":"The cardholder’s preferred locales (languages), ordered by preference. Locales can be `da`, `de`, `en`, `es`, `fr`, `it`, `pl`, or `sv`.\n This changes the language of the [3D Secure flow](https://docs.stripe.com/issuing/3d-secure) and one-time password messages sent to the cardholder.","items":{"type":"string","enum":["de","en","es","fr","it"],"x-stripeBypassValidation":true}},"spending_controls":{"title":"authorization_controls_param_v2","type":"object","properties":{"allowed_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"allowed_merchant_countries":{"type":"array","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"}},"blocked_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"blocked_merchant_countries":{"type":"array","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"}},"spending_limits":{"type":"array","description":"Limit spending with amount-based rules that apply across this cardholder's cards.","items":{"title":"spending_limits_param","required":["amount","interval"],"type":"object","properties":{"amount":{"type":"integer","description":"Maximum amount allowed to spend per interval."},"categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.","items":{"maxLength":5000,"type":"string","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"]}},"interval":{"type":"string","description":"Interval (or event) to which the amount applies.","enum":["all_time","daily","monthly","per_authorization","weekly","yearly"]}},"x-stripeMostCommon":["amount","categories","interval"]}},"spending_limits_currency":{"type":"string","description":"Currency of amounts within `spending_limits`. Defaults to your merchant country's currency."}},"description":"Rules that control spending across this cardholder's cards. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.","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":{"type":"string","description":"Specifies whether to permit authorizations on this cardholder's cards. Defaults to `active`.","enum":["active","inactive"]},"type":{"type":"string","description":"One of `individual` or `company`. See [Choose a cardholder type](https://docs.stripe.com/issuing/other/choose-cardholder) for more details.","enum":["company","individual"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["billing","email","metadata","name","phone_number"]},"encoding":{"billing":{"style":"deepObject","explode":true},"company":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"individual":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"preferred_locales":{"style":"deepObject","explode":true},"spending_controls":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.cardholder"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/cardholders/{cardholder}":{"get":{"summary":"Retrieve a cardholder","description":"

Retrieves an Issuing Cardholder object.

","operationId":"GetIssuingCardholdersCardholder","parameters":[{"name":"cardholder","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.cardholder"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a cardholder","description":"

Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostIssuingCardholdersCardholder","parameters":[{"name":"cardholder","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"billing":{"title":"billing_specs","required":["address"],"type":"object","properties":{"address":{"title":"required_address","required":["city","country","line1","postal_code"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The cardholder’s billing address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]}},"description":"The cardholder's billing address.","x-stripeMostCommon":["address"]},"company":{"title":"company_param","type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The entity's business ID number."}},"description":"Additional information about a `company` cardholder.","x-stripeMostCommon":["tax_id"]},"email":{"type":"string","description":"The cardholder's email address."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"individual":{"title":"individual_param","type":"object","properties":{"card_issuing":{"title":"card_issuing_param","type":"object","properties":{"user_terms_acceptance":{"title":"terms_acceptance_param","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the cardholder accepted the Authorized User Terms.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the cardholder accepted the Authorized User Terms."},"user_agent":{"description":"The user agent of the browser from which the cardholder accepted the Authorized User Terms.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"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.","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Information related to the card_issuing program for this cardholder.","x-stripeMostCommon":["user_terms_acceptance"]},"dob":{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"The date of birth of this cardholder. Cardholders must be older than 13 years old.","x-stripeMostCommon":["day","month","year"]},"first_name":{"type":"string","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."},"last_name":{"type":"string","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."},"verification":{"title":"person_verification_param","type":"object","properties":{"document":{"title":"person_verification_document_param","type":"object","properties":{"back":{"maxLength":5000,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`."},"front":{"maxLength":5000,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","front"]}},"description":"Government-issued ID document for this cardholder.","x-stripeMostCommon":["document"]}},"description":"Additional information about an `individual` cardholder.","x-stripeMostCommon":["card_issuing","dob","first_name","last_name","user_terms_acceptance","verification"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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_number":{"type":"string","description":"The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://docs.stripe.com/issuing/3d-secure) for more details."},"preferred_locales":{"type":"array","description":"The cardholder’s preferred locales (languages), ordered by preference. Locales can be `da`, `de`, `en`, `es`, `fr`, `it`, `pl`, or `sv`.\n This changes the language of the [3D Secure flow](https://docs.stripe.com/issuing/3d-secure) and one-time password messages sent to the cardholder.","items":{"type":"string","enum":["de","en","es","fr","it"],"x-stripeBypassValidation":true}},"spending_controls":{"title":"authorization_controls_param_v2","type":"object","properties":{"allowed_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"allowed_merchant_countries":{"type":"array","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"}},"blocked_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"blocked_merchant_countries":{"type":"array","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"}},"spending_limits":{"type":"array","description":"Limit spending with amount-based rules that apply across this cardholder's cards.","items":{"title":"spending_limits_param","required":["amount","interval"],"type":"object","properties":{"amount":{"type":"integer","description":"Maximum amount allowed to spend per interval."},"categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.","items":{"maxLength":5000,"type":"string","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"]}},"interval":{"type":"string","description":"Interval (or event) to which the amount applies.","enum":["all_time","daily","monthly","per_authorization","weekly","yearly"]}},"x-stripeMostCommon":["amount","categories","interval"]}},"spending_limits_currency":{"type":"string","description":"Currency of amounts within `spending_limits`. Defaults to your merchant country's currency."}},"description":"Rules that control spending across this cardholder's cards. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.","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":{"type":"string","description":"Specifies whether to permit authorizations on this cardholder's cards.","enum":["active","inactive"]}},"additionalProperties":false,"x-stripeMostCommon":["billing","email","metadata","phone_number"]},"encoding":{"billing":{"style":"deepObject","explode":true},"company":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"individual":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"preferred_locales":{"style":"deepObject","explode":true},"spending_controls":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.cardholder"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/cards":{"get":{"summary":"List all cards","description":"

Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetIssuingCards","parameters":[{"name":"cardholder","in":"query","description":"Only return cards belonging to the Cardholder with the provided ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return cards that were issued during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"exp_month","in":"query","description":"Only return cards that have the given expiration month.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"exp_year","in":"query","description":"Only return cards that have the given expiration year.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"last4","in":"query","description":"Only return cards that have the given last four digits.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"personalization_design","in":"query","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return cards that have the given status. One of `active`, `inactive`, or `canceled`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","canceled","inactive"],"x-stripeBypassValidation":true}},{"name":"type","in":"query","description":"Only return cards that have the given type. One of `virtual` or `physical`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["physical","virtual"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingCardList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.card"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/issuing/cards","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a card","description":"

Creates an Issuing Card object.

","operationId":"PostIssuingCards","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["currency","type"],"type":"object","properties":{"cardholder":{"maxLength":5000,"type":"string","description":"The [Cardholder](https://docs.stripe.com/api#issuing_cardholder_object) object with which the card will be associated."},"currency":{"type":"string","description":"The currency for the card."},"exp_month":{"type":"integer","description":"The desired expiration month (1-12) for this card if [specifying a custom expiration date](/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates)."},"exp_year":{"type":"integer","description":"The desired 4-digit expiration year for this card if [specifying a custom expiration date](/issuing/cards/virtual/issue-cards?testing-method=with-code#exp-dates)."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"financial_account":{"type":"string","description":"The new financial account ID the card will be associated with. This field allows a card to be reassigned to a different financial account."},"lifecycle_controls":{"title":"lifecycle_controls_param","required":["cancel_after"],"type":"object","properties":{"cancel_after":{"title":"lifecycle_conditions_param","required":["payment_count"],"type":"object","properties":{"payment_count":{"type":"integer","description":"The card is automatically cancelled when it makes this number of non-zero payment authorizations and transactions. The count includes penny authorizations, but doesn't include non-payment actions, such as authorization advice."}},"description":"Cancels the card after the specified conditions are met.","x-stripeMostCommon":["payment_count"]}},"description":"Rules that control the lifecycle of this card, such as automatic cancellation. Refer to our [documentation](/issuing/controls/lifecycle-controls) for more details.","x-stripeMostCommon":["cancel_after"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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","description":"The personalization design object belonging to this card."},"pin":{"title":"encrypted_pin_param","type":"object","properties":{"encrypted_number":{"maxLength":5000,"type":"string","description":"The card's desired new PIN, encrypted under Stripe's public key."}},"description":"The desired PIN for this card.","x-stripeMostCommon":["encrypted_number"]},"replacement_for":{"maxLength":5000,"type":"string","description":"The card this is meant to be a replacement for (if any)."},"replacement_reason":{"type":"string","description":"If `replacement_for` is specified, this should indicate why that card is being replaced.","enum":["damaged","expired","lost","stolen"],"x-stripeBypassValidation":true},"second_line":{"description":"The second line to print on the card. Max length: 24 characters.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"shipping":{"title":"shipping_specs","required":["address","name"],"type":"object","properties":{"address":{"title":"required_address","required":["city","country","line1","postal_code"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The address that the card is shipped to.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_validation":{"title":"address_validation_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"The address validation capabilities to use.","enum":["disabled","normalization_only","validation_and_normalization"]}},"description":"Address validation settings.","x-stripeMostCommon":["mode"]},"customs":{"title":"customs_param","type":"object","properties":{"eori_number":{"maxLength":5000,"type":"string","description":"The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe."}},"description":"Customs information for the shipment.","x-stripeMostCommon":["eori_number"]},"name":{"maxLength":5000,"type":"string","description":"The name printed on the shipping label when shipping the card."},"phone_number":{"type":"string","description":"Phone number of the recipient of the shipment."},"require_signature":{"type":"boolean","description":"Whether a signature is required for card delivery."},"service":{"type":"string","description":"Shipment service.","enum":["express","priority","standard"],"x-stripeBypassValidation":true},"type":{"type":"string","description":"Packaging options.","enum":["bulk","individual"]}},"description":"The address where the card will be shipped.","x-stripeMostCommon":["address","address_validation","customs","name","phone_number","require_signature","service","speed","type"]},"spending_controls":{"title":"authorization_controls_param","type":"object","properties":{"allowed_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"allowed_merchant_countries":{"type":"array","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"}},"blocked_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"blocked_merchant_countries":{"type":"array","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"}},"spending_limits":{"type":"array","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":{"title":"spending_limits_param","required":["amount","interval"],"type":"object","properties":{"amount":{"type":"integer","description":"Maximum amount allowed to spend per interval."},"categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.","items":{"maxLength":5000,"type":"string","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"]}},"interval":{"type":"string","description":"Interval (or event) to which the amount applies.","enum":["all_time","daily","monthly","per_authorization","weekly","yearly"]}},"x-stripeMostCommon":["amount","categories","interval"]}}},"description":"Rules that control spending for this card. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.","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":{"type":"string","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":{"type":"string","description":"The type of card to issue. Possible values are `physical` or `virtual`.","enum":["physical","virtual"]}},"additionalProperties":false,"x-stripeMostCommon":["cardholder","currency","exp_month","exp_year","metadata","status","type"]},"encoding":{"expand":{"style":"deepObject","explode":true},"lifecycle_controls":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"pin":{"style":"deepObject","explode":true},"second_line":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true},"spending_controls":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/cards/{card}":{"get":{"summary":"Retrieve a card","description":"

Retrieves an Issuing Card object.

","operationId":"GetIssuingCardsCard","parameters":[{"name":"card","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a card","description":"

Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostIssuingCardsCard","parameters":[{"name":"card","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"cancellation_reason":{"type":"string","description":"Reason why the `status` of this card is `canceled`.","enum":["lost","stolen"],"x-stripeBypassValidation":true},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"personalization_design":{"maxLength":5000,"type":"string"},"pin":{"title":"encrypted_pin_param","type":"object","properties":{"encrypted_number":{"maxLength":5000,"type":"string","description":"The card's desired new PIN, encrypted under Stripe's public key."}},"description":"The desired new PIN for this card.","x-stripeMostCommon":["encrypted_number"]},"shipping":{"title":"shipping_specs","required":["address","name"],"type":"object","properties":{"address":{"title":"required_address","required":["city","country","line1","postal_code"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The address that the card is shipped to.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_validation":{"title":"address_validation_param","required":["mode"],"type":"object","properties":{"mode":{"type":"string","description":"The address validation capabilities to use.","enum":["disabled","normalization_only","validation_and_normalization"]}},"description":"Address validation settings.","x-stripeMostCommon":["mode"]},"customs":{"title":"customs_param","type":"object","properties":{"eori_number":{"maxLength":5000,"type":"string","description":"The Economic Operators Registration and Identification (EORI) number to use for Customs. Required for bulk shipments to Europe."}},"description":"Customs information for the shipment.","x-stripeMostCommon":["eori_number"]},"name":{"maxLength":5000,"type":"string","description":"The name printed on the shipping label when shipping the card."},"phone_number":{"type":"string","description":"Phone number of the recipient of the shipment."},"require_signature":{"type":"boolean","description":"Whether a signature is required for card delivery."},"service":{"type":"string","description":"Shipment service.","enum":["express","priority","standard"],"x-stripeBypassValidation":true},"type":{"type":"string","description":"Packaging options.","enum":["bulk","individual"]}},"description":"Updated shipping information for the card.","x-stripeMostCommon":["address","address_validation","customs","name","phone_number","require_signature","service","speed","type"]},"spending_controls":{"title":"authorization_controls_param","type":"object","properties":{"allowed_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"allowed_merchant_countries":{"type":"array","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"}},"blocked_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.","items":{"maxLength":5000,"type":"string","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"]}},"blocked_merchant_countries":{"type":"array","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"}},"spending_limits":{"type":"array","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":{"title":"spending_limits_param","required":["amount","interval"],"type":"object","properties":{"amount":{"type":"integer","description":"Maximum amount allowed to spend per interval."},"categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.","items":{"maxLength":5000,"type":"string","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"]}},"interval":{"type":"string","description":"Interval (or event) to which the amount applies.","enum":["all_time","daily","monthly","per_authorization","weekly","yearly"]}},"x-stripeMostCommon":["amount","categories","interval"]}}},"description":"Rules that control spending for this card. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.","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":{"type":"string","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"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["cancellation_reason","metadata","status"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"pin":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true},"spending_controls":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/disputes":{"get":{"summary":"List all disputes","description":"

Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetIssuingDisputes","parameters":[{"name":"created","in":"query","description":"Only return Issuing disputes that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Select Issuing disputes with the given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["expired","lost","submitted","unsubmitted","won"]}},{"name":"transaction","in":"query","description":"Select the Issuing dispute for the given transaction.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingDisputeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.dispute"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/issuing/disputes","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a dispute","description":"

Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to Dispute reasons and evidence for more details about evidence requirements.

","operationId":"PostIssuingDisputes","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"The dispute amount in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). If not set, defaults to the full transaction amount."},"evidence":{"title":"evidence_param","type":"object","properties":{"canceled":{"description":"Evidence provided when `reason` is 'canceled'.","anyOf":[{"title":"canceled","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"canceled_at":{"description":"Date when order was canceled.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"cancellation_policy_provided":{"description":"Whether the cardholder was provided with a cancellation policy.","anyOf":[{"type":"boolean"},{"type":"string","enum":[""]}]},"cancellation_reason":{"description":"Reason for canceling the order.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"expected_at":{"description":"Date when the cardholder expected to receive the product.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_description":{"description":"Description of the merchandise or service that was purchased.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","enum":["","merchandise","service"]},"return_status":{"type":"string","description":"Result of cardholder's attempt to return the product.","enum":["","merchant_rejected","successful"]},"returned_at":{"description":"Date when the product was returned or attempted to be returned.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","canceled_at","cancellation_policy_provided","cancellation_reason","expected_at","explanation","product_description","product_type","return_status","returned_at"]},{"type":"string","enum":[""]}]},"duplicate":{"description":"Evidence provided when `reason` is 'duplicate'.","anyOf":[{"title":"duplicate","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"card_statement":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"cash_receipt":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"check_image":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"original_transaction":{"maxLength":5000,"type":"string","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."}},"x-stripeMostCommon":["additional_documentation","card_statement","cash_receipt","check_image","explanation","original_transaction"]},{"type":"string","enum":[""]}]},"fraudulent":{"description":"Evidence provided when `reason` is 'fraudulent'.","anyOf":[{"title":"fraudulent","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","explanation"]},{"type":"string","enum":[""]}]},"merchandise_not_as_described":{"description":"Evidence provided when `reason` is 'merchandise_not_as_described'.","anyOf":[{"title":"merchandise_not_as_described","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"received_at":{"description":"Date when the product was received.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"return_description":{"description":"Description of the cardholder's attempt to return the product.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"return_status":{"type":"string","description":"Result of cardholder's attempt to return the product.","enum":["","merchant_rejected","successful"]},"returned_at":{"description":"Date when the product was returned or attempted to be returned.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","explanation","received_at","return_description","return_status","returned_at"]},{"type":"string","enum":[""]}]},"no_valid_authorization":{"description":"Evidence provided when `reason` is 'no_valid_authorization'.","anyOf":[{"title":"no_valid_authorization","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","explanation"]},{"type":"string","enum":[""]}]},"not_received":{"description":"Evidence provided when `reason` is 'not_received'.","anyOf":[{"title":"not_received","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"expected_at":{"description":"Date when the cardholder expected to receive the product.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_description":{"description":"Description of the merchandise or service that was purchased.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","enum":["","merchandise","service"]}},"x-stripeMostCommon":["additional_documentation","expected_at","explanation","product_description","product_type"]},{"type":"string","enum":[""]}]},"other":{"description":"Evidence provided when `reason` is 'other'.","anyOf":[{"title":"other","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_description":{"description":"Description of the merchandise or service that was purchased.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","enum":["","merchandise","service"]}},"x-stripeMostCommon":["additional_documentation","explanation","product_description","product_type"]},{"type":"string","enum":[""]}]},"reason":{"type":"string","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"],"x-stripeBypassValidation":true},"service_not_as_described":{"description":"Evidence provided when `reason` is 'service_not_as_described'.","anyOf":[{"title":"service_not_as_described","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"canceled_at":{"description":"Date when order was canceled.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"cancellation_reason":{"description":"Reason for canceling the order.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"received_at":{"description":"Date when the product was received.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","canceled_at","cancellation_reason","explanation","received_at"]},{"type":"string","enum":[""]}]}},"description":"Evidence provided for the dispute.","x-stripeMostCommon":["canceled","duplicate","fraudulent","merchandise_not_as_described","no_valid_authorization","not_received","other","reason","service_not_as_described"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"transaction":{"maxLength":5000,"type":"string","description":"The ID of the issuing transaction to create a dispute for. For transaction on Treasury FinancialAccounts, use `treasury.received_debit`."},"treasury":{"title":"treasury_param","required":["received_debit"],"type":"object","properties":{"received_debit":{"maxLength":5000,"type":"string","description":"The ID of the ReceivedDebit to initiate an Issuings dispute for."}},"description":"Params for disputes related to Treasury FinancialAccounts","x-stripeMostCommon":["received_debit"]}},"additionalProperties":false,"x-stripeMostCommon":["evidence","metadata","transaction"]},"encoding":{"evidence":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"treasury":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/disputes/{dispute}":{"get":{"summary":"Retrieve a dispute","description":"

Retrieves an Issuing Dispute object.

","operationId":"GetIssuingDisputesDispute","parameters":[{"name":"dispute","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a dispute","description":"

Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string.

","operationId":"PostIssuingDisputesDispute","parameters":[{"name":"dispute","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"The dispute amount in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"evidence":{"title":"evidence_param","type":"object","properties":{"canceled":{"description":"Evidence provided when `reason` is 'canceled'.","anyOf":[{"title":"canceled","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"canceled_at":{"description":"Date when order was canceled.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"cancellation_policy_provided":{"description":"Whether the cardholder was provided with a cancellation policy.","anyOf":[{"type":"boolean"},{"type":"string","enum":[""]}]},"cancellation_reason":{"description":"Reason for canceling the order.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"expected_at":{"description":"Date when the cardholder expected to receive the product.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_description":{"description":"Description of the merchandise or service that was purchased.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","enum":["","merchandise","service"]},"return_status":{"type":"string","description":"Result of cardholder's attempt to return the product.","enum":["","merchant_rejected","successful"]},"returned_at":{"description":"Date when the product was returned or attempted to be returned.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","canceled_at","cancellation_policy_provided","cancellation_reason","expected_at","explanation","product_description","product_type","return_status","returned_at"]},{"type":"string","enum":[""]}]},"duplicate":{"description":"Evidence provided when `reason` is 'duplicate'.","anyOf":[{"title":"duplicate","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"card_statement":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"cash_receipt":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"check_image":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"original_transaction":{"maxLength":5000,"type":"string","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."}},"x-stripeMostCommon":["additional_documentation","card_statement","cash_receipt","check_image","explanation","original_transaction"]},{"type":"string","enum":[""]}]},"fraudulent":{"description":"Evidence provided when `reason` is 'fraudulent'.","anyOf":[{"title":"fraudulent","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","explanation"]},{"type":"string","enum":[""]}]},"merchandise_not_as_described":{"description":"Evidence provided when `reason` is 'merchandise_not_as_described'.","anyOf":[{"title":"merchandise_not_as_described","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"received_at":{"description":"Date when the product was received.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"return_description":{"description":"Description of the cardholder's attempt to return the product.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"return_status":{"type":"string","description":"Result of cardholder's attempt to return the product.","enum":["","merchant_rejected","successful"]},"returned_at":{"description":"Date when the product was returned or attempted to be returned.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","explanation","received_at","return_description","return_status","returned_at"]},{"type":"string","enum":[""]}]},"no_valid_authorization":{"description":"Evidence provided when `reason` is 'no_valid_authorization'.","anyOf":[{"title":"no_valid_authorization","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","explanation"]},{"type":"string","enum":[""]}]},"not_received":{"description":"Evidence provided when `reason` is 'not_received'.","anyOf":[{"title":"not_received","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"expected_at":{"description":"Date when the cardholder expected to receive the product.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_description":{"description":"Description of the merchandise or service that was purchased.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","enum":["","merchandise","service"]}},"x-stripeMostCommon":["additional_documentation","expected_at","explanation","product_description","product_type"]},{"type":"string","enum":[""]}]},"other":{"description":"Evidence provided when `reason` is 'other'.","anyOf":[{"title":"other","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_description":{"description":"Description of the merchandise or service that was purchased.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","enum":["","merchandise","service"]}},"x-stripeMostCommon":["additional_documentation","explanation","product_description","product_type"]},{"type":"string","enum":[""]}]},"reason":{"type":"string","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"],"x-stripeBypassValidation":true},"service_not_as_described":{"description":"Evidence provided when `reason` is 'service_not_as_described'.","anyOf":[{"title":"service_not_as_described","type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"canceled_at":{"description":"Date when order was canceled.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"cancellation_reason":{"description":"Reason for canceling the order.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"explanation":{"description":"Explanation of why the cardholder is disputing this transaction.","anyOf":[{"maxLength":2500,"type":"string"},{"type":"string","enum":[""]}]},"received_at":{"description":"Date when the product was received.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["additional_documentation","canceled_at","cancellation_reason","explanation","received_at"]},{"type":"string","enum":[""]}]}},"description":"Evidence provided for the dispute.","x-stripeMostCommon":["canceled","duplicate","fraudulent","merchandise_not_as_described","no_valid_authorization","not_received","other","reason","service_not_as_described"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["evidence","metadata"]},"encoding":{"evidence":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/disputes/{dispute}/submit":{"post":{"summary":"Submit a dispute","description":"

Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute’s reason are present. For more details, see Dispute reasons and evidence.

","operationId":"PostIssuingDisputesDisputeSubmit","parameters":[{"name":"dispute","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.dispute"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/personalization_designs":{"get":{"summary":"List all personalization designs","description":"

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.

","operationId":"GetIssuingPersonalizationDesigns","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"lookup_keys","in":"query","description":"Only return personalization designs with the given lookup keys.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":200,"type":"string"}}},{"name":"preferences","in":"query","description":"Only return personalization designs with the given preferences.","required":false,"style":"deepObject","explode":true,"schema":{"title":"preferences_list_param","type":"object","properties":{"is_default":{"type":"boolean","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."},"is_platform_default":{"type":"boolean","description":"Only return the personalization design that is set as the Connect platform's default. This parameter is only applicable to connected accounts."}},"x-stripeMostCommon":["is_default","is_platform_default"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return personalization designs with the given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive","rejected","review"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingPersonalizationDesignList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.personalization_design"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/issuing/personalization_designs","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a personalization design","description":"

Creates a personalization design object.

","operationId":"PostIssuingPersonalizationDesigns","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["physical_bundle"],"type":"object","properties":{"card_logo":{"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":{"title":"carrier_text_param","type":"object","properties":{"footer_body":{"description":"The footer body text of the carrier letter.","anyOf":[{"maxLength":200,"type":"string"},{"type":"string","enum":[""]}]},"footer_title":{"description":"The footer title text of the carrier letter.","anyOf":[{"maxLength":30,"type":"string"},{"type":"string","enum":[""]}]},"header_body":{"description":"The header body text of the carrier letter.","anyOf":[{"maxLength":200,"type":"string"},{"type":"string","enum":[""]}]},"header_title":{"description":"The header title text of the carrier letter.","anyOf":[{"maxLength":30,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Hash containing carrier text, for use with physical bundles that support carrier text.","x-stripeMostCommon":["footer_body","footer_title","header_body","header_title"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"lookup_key":{"maxLength":200,"type":"string","description":"A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":200,"type":"string","description":"Friendly display name."},"physical_bundle":{"maxLength":5000,"type":"string","description":"The physical bundle object belonging to this personalization design."},"preferences":{"title":"preferences_param","required":["is_default"],"type":"object","properties":{"is_default":{"type":"boolean","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."}},"description":"Information on whether this personalization design is used to create cards when one is not specified.","x-stripeMostCommon":["is_default"]},"transfer_lookup_key":{"type":"boolean","description":"If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design."}},"additionalProperties":false,"x-stripeMostCommon":["card_logo","carrier_text","lookup_key","metadata","name","physical_bundle","preferences","transfer_lookup_key"]},"encoding":{"carrier_text":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"preferences":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.personalization_design"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/personalization_designs/{personalization_design}":{"get":{"summary":"Retrieve a personalization design","description":"

Retrieves a personalization design object.

","operationId":"GetIssuingPersonalizationDesignsPersonalizationDesign","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"personalization_design","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.personalization_design"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a personalization design","description":"

Updates a card personalization object.

","operationId":"PostIssuingPersonalizationDesignsPersonalizationDesign","parameters":[{"name":"personalization_design","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","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`.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"carrier_text":{"description":"Hash containing carrier text, for use with physical bundles that support carrier text.","anyOf":[{"title":"carrier_text_param","type":"object","properties":{"footer_body":{"description":"The footer body text of the carrier letter.","anyOf":[{"maxLength":200,"type":"string"},{"type":"string","enum":[""]}]},"footer_title":{"description":"The footer title text of the carrier letter.","anyOf":[{"maxLength":30,"type":"string"},{"type":"string","enum":[""]}]},"header_body":{"description":"The header body text of the carrier letter.","anyOf":[{"maxLength":200,"type":"string"},{"type":"string","enum":[""]}]},"header_title":{"description":"The header title text of the carrier letter.","anyOf":[{"maxLength":30,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["footer_body","footer_title","header_body","header_title"]},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"lookup_key":{"description":"A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.","anyOf":[{"maxLength":200,"type":"string"},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":"Friendly display name. Providing an empty string will set the field to null.","anyOf":[{"maxLength":200,"type":"string"},{"type":"string","enum":[""]}]},"physical_bundle":{"maxLength":5000,"type":"string","description":"The physical bundle object belonging to this personalization design."},"preferences":{"title":"preferences_param","required":["is_default"],"type":"object","properties":{"is_default":{"type":"boolean","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."}},"description":"Information on whether this personalization design is used to create cards when one is not specified.","x-stripeMostCommon":["is_default"]},"transfer_lookup_key":{"type":"boolean","description":"If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design."}},"additionalProperties":false,"x-stripeMostCommon":["card_logo","carrier_text","lookup_key","metadata","name","physical_bundle","preferences","transfer_lookup_key"]},"encoding":{"card_logo":{"style":"deepObject","explode":true},"carrier_text":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"lookup_key":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"name":{"style":"deepObject","explode":true},"preferences":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.personalization_design"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/physical_bundles":{"get":{"summary":"List all physical bundles","description":"

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.

","operationId":"GetIssuingPhysicalBundles","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return physical bundles with the given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","inactive","review"]}},{"name":"type","in":"query","description":"Only return physical bundles with the given type.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["custom","standard"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingPhysicalBundleList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.physical_bundle"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/issuing/physical_bundles","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/physical_bundles/{physical_bundle}":{"get":{"summary":"Retrieve a physical bundle","description":"

Retrieves a physical bundle object.

","operationId":"GetIssuingPhysicalBundlesPhysicalBundle","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"physical_bundle","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.physical_bundle"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/tokens":{"get":{"summary":"List all issuing tokens for card","description":"

Lists all Issuing Token objects for a given card.

","operationId":"GetIssuingTokens","parameters":[{"name":"card","in":"query","description":"The Issuing card identifier to list tokens for.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return Issuing tokens that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Select Issuing tokens with the given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","deleted","requested","suspended"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingNetworkTokenList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.token"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/tokens/{token}":{"get":{"summary":"Retrieve an issuing token","description":"

Retrieves an Issuing Token object.

","operationId":"GetIssuingTokensToken","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"token","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a token status","description":"

Attempts to update the specified Issuing Token object to the status specified.

","operationId":"PostIssuingTokensToken","parameters":[{"name":"token","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["status"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"status":{"type":"string","description":"Specifies which status the token should be updated to.","enum":["active","deleted","suspended"]}},"additionalProperties":false,"x-stripeMostCommon":["status"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/transactions":{"get":{"summary":"List all transactions","description":"

Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetIssuingTransactions","parameters":[{"name":"card","in":"query","description":"Only return transactions that belong to the given card.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"cardholder","in":"query","description":"Only return transactions that belong to the given cardholder.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","description":"Only return transactions that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","description":"Only return transactions that have the given type. One of `capture` or `refund`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["capture","refund"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"IssuingTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/issuing.transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/issuing/transactions","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/issuing/transactions/{transaction}":{"get":{"summary":"Retrieve a transaction","description":"

Retrieves an Issuing Transaction object.

","operationId":"GetIssuingTransactionsTransaction","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a transaction","description":"

Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostIssuingTransactionsTransaction","parameters":[{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/mandates/{mandate}":{"get":{"summary":"Retrieve a Mandate","description":"

Retrieves a Mandate object.

","operationId":"GetMandatesMandate","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"mandate","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/mandate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_attempt_records":{"get":{"summary":"List Payment Attempt Records","description":"

List all the Payment Attempt Records attached to the specified Payment Record.

","operationId":"GetPaymentAttemptRecords","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_record","in":"query","description":"The ID of the Payment Record.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentAttemptRecordList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_attempt_record"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"A list of PaymentAttemptRecords.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_attempt_records/{id}":{"get":{"summary":"Retrieve a Payment Attempt Record","description":"

Retrieves a Payment Attempt Record with the given ID

","operationId":"GetPaymentAttemptRecordsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"The ID of the Payment Attempt Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_attempt_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents":{"get":{"summary":"List all PaymentIntents","description":"

Returns a list of PaymentIntents.

","operationId":"GetPaymentIntents","parameters":[{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return PaymentIntents for the customer that this customer ID specifies.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return PaymentIntents for the account representing the customer that this ID specifies.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentFlowsPaymentIntentList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_intent"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/payment_intents","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a PaymentIntent","description":"

Creates a PaymentIntent object.

\n\n

After the PaymentIntent is created, attach a payment method and confirm\nto continue the payment. Learn more about the available payment flows\nwith the Payment Intents API.

\n\n

When you use confirm=true during creation, it’s equivalent to creating\nand confirming the PaymentIntent in the same call. You can use any parameters\navailable in the confirm API when you supply\nconfirm=true.

","operationId":"PostPaymentIntents","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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)."},"amount_details":{"title":"amount_details_param","type":"object","properties":{"discount_amount":{"description":"The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_arithmetic_validation":{"type":"boolean","description":"Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.\n\nOmit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.\n\nFor card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error."},"line_items":{"description":"A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.","anyOf":[{"type":"array","items":{"title":"amount_details_line_item_param","required":["product_name","quantity","unit_cost"],"type":"object","properties":{"discount_amount":{"type":"integer","description":"The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field."},"payment_method_options":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"card":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card` payment method.","x-stripeMostCommon":["commodity_code"]},"card_present":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card_present` payment method.","x-stripeMostCommon":["commodity_code"]},"klarna":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"image_url":{"maxLength":4096,"type":"string","description":"URL to an image for the product. Max length, 4096 characters."},"product_url":{"maxLength":4096,"type":"string","description":"URL to the product page. Max length, 4096 characters."},"reference":{"maxLength":255,"type":"string","description":"Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed."},"subscription_reference":{"maxLength":255,"type":"string","description":"Reference for the subscription this line item is for."}},"description":"This sub-hash contains line item details that are specific to the `klarna` payment method.","x-stripeMostCommon":["image_url","product_url","reference","subscription_reference"]},"paypal":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"category":{"type":"string","description":"Type of the line item.","enum":["digital_goods","donation","physical_goods"]},"description":{"maxLength":127,"type":"string","description":"Description of the line item."},"sold_by":{"maxLength":127,"type":"string","description":"The Stripe account ID of the connected account that sells the item."}},"description":"This sub-hash contains line item details that are specific to the `paypal` payment method.","x-stripeMostCommon":["category","description","sold_by"]}},"description":"Payment method-specific information for line items.","x-stripeMostCommon":["card","card_present","dummy_auth_push","klarna","link","paypal"]},"product_code":{"maxLength":12,"type":"string","description":"The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long."},"product_name":{"maxLength":1024,"type":"string","description":"The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters."},"quantity":{"type":"integer","description":"The quantity of items. Required for L3 rates. An integer greater than 0."},"tax":{"title":"amount_details_line_item_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field."}},"description":"Contains information about the tax on the item.","x-stripeMostCommon":["total_tax_amount"]},"unit_cost":{"type":"integer","description":"The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0."},"unit_of_measure":{"maxLength":12,"type":"string","description":"A unit of measure for the line item, such as gallons, feet, meters, etc."}},"x-stripeMostCommon":["discount_amount","payment_method_options","product_code","product_name","quantity","tax","unit_cost","unit_of_measure"]}},{"type":"string","enum":[""]}]},"shipping":{"description":"Contains information about the shipping portion of the amount.","anyOf":[{"title":"amount_details_shipping_param","type":"object","properties":{"amount":{"description":"If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"from_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]},"to_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"tax":{"description":"Contains information about the tax portion of the amount.","anyOf":[{"title":"amount_details_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field."}},"x-stripeMostCommon":["total_tax_amount"]},{"type":"string","enum":[""]}]}},"description":"Provides industry-specific information about the amount.","x-stripeMostCommon":["discount_amount","enforce_arithmetic_validation","line_items","shipping","surcharge","tax"]},"application_fee_amount":{"type":"integer","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 amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts)."},"automatic_payment_methods":{"title":"automatic_payment_methods_param","required":["enabled"],"type":"object","properties":{"allow_redirects":{"type":"string","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://docs.stripe.com/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"]},"enabled":{"type":"boolean","description":"Whether this feature is enabled."}},"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.","x-stripeMostCommon":["allow_redirects","enabled"]},"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["automatic","automatic_async","manual"]},"confirm":{"type":"boolean","description":"Set to `true` to attempt to [confirm this PaymentIntent](https://docs.stripe.com/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://docs.stripe.com/api/payment_intents/confirm)."},"confirmation_method":{"type":"string","description":"Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.","enum":["automatic","manual"]},"confirmation_token":{"maxLength":5000,"type":"string","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."},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","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://api.stripe.com#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."},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Accounts cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://api.stripe.com#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 Account 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 Account instead."},"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"error_on_requires_action":{"type":"boolean","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://docs.stripe.com/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm)."},"excluded_payment_method_types":{"type":"array","description":"The list of payment method types to exclude from use with this payment.","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"hooks":{"title":"async_workflows_param","type":"object","properties":{"inputs":{"title":"async_workflows_inputs_param","type":"object","properties":{"tax":{"title":"async_workflows_inputs_tax_param","required":["calculation"],"type":"object","properties":{"calculation":{"description":"The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax arguments for automations","x-stripeMostCommon":["calculation"]}},"description":"Arguments passed in automations","x-stripeMostCommon":["tax"]}},"description":"Automations to be run during the PaymentIntent lifecycle","x-stripeMostCommon":["inputs"]},"mandate":{"maxLength":5000,"type":"string","description":"ID of the mandate that's used for this payment. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm)."},"mandate_data":{"description":"This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).","anyOf":[{"title":"secret_key_param","required":["customer_acceptance"],"type":"object","properties":{"customer_acceptance":{"title":"customer_acceptance_param","required":["type"],"type":"object","properties":{"accepted_at":{"type":"integer","description":"The time at which the customer accepted the Mandate.","format":"unix-time"},"offline":{"title":"offline_param","type":"object","properties":{},"description":"If this is a Mandate accepted offline, this hash contains details about the offline acceptance."},"online":{"title":"online_param","required":["ip_address","user_agent"],"type":"object","properties":{"ip_address":{"type":"string","description":"The IP address from which the Mandate was accepted by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the Mandate was accepted by the customer."}},"description":"If this is a Mandate accepted online, this hash contains details about the online acceptance.","x-stripeMostCommon":["ip_address","user_agent"]},"type":{"maxLength":5000,"type":"string","description":"The type of customer acceptance information included with the Mandate. One of `online` or `offline`.","enum":["offline","online"]}},"description":"This hash contains details about the customer acceptance of the Mandate.","x-stripeMostCommon":["accepted_at","offline","online","type"]}},"x-stripeMostCommon":["customer_acceptance"]},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":"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://docs.stripe.com/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm).","anyOf":[{"type":"boolean"},{"maxLength":5000,"type":"string","enum":["one_off","recurring"]}]},"on_behalf_of":{"type":"string","description":"The Stripe account ID that these funds are intended for. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts)."},"payment_details":{"title":"payment_details","type":"object","properties":{"customer_reference":{"description":"A unique value to identify the customer. This field is available only for card payments.\n\nThis field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"order_reference":{"description":"A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.\n\nFor Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Provides industry-specific information about the charge.","x-stripeMostCommon":["benefit","car_rental","car_rental_data","event_details","flight","flight_data","healthcare","lodging","lodging_data","subscription"]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/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.\nIf the payment method is attached to a Customer, you must also provide the ID of that Customer as the [customer](https://api.stripe.com#create_payment_intent-customer) parameter of this PaymentIntent.\nend"},"payment_method_configuration":{"maxLength":100,"type":"string","description":"The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent."},"payment_method_data":{"title":"payment_method_data_params","required":["type"],"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"description":"If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear\nin the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)\nproperty on the PaymentIntent.","x-stripeMostCommon":["billing_details","metadata","type"]},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"acss_debit":{"description":"If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"custom_mandate_url":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"interval_description":{"maxLength":500,"type":"string","description":"Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'."},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["custom_mandate_url","interval_description","payment_schedule","transaction_type"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","mandate_options","setup_future_usage","target_date","verification_method"]},{"type":"string","enum":[""]}]},"affirm":{"description":"If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"preferred_locale":{"maxLength":30,"type":"string","description":"Preferred language of the Affirm authorization page that the customer is redirected to."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","preferred_locale","purchase_details","request_decremental_authorization","request_multicapture","setup_future_usage"]},{"type":"string","enum":[""]}]},"afterpay_clearpay":{"description":"If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"reference":{"maxLength":128,"type":"string","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."},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"alipay":{"description":"If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"alma":{"description":"If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"amazon_pay":{"description":"If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","charge_metadata","charge_permission_id","setup_future_usage"]},{"type":"string","enum":[""]}]},"au_becs_debit":{"description":"If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"bacs_debit":{"description":"If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"bancontact":{"description":"If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["preferred_language","setup_future_usage"]},{"type":"string","enum":[""]}]},"billie":{"description":"If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","company_details","extra_merchant_data_blob","reference","request_decremental_authorization","request_extended_authorization","request_incremental_authorization","request_multicapture","request_overcapture"]},{"type":"string","enum":[""]}]},"blik":{"description":"If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"code":{"maxLength":5000,"type":"string","description":"The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation."},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["code","mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"boleto":{"description":"If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},{"type":"string","enum":[""]}]},"card":{"description":"Configuration for any card payments attempted on this PaymentIntent.","anyOf":[{"title":"payment_intent_param","type":"object","properties":{"capture_method":{"type":"string","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"],"x-stripeBypassValidation":true},"cvc_token":{"maxLength":5000,"type":"string","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."},"installments":{"title":"installments_param","type":"object","properties":{"enabled":{"type":"boolean","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."},"plan":{"description":"The selected installment plan to use for this payment attempt.\nThis parameter can only be provided during confirmation.","anyOf":[{"title":"installment_plan","required":["type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card."},"interval":{"type":"string","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":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.","enum":["bonus","fixed_count","revolving"]}},"x-stripeMostCommon":["count","interval","type"]},{"type":"string","enum":[""]}]}},"description":"Installment configuration for payments attempted on this PaymentIntent.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).","x-stripeMostCommon":["enabled","plan"]},"mandate_options":{"title":"mandate_options_param","required":["amount","amount_type","interval","reference","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","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"},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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`."},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","items":{"type":"string","enum":["india"]}}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","description","end_date","interval","interval_count","reference","start_date","supported_types"]},"moto":{"type":"boolean","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."},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_extended_authorization":{"type":"string","description":"Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_incremental_authorization":{"type":"string","description":"Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_multicapture":{"type":"string","description":"Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.","enum":["if_available","never"]},"request_overcapture":{"type":"string","description":"Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.","enum":["if_available","never"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"require_cvc_recollection":{"type":"boolean","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)."},"setup_future_usage":{"type":"string","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"]},"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.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":17,"type":"string"},{"type":"string","enum":[""]}]},"three_d_secure":{"title":"payment_method_options_param","required":["cryptogram","transaction_id","version"],"type":"object","properties":{"ares_trans_status":{"type":"string","description":"The `transStatus` returned from the card Issuer’s ACS in the ARes.","enum":["A","C","I","N","R","U","Y"]},"cryptogram":{"maxLength":5000,"type":"string","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.)"},"electronic_commerce_indicator":{"type":"string","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"],"x-stripeBypassValidation":true},"exemption_indicator":{"type":"string","description":"The exemption requested via 3DS and accepted by the issuer at authentication time.","enum":["low_risk","none"]},"network_options":{"title":"network_options_param","type":"object","properties":{"cartes_bancaires":{"title":"cartes_bancaires_network_options_param","required":["cb_avalgo"],"type":"object","properties":{"cb_avalgo":{"type":"string","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"]},"cb_exemption":{"maxLength":4,"type":"string","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"},"cb_score":{"type":"integer","description":"The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99"}},"description":"Cartes Bancaires-specific 3DS fields.","x-stripeMostCommon":["cb_avalgo","cb_exemption","cb_score"]}},"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","x-stripeMostCommon":["cartes_bancaires"]},"requestor_challenge_indicator":{"maxLength":2,"type":"string","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."},"transaction_id":{"maxLength":5000,"type":"string","description":"For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID)."},"version":{"type":"string","description":"The version of 3D Secure that was performed.","enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this payment.","x-stripeMostCommon":["ares_trans_status","cryptogram","electronic_commerce_indicator","exemption_indicator","network_options","requestor_challenge_indicator","transaction_id","version"]}},"x-stripeMostCommon":["allow_partial_amount","buy_now_pay_later_options","capture_delay_days","capture_method","commerce_type","credential_on_file","cvc_token","installments","mandate_options","mcc","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_reauthorization","request_three_d_secure","require_cvc_recollection","secure_corporate_payment","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"]},{"type":"string","enum":[""]}]},"card_present":{"description":"If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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","manual_preferred"]},"request_extended_authorization":{"type":"boolean","description":"Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)"},"request_incremental_authorization_support":{"type":"boolean","description":"Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support."},"routing":{"title":"routing_payment_method_options_param","type":"object","properties":{"requested_priority":{"type":"string","description":"Routing requested priority","enum":["domestic","international"]}},"description":"Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.","x-stripeMostCommon":["requested_priority"]}},"x-stripeMostCommon":["buy_now_pay_later_options","capture_method","recipient_details","request_extended_authorization","request_flexible_extended_authorization","request_incremental_authorization","request_incremental_authorization_support","request_multicapture","request_partial_authorization","request_reauthorization","routing","sender_details"]},{"type":"string","enum":[""]}]},"cashapp":{"description":"If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","request_incremental_authorization","restricted_transaction_categories","setup_future_usage"]},{"type":"string","enum":[""]}]},"crypto":{"description":"If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["deposit_options","mode","setup_future_usage"]},{"type":"string","enum":[""]}]},"customer_balance":{"description":"If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_params","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for the eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"requested_address_types":{"type":"array","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":{"type":"string","enum":["aba","iban","sepa","sort_code","spei","swift","zengin"],"x-stripeBypassValidation":true}},"type":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_account","id_bank_transfer","requested_address_types","type"]},"funding_type":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["bank_transfer","funding_type","setup_future_usage"]},{"type":"string","enum":[""]}]},"eps":{"description":"If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"fpx":{"description":"If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"giropay":{"description":"If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"grabpay":{"description":"If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"ideal":{"description":"If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"interac_present":{"description":"If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{}},{"type":"string","enum":[""]}]},"kakao_pay":{"description":"If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"klarna":{"description":"If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"on_demand":{"title":"on_demand_param","type":"object","properties":{"average_amount":{"type":"integer","description":"Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc."},"maximum_amount":{"type":"integer","description":"The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"minimum_amount":{"type":"integer","description":"The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"purchase_interval":{"type":"string","description":"Interval at which the customer is making purchases","enum":["day","month","week","year"]},"purchase_interval_count":{"type":"integer","description":"The number of `purchase_interval` between charges"}},"description":"On-demand details if setting up or charging an on-demand payment.","x-stripeMostCommon":["average_amount","maximum_amount","minimum_amount","purchase_interval","purchase_interval_count"]},"preferred_locale":{"type":"string","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"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]},"subscriptions":{"description":"Subscription details if setting up or charging a subscription.","anyOf":[{"type":"array","items":{"title":"subscription_param","required":["interval","reference"],"type":"object","properties":{"interval":{"type":"string","description":"Unit of time between subscription charges.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months."},"name":{"maxLength":255,"type":"string","description":"Name for subscription."},"next_billing":{"title":"subscription_next_billing_param","required":["amount","date"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the next charge for the subscription."},"date":{"maxLength":5000,"type":"string","description":"The date of the next charge for the subscription in YYYY-MM-DD format."}},"description":"Describes the upcoming charge for this subscription.","x-stripeMostCommon":["amount","date"]},"reference":{"maxLength":255,"type":"string","description":"A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges."}},"x-stripeMostCommon":["interval","interval_count","name","next_billing","reference"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["capture_method","extra_merchant_data_blob","interoperability_token","line_items","on_demand","partner_confirmation_token","payment_details","payment_method_category","payment_option_id","preferred_locale","request_incremental_authorization","request_multicapture","setup_future_usage","subscriptions","supplementary_purchase_data"]},{"type":"string","enum":[""]}]},"konbini":{"description":"If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"confirmation_number":{"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.","anyOf":[{"maxLength":11,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"product_description":{"description":"A product descriptor of up to 22 characters, which will appear to customers at the convenience store.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["confirmation_number","expires_after_days","expires_at","fee_amount","product_description","setup_future_usage","tax_amount"]},{"type":"string","enum":[""]}]},"kr_card":{"description":"If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"link":{"description":"If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","persistent_token","request_multicapture","setup_future_usage"]},{"type":"string","enum":[""]}]},"mb_way":{"description":"If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"mobilepay":{"description":"If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"multibanco":{"description":"If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"naver_pay":{"description":"If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"nz_bank_account":{"description":"If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"oxxo":{"description":"If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},{"type":"string","enum":[""]}]},"p24":{"description":"If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"tos_shown_and_accepted":{"type":"boolean","description":"Confirm that the payer has accepted the P24 terms and conditions."}},"x-stripeMostCommon":["installments","setup_future_usage","tos_shown_and_accepted"]},{"type":"string","enum":[""]}]},"pay_by_bank":{"description":"If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["allow_delayed_notification","country","locale","setup_future_usage","statement_descriptor"]},{"type":"string","enum":[""]}]},"payco":{"description":"If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"paynow":{"description":"If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"paypal":{"description":"If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["","manual"]},"preferred_locale":{"type":"string","description":"[Preferred locale](https://docs.stripe.com/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"],"x-stripeBypassValidation":true},"reference":{"maxLength":127,"type":"string","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."},"risk_correlation_id":{"maxLength":32,"type":"string","description":"The risk correlation ID for an on-session payment using a saved PayPal payment method."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},{"type":"string","enum":[""]}]},"payto":{"description":"If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["","fixed","maximum"]},"end_date":{"description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["","adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["","dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`","x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"pix":{"description":"If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds."},"expires_at":{"type":"integer","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"},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds","expires_at","mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"promptpay":{"description":"If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"revolut_pay":{"description":"If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"samsung_pay":{"description":"If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"satispay":{"description":"If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"sepa_debit":{"description":"If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference","reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date","verification_method"]},{"type":"string","enum":[""]}]},"sofort":{"description":"If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Language shown to the payer on redirect.","enum":["","de","en","es","fr","it","nl","pl"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["preferred_language","setup_future_usage"]},{"type":"string","enum":[""]}]},"swish":{"description":"If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"reference":{"description":"A reference for this payment to be displayed in the Swish app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["authorization_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"twint":{"description":"If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"upi":{"description":"If this is a `upi` PaymentIntent, this sub-hash contains details about the UPI payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]},"setup_future_usage":{"type":"string","enum":["","none","off_session","on_session"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"us_bank_account":{"description":"If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"linked_account_options_param","type":"object","properties":{"filters":{"title":"linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"maxLength":5000,"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"collection_method":{"type":"string","description":"The method used to collect offline mandate customer acceptance.","enum":["","paper"],"x-stripeBypassValidation":true}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["collection_method"]},"networks":{"title":"networks_options_param","type":"object","properties":{"requested":{"type":"array","description":"Triggers validations to run across the selected networks","items":{"type":"string","enum":["ach","us_domestic_wire"]}}},"description":"Additional fields for network related functions","x-stripeMostCommon":["requested"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"transaction_purpose":{"type":"string","description":"The purpose of the transaction.","enum":["","goods","other","services","unspecified"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","mandate_options","networks","preferred_settlement_speed","setup_future_usage","target_date","transaction_purpose","verification_method"]},{"type":"string","enum":[""]}]},"wechat_pay":{"description":"If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"app_id":{"maxLength":5000,"type":"string","description":"The app ID registered with WeChat Pay. Only required when client is ios or android."},"client":{"type":"string","description":"The client type that the end customer will pay from","enum":["android","ios","web"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["app_id","client","setup_future_usage"]},{"type":"string","enum":[""]}]},"zip":{"description":"If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]}},"description":"Payment method-specific configuration for this PaymentIntent.","x-stripeMostCommon":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boleto","card","card_present","cashapp","click_to_pay","crypto","customer_balance","demo_pay","dummy_auth_push","dummy_passthrough_card","eps","fpx","getbalance","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","link","mb_way","mobilepay","mondu","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","shopeepay","sofort","stripe_balance","swish","twint","upi","us_bank_account","vipps","wechat_pay","zip"]},"payment_method_types":{"type":"array","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). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"maxLength":5000,"type":"string"}},"radar_options":{"title":"radar_options_with_peval_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).","x-stripeMostCommon":["payment_evaluation_options","session","skip_rules"]},"receipt_email":{"type":"string","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)."},"return_url":{"type":"string","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://docs.stripe.com/api/payment_intents/create#create_payment_intent-confirm)."},"setup_future_usage":{"type":"string","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"]},"shipping":{"title":"optional_fields_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"description":"Shipping information for this PaymentIntent.","x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]},"statement_descriptor":{"maxLength":22,"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":{"maxLength":22,"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_data":{"title":"transfer_data_creation_params","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","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://docs.stripe.com/api/payment_intents/create#create_payment_intent-application_fee_amount)\nmight be a better fit for your integration."},"destination":{"type":"string","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."}},"description":"The parameters that you can use to automatically create a Transfer.\nLearn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).","x-stripeMostCommon":["amount","description","destination","metadata","payment_data"]},"transfer_group":{"type":"string","description":"A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers)."},"use_stripe_sdk":{"type":"boolean","description":"Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions."}},"additionalProperties":false,"x-stripeMostCommon":["amount","automatic_payment_methods","confirm","currency","customer","customer_account","description","metadata","off_session","payment_method","receipt_email","setup_future_usage","shipping","statement_descriptor","statement_descriptor_suffix"]},"encoding":{"amount_details":{"style":"deepObject","explode":true},"automatic_payment_methods":{"style":"deepObject","explode":true},"excluded_payment_method_types":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"hooks":{"style":"deepObject","explode":true},"mandate_data":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"off_session":{"style":"deepObject","explode":true},"payment_details":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true},"radar_options":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/search":{"get":{"summary":"Search PaymentIntents","description":"

Search for PaymentIntents you’ve previously created using Stripe’s Search Query Language.\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.

","operationId":"GetPaymentIntentsSearch","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"page","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"query","in":"query","description":"The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for payment intents](https://docs.stripe.com/search#query-fields-for-payment-intents).","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SearchResult","required":["data","has_more","next_page","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_intent"}},"has_more":{"type":"boolean"},"next_page":{"maxLength":5000,"type":"string","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["search_result"]},"total_count":{"type":"integer","description":"The total number of objects that match the query, only accurate up to 10,000."},"url":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","next_page","object","total_count","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}":{"get":{"summary":"Retrieve a PaymentIntent","description":"

Retrieves the details of a PaymentIntent that has previously been created.

\n\n

You can retrieve a PaymentIntent client-side using a publishable key when the client_secret is in the query string.

\n\n

If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the payment intent object reference for more details.

","operationId":"GetPaymentIntentsIntent","parameters":[{"name":"client_secret","in":"query","description":"The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a PaymentIntent","description":"

Updates properties on a PaymentIntent object without confirming.

\n\n

Depending on which properties you update, you might need to confirm the\nPaymentIntent again. For example, updating the payment_method\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 confirm API instead.

","operationId":"PostPaymentIntentsIntent","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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)."},"amount_details":{"description":"Provides industry-specific information about the amount.","anyOf":[{"title":"amount_details_param","type":"object","properties":{"discount_amount":{"description":"The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_arithmetic_validation":{"type":"boolean","description":"Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.\n\nOmit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.\n\nFor card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error."},"line_items":{"description":"A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.","anyOf":[{"type":"array","items":{"title":"amount_details_line_item_param","required":["product_name","quantity","unit_cost"],"type":"object","properties":{"discount_amount":{"type":"integer","description":"The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field."},"payment_method_options":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"card":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card` payment method.","x-stripeMostCommon":["commodity_code"]},"card_present":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card_present` payment method.","x-stripeMostCommon":["commodity_code"]},"klarna":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"image_url":{"maxLength":4096,"type":"string","description":"URL to an image for the product. Max length, 4096 characters."},"product_url":{"maxLength":4096,"type":"string","description":"URL to the product page. Max length, 4096 characters."},"reference":{"maxLength":255,"type":"string","description":"Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed."},"subscription_reference":{"maxLength":255,"type":"string","description":"Reference for the subscription this line item is for."}},"description":"This sub-hash contains line item details that are specific to the `klarna` payment method.","x-stripeMostCommon":["image_url","product_url","reference","subscription_reference"]},"paypal":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"category":{"type":"string","description":"Type of the line item.","enum":["digital_goods","donation","physical_goods"]},"description":{"maxLength":127,"type":"string","description":"Description of the line item."},"sold_by":{"maxLength":127,"type":"string","description":"The Stripe account ID of the connected account that sells the item."}},"description":"This sub-hash contains line item details that are specific to the `paypal` payment method.","x-stripeMostCommon":["category","description","sold_by"]}},"description":"Payment method-specific information for line items.","x-stripeMostCommon":["card","card_present","dummy_auth_push","klarna","link","paypal"]},"product_code":{"maxLength":12,"type":"string","description":"The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long."},"product_name":{"maxLength":1024,"type":"string","description":"The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters."},"quantity":{"type":"integer","description":"The quantity of items. Required for L3 rates. An integer greater than 0."},"tax":{"title":"amount_details_line_item_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field."}},"description":"Contains information about the tax on the item.","x-stripeMostCommon":["total_tax_amount"]},"unit_cost":{"type":"integer","description":"The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0."},"unit_of_measure":{"maxLength":12,"type":"string","description":"A unit of measure for the line item, such as gallons, feet, meters, etc."}},"x-stripeMostCommon":["discount_amount","payment_method_options","product_code","product_name","quantity","tax","unit_cost","unit_of_measure"]}},{"type":"string","enum":[""]}]},"shipping":{"description":"Contains information about the shipping portion of the amount.","anyOf":[{"title":"amount_details_shipping_param","type":"object","properties":{"amount":{"description":"If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"from_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]},"to_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"tax":{"description":"Contains information about the tax portion of the amount.","anyOf":[{"title":"amount_details_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field."}},"x-stripeMostCommon":["total_tax_amount"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["discount_amount","enforce_arithmetic_validation","line_items","shipping","surcharge","tax"]},{"type":"string","enum":[""]}]},"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 amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["automatic","automatic_async","manual"]},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","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://api.stripe.com#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."},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Accounts cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://api.stripe.com#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 Account 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 Account instead."},"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"excluded_payment_method_types":{"description":"The list of payment method types to exclude from use with this payment.","anyOf":[{"type":"array","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"hooks":{"title":"async_workflows_param","type":"object","properties":{"inputs":{"title":"async_workflows_inputs_param","type":"object","properties":{"tax":{"title":"async_workflows_inputs_tax_param","required":["calculation"],"type":"object","properties":{"calculation":{"description":"The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax arguments for automations","x-stripeMostCommon":["calculation"]}},"description":"Arguments passed in automations","x-stripeMostCommon":["tax"]}},"description":"Automations to be run during the PaymentIntent lifecycle","x-stripeMostCommon":["inputs"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"payment_details":{"description":"Provides industry-specific information about the charge.","anyOf":[{"title":"payment_details","type":"object","properties":{"customer_reference":{"description":"A unique value to identify the customer. This field is available only for card payments.\n\nThis field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"order_reference":{"description":"A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.\n\nFor Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["benefit","car_rental","car_rental_data","event_details","flight","flight_data","healthcare","lodging","lodging_data","subscription"]},{"type":"string","enum":[""]}]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent. To unset this field to null, pass in an empty string."},"payment_method_configuration":{"maxLength":100,"type":"string","description":"The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this PaymentIntent."},"payment_method_data":{"title":"payment_method_data_params","required":["type"],"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"description":"If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear\nin the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)\nproperty on the PaymentIntent.","x-stripeMostCommon":["billing_details","metadata","type"]},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"acss_debit":{"description":"If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"custom_mandate_url":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"interval_description":{"maxLength":500,"type":"string","description":"Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'."},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["custom_mandate_url","interval_description","payment_schedule","transaction_type"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","mandate_options","setup_future_usage","target_date","verification_method"]},{"type":"string","enum":[""]}]},"affirm":{"description":"If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"preferred_locale":{"maxLength":30,"type":"string","description":"Preferred language of the Affirm authorization page that the customer is redirected to."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","preferred_locale","purchase_details","request_decremental_authorization","request_multicapture","setup_future_usage"]},{"type":"string","enum":[""]}]},"afterpay_clearpay":{"description":"If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"reference":{"maxLength":128,"type":"string","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."},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"alipay":{"description":"If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"alma":{"description":"If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"amazon_pay":{"description":"If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","charge_metadata","charge_permission_id","setup_future_usage"]},{"type":"string","enum":[""]}]},"au_becs_debit":{"description":"If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"bacs_debit":{"description":"If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"bancontact":{"description":"If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["preferred_language","setup_future_usage"]},{"type":"string","enum":[""]}]},"billie":{"description":"If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","company_details","extra_merchant_data_blob","reference","request_decremental_authorization","request_extended_authorization","request_incremental_authorization","request_multicapture","request_overcapture"]},{"type":"string","enum":[""]}]},"blik":{"description":"If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"code":{"maxLength":5000,"type":"string","description":"The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation."},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["code","mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"boleto":{"description":"If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},{"type":"string","enum":[""]}]},"card":{"description":"Configuration for any card payments attempted on this PaymentIntent.","anyOf":[{"title":"payment_intent_param","type":"object","properties":{"capture_method":{"type":"string","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"],"x-stripeBypassValidation":true},"cvc_token":{"maxLength":5000,"type":"string","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."},"installments":{"title":"installments_param","type":"object","properties":{"enabled":{"type":"boolean","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."},"plan":{"description":"The selected installment plan to use for this payment attempt.\nThis parameter can only be provided during confirmation.","anyOf":[{"title":"installment_plan","required":["type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card."},"interval":{"type":"string","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":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.","enum":["bonus","fixed_count","revolving"]}},"x-stripeMostCommon":["count","interval","type"]},{"type":"string","enum":[""]}]}},"description":"Installment configuration for payments attempted on this PaymentIntent.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).","x-stripeMostCommon":["enabled","plan"]},"mandate_options":{"title":"mandate_options_param","required":["amount","amount_type","interval","reference","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","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"},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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`."},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","items":{"type":"string","enum":["india"]}}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","description","end_date","interval","interval_count","reference","start_date","supported_types"]},"moto":{"type":"boolean","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."},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_extended_authorization":{"type":"string","description":"Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_incremental_authorization":{"type":"string","description":"Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_multicapture":{"type":"string","description":"Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.","enum":["if_available","never"]},"request_overcapture":{"type":"string","description":"Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.","enum":["if_available","never"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"require_cvc_recollection":{"type":"boolean","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)."},"setup_future_usage":{"type":"string","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"]},"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.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":17,"type":"string"},{"type":"string","enum":[""]}]},"three_d_secure":{"title":"payment_method_options_param","required":["cryptogram","transaction_id","version"],"type":"object","properties":{"ares_trans_status":{"type":"string","description":"The `transStatus` returned from the card Issuer’s ACS in the ARes.","enum":["A","C","I","N","R","U","Y"]},"cryptogram":{"maxLength":5000,"type":"string","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.)"},"electronic_commerce_indicator":{"type":"string","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"],"x-stripeBypassValidation":true},"exemption_indicator":{"type":"string","description":"The exemption requested via 3DS and accepted by the issuer at authentication time.","enum":["low_risk","none"]},"network_options":{"title":"network_options_param","type":"object","properties":{"cartes_bancaires":{"title":"cartes_bancaires_network_options_param","required":["cb_avalgo"],"type":"object","properties":{"cb_avalgo":{"type":"string","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"]},"cb_exemption":{"maxLength":4,"type":"string","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"},"cb_score":{"type":"integer","description":"The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99"}},"description":"Cartes Bancaires-specific 3DS fields.","x-stripeMostCommon":["cb_avalgo","cb_exemption","cb_score"]}},"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","x-stripeMostCommon":["cartes_bancaires"]},"requestor_challenge_indicator":{"maxLength":2,"type":"string","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."},"transaction_id":{"maxLength":5000,"type":"string","description":"For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID)."},"version":{"type":"string","description":"The version of 3D Secure that was performed.","enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this payment.","x-stripeMostCommon":["ares_trans_status","cryptogram","electronic_commerce_indicator","exemption_indicator","network_options","requestor_challenge_indicator","transaction_id","version"]}},"x-stripeMostCommon":["allow_partial_amount","buy_now_pay_later_options","capture_delay_days","capture_method","commerce_type","credential_on_file","cvc_token","installments","mandate_options","mcc","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_reauthorization","request_three_d_secure","require_cvc_recollection","secure_corporate_payment","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"]},{"type":"string","enum":[""]}]},"card_present":{"description":"If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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","manual_preferred"]},"request_extended_authorization":{"type":"boolean","description":"Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)"},"request_incremental_authorization_support":{"type":"boolean","description":"Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support."},"routing":{"title":"routing_payment_method_options_param","type":"object","properties":{"requested_priority":{"type":"string","description":"Routing requested priority","enum":["domestic","international"]}},"description":"Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.","x-stripeMostCommon":["requested_priority"]}},"x-stripeMostCommon":["buy_now_pay_later_options","capture_method","recipient_details","request_extended_authorization","request_flexible_extended_authorization","request_incremental_authorization","request_incremental_authorization_support","request_multicapture","request_partial_authorization","request_reauthorization","routing","sender_details"]},{"type":"string","enum":[""]}]},"cashapp":{"description":"If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","request_incremental_authorization","restricted_transaction_categories","setup_future_usage"]},{"type":"string","enum":[""]}]},"crypto":{"description":"If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["deposit_options","mode","setup_future_usage"]},{"type":"string","enum":[""]}]},"customer_balance":{"description":"If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_params","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for the eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"requested_address_types":{"type":"array","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":{"type":"string","enum":["aba","iban","sepa","sort_code","spei","swift","zengin"],"x-stripeBypassValidation":true}},"type":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_account","id_bank_transfer","requested_address_types","type"]},"funding_type":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["bank_transfer","funding_type","setup_future_usage"]},{"type":"string","enum":[""]}]},"eps":{"description":"If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"fpx":{"description":"If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"giropay":{"description":"If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"grabpay":{"description":"If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"ideal":{"description":"If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"interac_present":{"description":"If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{}},{"type":"string","enum":[""]}]},"kakao_pay":{"description":"If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"klarna":{"description":"If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"on_demand":{"title":"on_demand_param","type":"object","properties":{"average_amount":{"type":"integer","description":"Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc."},"maximum_amount":{"type":"integer","description":"The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"minimum_amount":{"type":"integer","description":"The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"purchase_interval":{"type":"string","description":"Interval at which the customer is making purchases","enum":["day","month","week","year"]},"purchase_interval_count":{"type":"integer","description":"The number of `purchase_interval` between charges"}},"description":"On-demand details if setting up or charging an on-demand payment.","x-stripeMostCommon":["average_amount","maximum_amount","minimum_amount","purchase_interval","purchase_interval_count"]},"preferred_locale":{"type":"string","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"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]},"subscriptions":{"description":"Subscription details if setting up or charging a subscription.","anyOf":[{"type":"array","items":{"title":"subscription_param","required":["interval","reference"],"type":"object","properties":{"interval":{"type":"string","description":"Unit of time between subscription charges.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months."},"name":{"maxLength":255,"type":"string","description":"Name for subscription."},"next_billing":{"title":"subscription_next_billing_param","required":["amount","date"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the next charge for the subscription."},"date":{"maxLength":5000,"type":"string","description":"The date of the next charge for the subscription in YYYY-MM-DD format."}},"description":"Describes the upcoming charge for this subscription.","x-stripeMostCommon":["amount","date"]},"reference":{"maxLength":255,"type":"string","description":"A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges."}},"x-stripeMostCommon":["interval","interval_count","name","next_billing","reference"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["capture_method","extra_merchant_data_blob","interoperability_token","line_items","on_demand","partner_confirmation_token","payment_details","payment_method_category","payment_option_id","preferred_locale","request_incremental_authorization","request_multicapture","setup_future_usage","subscriptions","supplementary_purchase_data"]},{"type":"string","enum":[""]}]},"konbini":{"description":"If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"confirmation_number":{"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.","anyOf":[{"maxLength":11,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"product_description":{"description":"A product descriptor of up to 22 characters, which will appear to customers at the convenience store.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["confirmation_number","expires_after_days","expires_at","fee_amount","product_description","setup_future_usage","tax_amount"]},{"type":"string","enum":[""]}]},"kr_card":{"description":"If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"link":{"description":"If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","persistent_token","request_multicapture","setup_future_usage"]},{"type":"string","enum":[""]}]},"mb_way":{"description":"If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"mobilepay":{"description":"If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"multibanco":{"description":"If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"naver_pay":{"description":"If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"nz_bank_account":{"description":"If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"oxxo":{"description":"If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},{"type":"string","enum":[""]}]},"p24":{"description":"If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"tos_shown_and_accepted":{"type":"boolean","description":"Confirm that the payer has accepted the P24 terms and conditions."}},"x-stripeMostCommon":["installments","setup_future_usage","tos_shown_and_accepted"]},{"type":"string","enum":[""]}]},"pay_by_bank":{"description":"If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["allow_delayed_notification","country","locale","setup_future_usage","statement_descriptor"]},{"type":"string","enum":[""]}]},"payco":{"description":"If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"paynow":{"description":"If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"paypal":{"description":"If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["","manual"]},"preferred_locale":{"type":"string","description":"[Preferred locale](https://docs.stripe.com/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"],"x-stripeBypassValidation":true},"reference":{"maxLength":127,"type":"string","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."},"risk_correlation_id":{"maxLength":32,"type":"string","description":"The risk correlation ID for an on-session payment using a saved PayPal payment method."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},{"type":"string","enum":[""]}]},"payto":{"description":"If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["","fixed","maximum"]},"end_date":{"description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["","adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["","dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`","x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"pix":{"description":"If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds."},"expires_at":{"type":"integer","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"},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds","expires_at","mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"promptpay":{"description":"If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"revolut_pay":{"description":"If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"samsung_pay":{"description":"If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"satispay":{"description":"If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"sepa_debit":{"description":"If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference","reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date","verification_method"]},{"type":"string","enum":[""]}]},"sofort":{"description":"If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Language shown to the payer on redirect.","enum":["","de","en","es","fr","it","nl","pl"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["preferred_language","setup_future_usage"]},{"type":"string","enum":[""]}]},"swish":{"description":"If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"reference":{"description":"A reference for this payment to be displayed in the Swish app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["authorization_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"twint":{"description":"If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"upi":{"description":"If this is a `upi` PaymentIntent, this sub-hash contains details about the UPI payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]},"setup_future_usage":{"type":"string","enum":["","none","off_session","on_session"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"us_bank_account":{"description":"If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"linked_account_options_param","type":"object","properties":{"filters":{"title":"linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"maxLength":5000,"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"collection_method":{"type":"string","description":"The method used to collect offline mandate customer acceptance.","enum":["","paper"],"x-stripeBypassValidation":true}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["collection_method"]},"networks":{"title":"networks_options_param","type":"object","properties":{"requested":{"type":"array","description":"Triggers validations to run across the selected networks","items":{"type":"string","enum":["ach","us_domestic_wire"]}}},"description":"Additional fields for network related functions","x-stripeMostCommon":["requested"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"transaction_purpose":{"type":"string","description":"The purpose of the transaction.","enum":["","goods","other","services","unspecified"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","mandate_options","networks","preferred_settlement_speed","setup_future_usage","target_date","transaction_purpose","verification_method"]},{"type":"string","enum":[""]}]},"wechat_pay":{"description":"If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"app_id":{"maxLength":5000,"type":"string","description":"The app ID registered with WeChat Pay. Only required when client is ios or android."},"client":{"type":"string","description":"The client type that the end customer will pay from","enum":["android","ios","web"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["app_id","client","setup_future_usage"]},{"type":"string","enum":[""]}]},"zip":{"description":"If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]}},"description":"Payment-method-specific configuration for this PaymentIntent.","x-stripeMostCommon":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boleto","card","card_present","cashapp","click_to_pay","crypto","customer_balance","demo_pay","dummy_auth_push","dummy_passthrough_card","eps","fpx","getbalance","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","link","mb_way","mobilepay","mondu","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","shopeepay","sofort","stripe_balance","swish","twint","upi","us_bank_account","vipps","wechat_pay","zip"]},"payment_method_types":{"type":"array","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). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"maxLength":5000,"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).","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"setup_future_usage":{"type":"string","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"]},"shipping":{"description":"Shipping information for this PaymentIntent.","anyOf":[{"title":"optional_fields_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]},{"type":"string","enum":[""]}]},"statement_descriptor":{"maxLength":22,"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":{"maxLength":22,"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_data":{"title":"transfer_data_update_params","type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when a charge succeeds."}},"description":"Use this parameter to automatically create a Transfer when the payment succeeds. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).","x-stripeMostCommon":["amount","description","metadata","payment_data"]},"transfer_group":{"type":"string","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://docs.stripe.com/payments/connected-accounts)."}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","customer","customer_account","description","metadata","payment_method","receipt_email","setup_future_usage","shipping","statement_descriptor","statement_descriptor_suffix"]},"encoding":{"amount_details":{"style":"deepObject","explode":true},"application_fee_amount":{"style":"deepObject","explode":true},"excluded_payment_method_types":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"hooks":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_details":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true},"receipt_email":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}/amount_details_line_items":{"get":{"summary":"List all PaymentIntent LineItems","description":"

Lists all LineItems of a given PaymentIntent.

","operationId":"GetPaymentIntentsIntentAmountDetailsLineItems","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentFlowsAmountDetailsResourceLineItemsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/payment_intent_amount_details_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}/apply_customer_balance":{"post":{"summary":"Reconcile a customer_balance PaymentIntent","description":"

Manually reconcile the remaining amount for a customer_balance PaymentIntent.

","operationId":"PostPaymentIntentsIntentApplyCustomerBalance","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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://docs.stripe.com/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."},"currency":{"type":"string","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).","format":"currency"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}/cancel":{"post":{"summary":"Cancel a PaymentIntent","description":"

You can cancel a PaymentIntent object when it’s in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_action or, in rare cases, processing.

\n\n

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 status of requires_capture, the remaining amount_capturable is automatically refunded.

\n\n

You can directly cancel the PaymentIntent for a Checkout Session only when the PaymentIntent has a status of requires_capture. Otherwise, you must expire the Checkout Session.

","operationId":"PostPaymentIntentsIntentCancel","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"cancellation_reason":{"maxLength":5000,"type":"string","description":"Reason for canceling this PaymentIntent. Possible values are: `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`","enum":["abandoned","duplicate","fraudulent","requested_by_customer"],"x-stripeBypassValidation":true},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["cancellation_reason"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}/capture":{"post":{"summary":"Capture a PaymentIntent","description":"

Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture.

\n\n

Uncaptured PaymentIntents are cancelled a set number of days (7 by default) after their creation.

\n\n

Learn more about separate authorization and capture.

","operationId":"PostPaymentIntentsIntentCapture","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount_details":{"title":"amount_details_param","type":"object","properties":{"discount_amount":{"description":"The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_arithmetic_validation":{"type":"boolean","description":"Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.\n\nOmit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.\n\nFor card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error."},"line_items":{"description":"A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.","anyOf":[{"type":"array","items":{"title":"amount_details_line_item_param","required":["product_name","quantity","unit_cost"],"type":"object","properties":{"discount_amount":{"type":"integer","description":"The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field."},"payment_method_options":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"card":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card` payment method.","x-stripeMostCommon":["commodity_code"]},"card_present":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card_present` payment method.","x-stripeMostCommon":["commodity_code"]},"klarna":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"image_url":{"maxLength":4096,"type":"string","description":"URL to an image for the product. Max length, 4096 characters."},"product_url":{"maxLength":4096,"type":"string","description":"URL to the product page. Max length, 4096 characters."},"reference":{"maxLength":255,"type":"string","description":"Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed."},"subscription_reference":{"maxLength":255,"type":"string","description":"Reference for the subscription this line item is for."}},"description":"This sub-hash contains line item details that are specific to the `klarna` payment method.","x-stripeMostCommon":["image_url","product_url","reference","subscription_reference"]},"paypal":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"category":{"type":"string","description":"Type of the line item.","enum":["digital_goods","donation","physical_goods"]},"description":{"maxLength":127,"type":"string","description":"Description of the line item."},"sold_by":{"maxLength":127,"type":"string","description":"The Stripe account ID of the connected account that sells the item."}},"description":"This sub-hash contains line item details that are specific to the `paypal` payment method.","x-stripeMostCommon":["category","description","sold_by"]}},"description":"Payment method-specific information for line items.","x-stripeMostCommon":["card","card_present","dummy_auth_push","klarna","link","paypal"]},"product_code":{"maxLength":12,"type":"string","description":"The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long."},"product_name":{"maxLength":1024,"type":"string","description":"The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters."},"quantity":{"type":"integer","description":"The quantity of items. Required for L3 rates. An integer greater than 0."},"tax":{"title":"amount_details_line_item_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field."}},"description":"Contains information about the tax on the item.","x-stripeMostCommon":["total_tax_amount"]},"unit_cost":{"type":"integer","description":"The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0."},"unit_of_measure":{"maxLength":12,"type":"string","description":"A unit of measure for the line item, such as gallons, feet, meters, etc."}},"x-stripeMostCommon":["discount_amount","payment_method_options","product_code","product_name","quantity","tax","unit_cost","unit_of_measure"]}},{"type":"string","enum":[""]}]},"shipping":{"description":"Contains information about the shipping portion of the amount.","anyOf":[{"title":"amount_details_shipping_param","type":"object","properties":{"amount":{"description":"If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"from_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]},"to_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"tax":{"description":"Contains information about the tax portion of the amount.","anyOf":[{"title":"amount_details_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field."}},"x-stripeMostCommon":["total_tax_amount"]},{"type":"string","enum":[""]}]}},"description":"Provides industry-specific information about the amount.","x-stripeMostCommon":["discount_amount","enforce_arithmetic_validation","line_items","shipping","surcharge","tax"]},"amount_to_capture":{"type":"integer","description":"The amount to capture from the PaymentIntent, which must be less than or equal to the original amount. Defaults to the full `amount_capturable` if it's not provided."},"application_fee_amount":{"type":"integer","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 amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts)."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"final_capture":{"type":"boolean","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://docs.stripe.com/payments/multicapture) is available for PaymentIntents."},"hooks":{"title":"async_workflows_param","type":"object","properties":{"inputs":{"title":"async_workflows_inputs_param","type":"object","properties":{"tax":{"title":"async_workflows_inputs_tax_param","required":["calculation"],"type":"object","properties":{"calculation":{"description":"The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax arguments for automations","x-stripeMostCommon":["calculation"]}},"description":"Arguments passed in automations","x-stripeMostCommon":["tax"]}},"description":"Automations to be run during the PaymentIntent lifecycle","x-stripeMostCommon":["inputs"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"payment_details":{"description":"Provides industry-specific information about the charge.","anyOf":[{"title":"payment_details_capture_params","type":"object","properties":{"customer_reference":{"description":"A unique value to identify the customer. This field is available only for card payments.\n\nThis field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"order_reference":{"description":"A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.\n\nFor Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["car_rental","car_rental_data","event_details","flight","flight_data","healthcare","lodging","lodging_data","subscription"]},{"type":"string","enum":[""]}]},"statement_descriptor":{"maxLength":22,"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":{"maxLength":22,"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_data":{"title":"transfer_data_capture_params","type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when a charge succeeds."}},"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://docs.stripe.com/payments/connected-accounts).","x-stripeMostCommon":["amount"]}},"additionalProperties":false,"x-stripeMostCommon":["amount_to_capture","metadata"]},"encoding":{"amount_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"hooks":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_details":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}/confirm":{"post":{"summary":"Confirm a PaymentIntent","description":"

Confirm that your customer intends to pay with current or provided\npayment method. Upon confirmation, the PaymentIntent will attempt to initiate\na payment.

\n\n

If the selected payment method requires additional authentication steps, the\nPaymentIntent will transition to the requires_action status and\nsuggest additional actions via next_action. If payment fails,\nthe PaymentIntent transitions to the requires_payment_method status or the\ncanceled status if the confirmation limit is reached. If\npayment succeeds, the PaymentIntent will transition to the succeeded\nstatus (or requires_capture, if capture_method is set to manual).

\n\n

If the confirmation_method is automatic, payment may be attempted\nusing our client SDKs\nand the PaymentIntent’s client_secret.\nAfter next_actions are handled by the client, no additional\nconfirmation is required to complete the payment.

\n\n

If the confirmation_method is manual, all payment attempts must be\ninitiated using a secret key.

\n\n

If any actions are required for the payment, the PaymentIntent will\nreturn to the requires_confirmation state\nafter those actions are completed. Your server needs to then\nexplicitly re-confirm the PaymentIntent to initiate the next payment\nattempt.

\n\n

There 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 canceled state.

","operationId":"PostPaymentIntentsIntentConfirm","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount_details":{"description":"Provides industry-specific information about the amount.","anyOf":[{"title":"amount_details_param","type":"object","properties":{"discount_amount":{"description":"The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_arithmetic_validation":{"type":"boolean","description":"Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.\n\nOmit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.\n\nFor card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error."},"line_items":{"description":"A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.","anyOf":[{"type":"array","items":{"title":"amount_details_line_item_param","required":["product_name","quantity","unit_cost"],"type":"object","properties":{"discount_amount":{"type":"integer","description":"The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field."},"payment_method_options":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"card":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card` payment method.","x-stripeMostCommon":["commodity_code"]},"card_present":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card_present` payment method.","x-stripeMostCommon":["commodity_code"]},"klarna":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"image_url":{"maxLength":4096,"type":"string","description":"URL to an image for the product. Max length, 4096 characters."},"product_url":{"maxLength":4096,"type":"string","description":"URL to the product page. Max length, 4096 characters."},"reference":{"maxLength":255,"type":"string","description":"Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed."},"subscription_reference":{"maxLength":255,"type":"string","description":"Reference for the subscription this line item is for."}},"description":"This sub-hash contains line item details that are specific to the `klarna` payment method.","x-stripeMostCommon":["image_url","product_url","reference","subscription_reference"]},"paypal":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"category":{"type":"string","description":"Type of the line item.","enum":["digital_goods","donation","physical_goods"]},"description":{"maxLength":127,"type":"string","description":"Description of the line item."},"sold_by":{"maxLength":127,"type":"string","description":"The Stripe account ID of the connected account that sells the item."}},"description":"This sub-hash contains line item details that are specific to the `paypal` payment method.","x-stripeMostCommon":["category","description","sold_by"]}},"description":"Payment method-specific information for line items.","x-stripeMostCommon":["card","card_present","dummy_auth_push","klarna","link","paypal"]},"product_code":{"maxLength":12,"type":"string","description":"The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long."},"product_name":{"maxLength":1024,"type":"string","description":"The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters."},"quantity":{"type":"integer","description":"The quantity of items. Required for L3 rates. An integer greater than 0."},"tax":{"title":"amount_details_line_item_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field."}},"description":"Contains information about the tax on the item.","x-stripeMostCommon":["total_tax_amount"]},"unit_cost":{"type":"integer","description":"The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0."},"unit_of_measure":{"maxLength":12,"type":"string","description":"A unit of measure for the line item, such as gallons, feet, meters, etc."}},"x-stripeMostCommon":["discount_amount","payment_method_options","product_code","product_name","quantity","tax","unit_cost","unit_of_measure"]}},{"type":"string","enum":[""]}]},"shipping":{"description":"Contains information about the shipping portion of the amount.","anyOf":[{"title":"amount_details_shipping_param","type":"object","properties":{"amount":{"description":"If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"from_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]},"to_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"tax":{"description":"Contains information about the tax portion of the amount.","anyOf":[{"title":"amount_details_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field."}},"x-stripeMostCommon":["total_tax_amount"]},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["discount_amount","enforce_arithmetic_validation","line_items","shipping","surcharge","tax"]},{"type":"string","enum":[""]}]},"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["automatic","automatic_async","manual"]},"confirmation_token":{"maxLength":5000,"type":"string","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."},"error_on_requires_action":{"type":"boolean","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://docs.stripe.com/payments/save-card-without-authentication)."},"excluded_payment_method_types":{"description":"The list of payment method types to exclude from use with this payment.","anyOf":[{"type":"array","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"hooks":{"title":"async_workflows_param","type":"object","properties":{"inputs":{"title":"async_workflows_inputs_param","type":"object","properties":{"tax":{"title":"async_workflows_inputs_tax_param","required":["calculation"],"type":"object","properties":{"calculation":{"description":"The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax arguments for automations","x-stripeMostCommon":["calculation"]}},"description":"Arguments passed in automations","x-stripeMostCommon":["tax"]}},"description":"Automations to be run during the PaymentIntent lifecycle","x-stripeMostCommon":["inputs"]},"mandate":{"maxLength":5000,"type":"string","description":"ID of the mandate that's used for this payment."},"mandate_data":{"anyOf":[{"title":"secret_key_param","required":["customer_acceptance"],"type":"object","properties":{"customer_acceptance":{"title":"customer_acceptance_param","required":["type"],"type":"object","properties":{"accepted_at":{"type":"integer","description":"The time at which the customer accepted the Mandate.","format":"unix-time"},"offline":{"title":"offline_param","type":"object","properties":{},"description":"If this is a Mandate accepted offline, this hash contains details about the offline acceptance."},"online":{"title":"online_param","required":["ip_address","user_agent"],"type":"object","properties":{"ip_address":{"type":"string","description":"The IP address from which the Mandate was accepted by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the Mandate was accepted by the customer."}},"description":"If this is a Mandate accepted online, this hash contains details about the online acceptance.","x-stripeMostCommon":["ip_address","user_agent"]},"type":{"maxLength":5000,"type":"string","description":"The type of customer acceptance information included with the Mandate. One of `online` or `offline`.","enum":["offline","online"]}},"description":"This hash contains details about the customer acceptance of the Mandate.","x-stripeMostCommon":["accepted_at","offline","online","type"]}},"x-stripeMostCommon":["customer_acceptance"]},{"type":"string","enum":[""]},{"title":"client_key_param","required":["customer_acceptance"],"type":"object","properties":{"customer_acceptance":{"title":"customer_acceptance_param","required":["online","type"],"type":"object","properties":{"online":{"title":"online_param","type":"object","properties":{"ip_address":{"type":"string","description":"The IP address from which the Mandate was accepted by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the Mandate was accepted by the customer."}},"description":"If this is a Mandate accepted online, this hash contains details about the online acceptance.","x-stripeMostCommon":["ip_address","user_agent"]},"type":{"maxLength":5000,"type":"string","description":"The type of customer acceptance information included with the Mandate.","enum":["online"]}},"description":"This hash contains details about the customer acceptance of the Mandate.","x-stripeMostCommon":["online","type"]}},"description":"This hash contains details about the Mandate to create","x-stripeMostCommon":["customer_acceptance"],"x-stripeParam":{"class_name":"MandateDataPublishableKey"}}]},"off_session":{"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://docs.stripe.com/payments/cards/charging-saved-cards).","anyOf":[{"type":"boolean"},{"maxLength":5000,"type":"string","enum":["one_off","recurring"]}]},"payment_details":{"description":"Provides industry-specific information about the charge.","anyOf":[{"title":"payment_details","type":"object","properties":{"customer_reference":{"description":"A unique value to identify the customer. This field is available only for card payments.\n\nThis field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"order_reference":{"description":"A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.\n\nFor Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["benefit","car_rental","car_rental_data","event_details","flight","flight_data","healthcare","lodging","lodging_data","subscription"]},{"type":"string","enum":[""]}]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://docs.stripe.com/payments/payment-methods/transitioning#compatibility) object) to attach to this PaymentIntent.\nIf the payment method is attached to a Customer, it must match the [customer](https://api.stripe.com#create_payment_intent-customer) that is set on this PaymentIntent."},"payment_method_data":{"title":"payment_method_data_params","required":["type"],"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"description":"If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear\nin the [payment_method](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-payment_method)\nproperty on the PaymentIntent.","x-stripeMostCommon":["billing_details","metadata","type"]},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"acss_debit":{"description":"If this is a `acss_debit` PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"custom_mandate_url":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"interval_description":{"maxLength":500,"type":"string","description":"Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'."},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["custom_mandate_url","interval_description","payment_schedule","transaction_type"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","mandate_options","setup_future_usage","target_date","verification_method"]},{"type":"string","enum":[""]}]},"affirm":{"description":"If this is an `affirm` PaymentMethod, this sub-hash contains details about the Affirm payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"preferred_locale":{"maxLength":30,"type":"string","description":"Preferred language of the Affirm authorization page that the customer is redirected to."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","preferred_locale","purchase_details","request_decremental_authorization","request_multicapture","setup_future_usage"]},{"type":"string","enum":[""]}]},"afterpay_clearpay":{"description":"If this is a `afterpay_clearpay` PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"reference":{"maxLength":128,"type":"string","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."},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"alipay":{"description":"If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"alma":{"description":"If this is a `alma` PaymentMethod, this sub-hash contains details about the Alma payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"amazon_pay":{"description":"If this is a `amazon_pay` PaymentMethod, this sub-hash contains details about the Amazon Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","charge_metadata","charge_permission_id","setup_future_usage"]},{"type":"string","enum":[""]}]},"au_becs_debit":{"description":"If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"bacs_debit":{"description":"If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"bancontact":{"description":"If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["preferred_language","setup_future_usage"]},{"type":"string","enum":[""]}]},"billie":{"description":"If this is a `billie` PaymentMethod, this sub-hash contains details about the Billie payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","company_details","extra_merchant_data_blob","reference","request_decremental_authorization","request_extended_authorization","request_incremental_authorization","request_multicapture","request_overcapture"]},{"type":"string","enum":[""]}]},"blik":{"description":"If this is a `blik` PaymentMethod, this sub-hash contains details about the BLIK payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"code":{"maxLength":5000,"type":"string","description":"The 6-digit BLIK code that a customer has generated using their banking application. Can only be set on confirmation."},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["code","mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"boleto":{"description":"If this is a `boleto` PaymentMethod, this sub-hash contains details about the Boleto payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},{"type":"string","enum":[""]}]},"card":{"description":"Configuration for any card payments attempted on this PaymentIntent.","anyOf":[{"title":"payment_intent_param","type":"object","properties":{"capture_method":{"type":"string","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"],"x-stripeBypassValidation":true},"cvc_token":{"maxLength":5000,"type":"string","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."},"installments":{"title":"installments_param","type":"object","properties":{"enabled":{"type":"boolean","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."},"plan":{"description":"The selected installment plan to use for this payment attempt.\nThis parameter can only be provided during confirmation.","anyOf":[{"title":"installment_plan","required":["type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card."},"interval":{"type":"string","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":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.","enum":["bonus","fixed_count","revolving"]}},"x-stripeMostCommon":["count","interval","type"]},{"type":"string","enum":[""]}]}},"description":"Installment configuration for payments attempted on this PaymentIntent.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).","x-stripeMostCommon":["enabled","plan"]},"mandate_options":{"title":"mandate_options_param","required":["amount","amount_type","interval","reference","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","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"},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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`."},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","items":{"type":"string","enum":["india"]}}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","description","end_date","interval","interval_count","reference","start_date","supported_types"]},"moto":{"type":"boolean","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."},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_extended_authorization":{"type":"string","description":"Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_incremental_authorization":{"type":"string","description":"Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_multicapture":{"type":"string","description":"Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.","enum":["if_available","never"]},"request_overcapture":{"type":"string","description":"Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.","enum":["if_available","never"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"require_cvc_recollection":{"type":"boolean","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)."},"setup_future_usage":{"type":"string","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"]},"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.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":17,"type":"string"},{"type":"string","enum":[""]}]},"three_d_secure":{"title":"payment_method_options_param","required":["cryptogram","transaction_id","version"],"type":"object","properties":{"ares_trans_status":{"type":"string","description":"The `transStatus` returned from the card Issuer’s ACS in the ARes.","enum":["A","C","I","N","R","U","Y"]},"cryptogram":{"maxLength":5000,"type":"string","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.)"},"electronic_commerce_indicator":{"type":"string","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"],"x-stripeBypassValidation":true},"exemption_indicator":{"type":"string","description":"The exemption requested via 3DS and accepted by the issuer at authentication time.","enum":["low_risk","none"]},"network_options":{"title":"network_options_param","type":"object","properties":{"cartes_bancaires":{"title":"cartes_bancaires_network_options_param","required":["cb_avalgo"],"type":"object","properties":{"cb_avalgo":{"type":"string","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"]},"cb_exemption":{"maxLength":4,"type":"string","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"},"cb_score":{"type":"integer","description":"The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99"}},"description":"Cartes Bancaires-specific 3DS fields.","x-stripeMostCommon":["cb_avalgo","cb_exemption","cb_score"]}},"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","x-stripeMostCommon":["cartes_bancaires"]},"requestor_challenge_indicator":{"maxLength":2,"type":"string","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."},"transaction_id":{"maxLength":5000,"type":"string","description":"For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID)."},"version":{"type":"string","description":"The version of 3D Secure that was performed.","enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this payment.","x-stripeMostCommon":["ares_trans_status","cryptogram","electronic_commerce_indicator","exemption_indicator","network_options","requestor_challenge_indicator","transaction_id","version"]}},"x-stripeMostCommon":["allow_partial_amount","buy_now_pay_later_options","capture_delay_days","capture_method","commerce_type","credential_on_file","cvc_token","installments","mandate_options","mcc","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_reauthorization","request_three_d_secure","require_cvc_recollection","secure_corporate_payment","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"]},{"type":"string","enum":[""]}]},"card_present":{"description":"If this is a `card_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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","manual_preferred"]},"request_extended_authorization":{"type":"boolean","description":"Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)"},"request_incremental_authorization_support":{"type":"boolean","description":"Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support."},"routing":{"title":"routing_payment_method_options_param","type":"object","properties":{"requested_priority":{"type":"string","description":"Routing requested priority","enum":["domestic","international"]}},"description":"Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.","x-stripeMostCommon":["requested_priority"]}},"x-stripeMostCommon":["buy_now_pay_later_options","capture_method","recipient_details","request_extended_authorization","request_flexible_extended_authorization","request_incremental_authorization","request_incremental_authorization_support","request_multicapture","request_partial_authorization","request_reauthorization","routing","sender_details"]},{"type":"string","enum":[""]}]},"cashapp":{"description":"If this is a `cashapp` PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","request_incremental_authorization","restricted_transaction_categories","setup_future_usage"]},{"type":"string","enum":[""]}]},"crypto":{"description":"If this is a `crypto` PaymentMethod, this sub-hash contains details about the Crypto payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["deposit_options","mode","setup_future_usage"]},{"type":"string","enum":[""]}]},"customer_balance":{"description":"If this is a `customer balance` PaymentMethod, this sub-hash contains details about the customer balance payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_params","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for the eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"requested_address_types":{"type":"array","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":{"type":"string","enum":["aba","iban","sepa","sort_code","spei","swift","zengin"],"x-stripeBypassValidation":true}},"type":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_account","id_bank_transfer","requested_address_types","type"]},"funding_type":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["bank_transfer","funding_type","setup_future_usage"]},{"type":"string","enum":[""]}]},"eps":{"description":"If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"fpx":{"description":"If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"giropay":{"description":"If this is a `giropay` PaymentMethod, this sub-hash contains details about the Giropay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"grabpay":{"description":"If this is a `grabpay` PaymentMethod, this sub-hash contains details about the Grabpay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"ideal":{"description":"If this is a `ideal` PaymentMethod, this sub-hash contains details about the Ideal payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"interac_present":{"description":"If this is a `interac_present` PaymentMethod, this sub-hash contains details about the Card Present payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{}},{"type":"string","enum":[""]}]},"kakao_pay":{"description":"If this is a `kakao_pay` PaymentMethod, this sub-hash contains details about the Kakao Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"klarna":{"description":"If this is a `klarna` PaymentMethod, this sub-hash contains details about the Klarna payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"on_demand":{"title":"on_demand_param","type":"object","properties":{"average_amount":{"type":"integer","description":"Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc."},"maximum_amount":{"type":"integer","description":"The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"minimum_amount":{"type":"integer","description":"The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"purchase_interval":{"type":"string","description":"Interval at which the customer is making purchases","enum":["day","month","week","year"]},"purchase_interval_count":{"type":"integer","description":"The number of `purchase_interval` between charges"}},"description":"On-demand details if setting up or charging an on-demand payment.","x-stripeMostCommon":["average_amount","maximum_amount","minimum_amount","purchase_interval","purchase_interval_count"]},"preferred_locale":{"type":"string","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"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]},"subscriptions":{"description":"Subscription details if setting up or charging a subscription.","anyOf":[{"type":"array","items":{"title":"subscription_param","required":["interval","reference"],"type":"object","properties":{"interval":{"type":"string","description":"Unit of time between subscription charges.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months."},"name":{"maxLength":255,"type":"string","description":"Name for subscription."},"next_billing":{"title":"subscription_next_billing_param","required":["amount","date"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the next charge for the subscription."},"date":{"maxLength":5000,"type":"string","description":"The date of the next charge for the subscription in YYYY-MM-DD format."}},"description":"Describes the upcoming charge for this subscription.","x-stripeMostCommon":["amount","date"]},"reference":{"maxLength":255,"type":"string","description":"A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges."}},"x-stripeMostCommon":["interval","interval_count","name","next_billing","reference"]}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["capture_method","extra_merchant_data_blob","interoperability_token","line_items","on_demand","partner_confirmation_token","payment_details","payment_method_category","payment_option_id","preferred_locale","request_incremental_authorization","request_multicapture","setup_future_usage","subscriptions","supplementary_purchase_data"]},{"type":"string","enum":[""]}]},"konbini":{"description":"If this is a `konbini` PaymentMethod, this sub-hash contains details about the Konbini payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"confirmation_number":{"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.","anyOf":[{"maxLength":11,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"product_description":{"description":"A product descriptor of up to 22 characters, which will appear to customers at the convenience store.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["confirmation_number","expires_after_days","expires_at","fee_amount","product_description","setup_future_usage","tax_amount"]},{"type":"string","enum":[""]}]},"kr_card":{"description":"If this is a `kr_card` PaymentMethod, this sub-hash contains details about the KR Card payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"link":{"description":"If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","persistent_token","request_multicapture","setup_future_usage"]},{"type":"string","enum":[""]}]},"mb_way":{"description":"If this is a `mb_way` PaymentMethod, this sub-hash contains details about the MB WAY payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"mobilepay":{"description":"If this is a `MobilePay` PaymentMethod, this sub-hash contains details about the MobilePay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"multibanco":{"description":"If this is a `multibanco` PaymentMethod, this sub-hash contains details about the Multibanco payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"naver_pay":{"description":"If this is a `naver_pay` PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"nz_bank_account":{"description":"If this is a `nz_bank_account` PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["setup_future_usage","target_date"]},{"type":"string","enum":[""]}]},"oxxo":{"description":"If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},{"type":"string","enum":[""]}]},"p24":{"description":"If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"tos_shown_and_accepted":{"type":"boolean","description":"Confirm that the payer has accepted the P24 terms and conditions."}},"x-stripeMostCommon":["installments","setup_future_usage","tos_shown_and_accepted"]},{"type":"string","enum":[""]}]},"pay_by_bank":{"description":"If this is a `pay_by_bank` PaymentMethod, this sub-hash contains details about the PayByBank payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["allow_delayed_notification","country","locale","setup_future_usage","statement_descriptor"]},{"type":"string","enum":[""]}]},"payco":{"description":"If this is a `payco` PaymentMethod, this sub-hash contains details about the PAYCO payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"paynow":{"description":"If this is a `paynow` PaymentMethod, this sub-hash contains details about the PayNow payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"paypal":{"description":"If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["","manual"]},"preferred_locale":{"type":"string","description":"[Preferred locale](https://docs.stripe.com/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"],"x-stripeBypassValidation":true},"reference":{"maxLength":127,"type":"string","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."},"risk_correlation_id":{"maxLength":32,"type":"string","description":"The risk correlation ID for an on-session payment using a saved PayPal payment method."},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["allow_delayed_notification","capture_method","line_items","preferred_locale","reference","reference_id","risk_correlation_id","setup_future_usage","subsellers"]},{"type":"string","enum":[""]}]},"payto":{"description":"If this is a `payto` PaymentMethod, this sub-hash contains details about the PayTo payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_intent_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["","fixed","maximum"]},"end_date":{"description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["","adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["","dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"Additional fields for Mandate creation. Only `purpose` field is configurable for PayTo PaymentIntent with `setup_future_usage=none`. Other fields are only applicable to PayTo PaymentIntent with `setup_future_usage=off_session`","x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"pix":{"description":"If this is a `pix` PaymentMethod, this sub-hash contains details about the Pix payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax. Defaults to `never`.","enum":["always","never"]},"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds."},"expires_at":{"type":"integer","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"},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds","expires_at","mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"promptpay":{"description":"If this is a `promptpay` PaymentMethod, this sub-hash contains details about the PromptPay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]},"revolut_pay":{"description":"If this is a `revolut_pay` PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"samsung_pay":{"description":"If this is a `samsung_pay` PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method"]},{"type":"string","enum":[""]}]},"satispay":{"description":"If this is a `satispay` PaymentMethod, this sub-hash contains details about the Satispay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"capture_method":{"type":"string","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"]}},"x-stripeMostCommon":["capture_method","setup_future_usage"]},{"type":"string","enum":[""]}]},"sepa_debit":{"description":"If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference","reference_prefix"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date","verification_method"]},{"type":"string","enum":[""]}]},"sofort":{"description":"If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Language shown to the payer on redirect.","enum":["","de","en","es","fr","it","nl","pl"]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["preferred_language","setup_future_usage"]},{"type":"string","enum":[""]}]},"swish":{"description":"If this is a `Swish` PaymentMethod, this sub-hash contains details about the Swish payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"reference":{"description":"A reference for this payment to be displayed in the Swish app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["authorization_method","reference","setup_future_usage"]},{"type":"string","enum":[""]}]},"twint":{"description":"If this is a `twint` PaymentMethod, this sub-hash contains details about the TWINT payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"upi":{"description":"If this is a `upi` PaymentIntent, this sub-hash contains details about the UPI payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]},"setup_future_usage":{"type":"string","enum":["","none","off_session","on_session"]}},"x-stripeMostCommon":["mandate_options","setup_future_usage"]},{"type":"string","enum":[""]}]},"us_bank_account":{"description":"If this is a `us_bank_account` PaymentMethod, this sub-hash contains details about the US bank account payment method options.","anyOf":[{"title":"payment_intent_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"linked_account_options_param","type":"object","properties":{"filters":{"title":"linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"maxLength":5000,"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"collection_method":{"type":"string","description":"The method used to collect offline mandate customer acceptance.","enum":["","paper"],"x-stripeBypassValidation":true}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["collection_method"]},"networks":{"title":"networks_options_param","type":"object","properties":{"requested":{"type":"array","description":"Triggers validations to run across the selected networks","items":{"type":"string","enum":["ach","us_domestic_wire"]}}},"description":"Additional fields for network related functions","x-stripeMostCommon":["requested"]},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"transaction_purpose":{"type":"string","description":"The purpose of the transaction.","enum":["","goods","other","services","unspecified"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","mandate_options","networks","preferred_settlement_speed","setup_future_usage","target_date","transaction_purpose","verification_method"]},{"type":"string","enum":[""]}]},"wechat_pay":{"description":"If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"app_id":{"maxLength":5000,"type":"string","description":"The app ID registered with WeChat Pay. Only required when client is ios or android."},"client":{"type":"string","description":"The client type that the end customer will pay from","enum":["android","ios","web"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["app_id","client","setup_future_usage"]},{"type":"string","enum":[""]}]},"zip":{"description":"If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"x-stripeMostCommon":["setup_future_usage"]},{"type":"string","enum":[""]}]}},"description":"Payment method-specific configuration for this PaymentIntent.","x-stripeMostCommon":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","bizum","blik","boleto","card","card_present","cashapp","click_to_pay","crypto","customer_balance","demo_pay","dummy_auth_push","dummy_passthrough_card","eps","fpx","getbalance","giropay","gopay","grabpay","id_bank_transfer","ideal","interac_present","kakao_pay","klarna","knet","konbini","kr_card","kr_market","link","mb_way","mobilepay","mondu","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","paypay","payto","pix","promptpay","qris","rechnung","revolut_pay","samsung_pay","satispay","scalapay","sepa_debit","shopeepay","sofort","stripe_balance","swish","twint","upi","us_bank_account","vipps","wechat_pay","zip"]},"payment_method_types":{"type":"array","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). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"maxLength":5000,"type":"string"}},"radar_options":{"title":"radar_options_with_peval_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. Learn more about [Radar Sessions](https://docs.stripe.com/radar/radar-session).","x-stripeMostCommon":["payment_evaluation_options","session","skip_rules"]},"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).","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"return_url":{"type":"string","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."},"setup_future_usage":{"type":"string","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"]},"shipping":{"description":"Shipping information for this PaymentIntent.","anyOf":[{"title":"optional_fields_shipping","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]},{"type":"string","enum":[""]}]},"use_stripe_sdk":{"type":"boolean","description":"Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions."}},"additionalProperties":false,"x-stripeMostCommon":["payment_method","receipt_email","setup_future_usage","shipping"]},"encoding":{"amount_details":{"style":"deepObject","explode":true},"excluded_payment_method_types":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"hooks":{"style":"deepObject","explode":true},"mandate_data":{"style":"deepObject","explode":true},"off_session":{"style":"deepObject","explode":true},"payment_details":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true},"radar_options":{"style":"deepObject","explode":true},"receipt_email":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}/increment_authorization":{"post":{"summary":"Increment an authorization","description":"

Perform an incremental authorization on an eligible\nPaymentIntent. To be eligible, the\nPaymentIntent’s status must be requires_capture and\nincremental_authorization_supported\nmust be true.

\n\n

Incremental authorizations attempt to increase the authorized amount on\nyour customer’s card to the new, higher amount 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.

\n\n

If the incremental authorization succeeds, the PaymentIntent object\nreturns with the updated\namount.\nIf the incremental authorization fails, a\ncard_declined error returns, and no other\nfields on the PaymentIntent or Charge update. The PaymentIntent\nobject remains capturable for the previously authorized amount.

\n\n

Each PaymentIntent can have a maximum of 10 incremental authorization attempts, including declines.\nAfter it’s captured, a PaymentIntent can no longer be incremented.

\n\n

Learn more about incremental authorizations.

","operationId":"PostPaymentIntentsIntentIncrementAuthorization","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The updated total amount that you intend to collect from the cardholder. This amount must be greater than the currently authorized amount."},"amount_details":{"title":"amount_details_param","type":"object","properties":{"discount_amount":{"description":"The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"enforce_arithmetic_validation":{"type":"boolean","description":"Set to `false` to return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.\n\nOmit or set to `true` to immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.\n\nFor card payments, Stripe doesn't send line item data to card networks if there's an arithmetic validation error."},"line_items":{"description":"A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.","anyOf":[{"type":"array","items":{"title":"amount_details_line_item_param","required":["product_name","quantity","unit_cost"],"type":"object","properties":{"discount_amount":{"type":"integer","description":"The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field."},"payment_method_options":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"card":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card` payment method.","x-stripeMostCommon":["commodity_code"]},"card_present":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"commodity_code":{"maxLength":12,"type":"string","description":"Identifier that categorizes the items being purchased using a standardized commodity scheme such as (but not limited to) UNSPSC, NAICS, NAPCS, and so on."}},"description":"This sub-hash contains line item details that are specific to the `card_present` payment method.","x-stripeMostCommon":["commodity_code"]},"klarna":{"title":"payment_intent_amount_details_line_item_payment_method_options_param","type":"object","properties":{"image_url":{"maxLength":4096,"type":"string","description":"URL to an image for the product. Max length, 4096 characters."},"product_url":{"maxLength":4096,"type":"string","description":"URL to the product page. Max length, 4096 characters."},"reference":{"maxLength":255,"type":"string","description":"Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed."},"subscription_reference":{"maxLength":255,"type":"string","description":"Reference for the subscription this line item is for."}},"description":"This sub-hash contains line item details that are specific to the `klarna` payment method.","x-stripeMostCommon":["image_url","product_url","reference","subscription_reference"]},"paypal":{"title":"amount_details_line_item_payment_method_options_param","type":"object","properties":{"category":{"type":"string","description":"Type of the line item.","enum":["digital_goods","donation","physical_goods"]},"description":{"maxLength":127,"type":"string","description":"Description of the line item."},"sold_by":{"maxLength":127,"type":"string","description":"The Stripe account ID of the connected account that sells the item."}},"description":"This sub-hash contains line item details that are specific to the `paypal` payment method.","x-stripeMostCommon":["category","description","sold_by"]}},"description":"Payment method-specific information for line items.","x-stripeMostCommon":["card","card_present","dummy_auth_push","klarna","link","paypal"]},"product_code":{"maxLength":12,"type":"string","description":"The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long."},"product_name":{"maxLength":1024,"type":"string","description":"The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters."},"quantity":{"type":"integer","description":"The quantity of items. Required for L3 rates. An integer greater than 0."},"tax":{"title":"amount_details_line_item_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on a single line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[tax][total_tax_amount]` field."}},"description":"Contains information about the tax on the item.","x-stripeMostCommon":["total_tax_amount"]},"unit_cost":{"type":"integer","description":"The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0."},"unit_of_measure":{"maxLength":12,"type":"string","description":"A unit of measure for the line item, such as gallons, feet, meters, etc."}},"x-stripeMostCommon":["discount_amount","payment_method_options","product_code","product_name","quantity","tax","unit_cost","unit_of_measure"]}},{"type":"string","enum":[""]}]},"shipping":{"description":"Contains information about the shipping portion of the amount.","anyOf":[{"title":"amount_details_shipping_param","type":"object","properties":{"amount":{"description":"If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"from_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]},"to_postal_code":{"description":"If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.","anyOf":[{"maxLength":10,"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},{"type":"string","enum":[""]}]},"tax":{"description":"Contains information about the tax portion of the amount.","anyOf":[{"title":"amount_details_tax_param","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field."}},"x-stripeMostCommon":["total_tax_amount"]},{"type":"string","enum":[""]}]}},"description":"Provides industry-specific information about the amount.","x-stripeMostCommon":["discount_amount","enforce_arithmetic_validation","line_items","shipping","surcharge","tax"]},"application_fee_amount":{"type":"integer","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 amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts)."},"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"hooks":{"title":"async_workflows_param","type":"object","properties":{"inputs":{"title":"async_workflows_inputs_param","type":"object","properties":{"tax":{"title":"async_workflows_inputs_tax_param","required":["calculation"],"type":"object","properties":{"calculation":{"description":"The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Tax arguments for automations","x-stripeMostCommon":["calculation"]}},"description":"Arguments passed in automations","x-stripeMostCommon":["tax"]}},"description":"Automations to be run during the PaymentIntent lifecycle","x-stripeMostCommon":["inputs"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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_details":{"title":"payment_details_order_customer_reference_param","type":"object","properties":{"customer_reference":{"description":"A unique value to identify the customer. This field is available only for card payments.\n\nThis field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"order_reference":{"description":"A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.\n\nFor Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Provides industry-specific information about the charge."},"statement_descriptor":{"maxLength":22,"type":"string","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)."},"transfer_data":{"title":"transfer_data_update_auth_params","type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when a charge succeeds."}},"description":"The parameters used to automatically create a transfer after the payment is captured.\nLearn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).","x-stripeMostCommon":["amount"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","description","metadata","statement_descriptor"]},"encoding":{"amount_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"hooks":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_details":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_intents/{intent}/verify_microdeposits":{"post":{"summary":"Verify microdeposits on a PaymentIntent","description":"

Verifies microdeposits on a PaymentIntent object.

","operationId":"PostPaymentIntentsIntentVerifyMicrodeposits","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amounts":{"type":"array","description":"Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.","items":{"type":"integer"}},"descriptor_code":{"maxLength":5000,"type":"string","description":"A six-character code starting with SM present in the microdeposit sent to the bank account."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["amounts","descriptor_code"]},"encoding":{"amounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_links":{"get":{"summary":"List all payment links","description":"

Returns a list of your payment links.

","operationId":"GetPaymentLinks","parameters":[{"name":"active","in":"query","description":"Only return payment links that are active or inactive (e.g., pass `false` to list all inactive payment links).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentLinksResourcePaymentLinkList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_link"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/payment_links","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a payment link","description":"

Creates a payment link.

","operationId":"PostPaymentLinks","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["line_items"],"type":"object","properties":{"after_completion":{"title":"after_completion_params","required":["type"],"type":"object","properties":{"hosted_confirmation":{"title":"after_completion_confirmation_page_params","type":"object","properties":{"custom_message":{"maxLength":500,"type":"string","description":"A custom message to display to the customer after the purchase is complete."}},"description":"Configuration when `type=hosted_confirmation`.","x-stripeMostCommon":["custom_message"]},"redirect":{"title":"after_completion_redirect_params","required":["url"],"type":"object","properties":{"url":{"type":"string","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://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-id) included."}},"description":"Configuration when `type=redirect`.","x-stripeMostCommon":["url"]},"type":{"type":"string","description":"The specified behavior after the purchase is complete. Either `redirect` or `hosted_confirmation`.","enum":["hosted_confirmation","redirect"]}},"description":"Behavior after the purchase is complete.","x-stripeMostCommon":["hosted_confirmation","redirect","type"]},"allow_promotion_codes":{"type":"boolean","description":"Enables user redeemable promotion codes."},"application_fee_amount":{"type":"integer","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."},"application_fee_percent":{"type":"number","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":{"title":"automatic_tax_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.\n\nEnabling this parameter causes the payment link to collect any billing address information necessary for tax calculation."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Configuration for automatic tax collection.","x-stripeMostCommon":["enabled","liability"]},"billing_address_collection":{"type":"string","description":"Configuration for collecting the customer's billing address. Defaults to `auto`.","enum":["auto","required"]},"consent_collection":{"title":"consent_collection_params","type":"object","properties":{"payment_method_reuse_agreement":{"title":"payment_method_reuse_agreement_params","required":["position"],"type":"object","properties":{"position":{"type":"string","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"]}},"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.","x-stripeMostCommon":["position"]},"promotions":{"type":"string","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"]},"terms_of_service":{"type":"string","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"]}},"description":"Configure fields to gather active consent from customers.","x-stripeMostCommon":["payment_method_reuse_agreement","promotions","terms_of_service"]},"currency":{"type":"string","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.","format":"currency"},"custom_fields":{"type":"array","description":"Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.","items":{"title":"custom_field_param","required":["key","label","type"],"type":"object","properties":{"dropdown":{"title":"custom_field_dropdown_param","required":["options"],"type":"object","properties":{"default_value":{"maxLength":100,"type":"string","description":"The value that pre-fills the field on the payment page.Must match a `value` in the `options` array."},"options":{"type":"array","description":"The options available for the customer to select. Up to 200 options allowed.","items":{"title":"custom_field_option_param","required":["label","value"],"type":"object","properties":{"label":{"maxLength":100,"type":"string","description":"The label for the option, displayed to the customer. Up to 100 characters."},"value":{"maxLength":100,"type":"string","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."}},"x-stripeMostCommon":["label","value"]}}},"description":"Configuration for `type=dropdown` fields.","x-stripeMostCommon":["default_value","options"]},"key":{"maxLength":200,"type":"string","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."},"label":{"title":"custom_field_label_param","required":["custom","type"],"type":"object","properties":{"custom":{"maxLength":50,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 50 characters."},"type":{"type":"string","description":"The type of the label.","enum":["custom"]}},"description":"The label for the field, displayed to the customer.","x-stripeMostCommon":["custom","type"]},"numeric":{"title":"custom_field_numeric_param","type":"object","properties":{"default_value":{"maxLength":255,"type":"string","description":"The value that pre-fills the field on the payment page."},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input."},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input."}},"description":"Configuration for `type=numeric` fields.","x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."},"text":{"title":"custom_field_text_param","type":"object","properties":{"default_value":{"maxLength":255,"type":"string","description":"The value that pre-fills the field on the payment page."},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input."},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input."}},"description":"Configuration for `type=text` fields.","x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"type":{"type":"string","description":"The type of the field.","enum":["dropdown","numeric","text"]}},"x-stripeMostCommon":["dropdown","key","label","numeric","optional","text","type"]}},"custom_text":{"title":"custom_text_param","type":"object","properties":{"after_submit":{"description":"Custom text that should be displayed after the payment confirmation button.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"shipping_address":{"description":"Custom text that should be displayed alongside shipping address collection.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"submit":{"description":"Custom text that should be displayed alongside the payment confirmation button.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"terms_of_service_acceptance":{"description":"Custom text that should be displayed in place of the default terms of service agreement text.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]}},"description":"Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `custom`.","x-stripeMostCommon":["after_submit","shipping_address","submit","terms_of_service_acceptance"]},"customer_creation":{"type":"string","description":"Configures whether [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link create a [Customer](https://docs.stripe.com/api/customers).","enum":["always","if_required"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"inactive_message":{"maxLength":500,"type":"string","description":"The custom message to be displayed to a customer when a payment link is no longer active."},"invoice_creation":{"title":"invoice_creation_create_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled"},"invoice_data":{"title":"invoice_settings_params","type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the invoice.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"custom_fields":{"description":"Default custom fields to be displayed on invoices for this customer.","anyOf":[{"type":"array","items":{"title":"custom_field_params","required":["name","value"],"type":"object","properties":{"name":{"maxLength":40,"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"maxLength":140,"type":"string","description":"The value of the custom field. This may be up to 140 characters."}},"x-stripeMostCommon":["name","value"]}},{"type":"string","enum":[""]}]},"description":{"maxLength":1500,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"footer":{"maxLength":5000,"type":"string","description":"Default footer to be displayed on invoices for this customer."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"rendering_options":{"description":"Default options for invoice PDF rendering for this customer.","anyOf":[{"title":"checkout_rendering_options_param","type":"object","properties":{"amount_tax_display":{"type":"string","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"]},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to use for this invoice."}},"x-stripeMostCommon":["amount_tax_display","invoice_title","template"]},{"type":"string","enum":[""]}]}},"description":"Invoice PDF configuration.","x-stripeMostCommon":["account_tax_ids","custom_fields","description","footer","issuer","metadata","rendering_options"]}},"description":"Generate a post-purchase Invoice for one-time payments.","x-stripeMostCommon":["enabled","invoice_data"]},"line_items":{"type":"array","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":{"title":"line_items_create_params","required":["quantity"],"type":"object","properties":{"adjustable_quantity":{"title":"adjustable_quantity_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative Integer."},"maximum":{"type":"integer","description":"The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999999."},"minimum":{"type":"integer","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."}},"description":"When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.","x-stripeMostCommon":["enabled","maximum","minimum"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object. One of `price` or `price_data` is required."},"price_data":{"title":"custom_amount_price_data_with_product_data","required":["currency"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to. One of `product` or `product_data` is required."},"product_data":{"title":"product_data","required":["name"],"type":"object","properties":{"description":{"maxLength":40000,"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."},"images":{"type":"array","description":"A list of up to 8 URLs of images for this product, meant to be displayable to the customer.","items":{"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"description":"Data used to generate a new [Product](https://docs.stripe.com/api/products) object inline. One of `product` or `product_data` is required.","x-stripeMostCommon":["description","images","metadata","name","tax_code","tax_details","unit_label"]},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"The quantity of the line item being purchased."}},"x-stripeMostCommon":["adjustable_quantity","price","price_data","quantity"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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://docs.stripe.com/api/checkout/sessions) created by this payment link."},"name_collection":{"title":"name_collection_params","type":"object","properties":{"business":{"title":"name_collection_business_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable business name collection on the payment link. Defaults to `false`."},"optional":{"type":"boolean","description":"Whether the customer is required to provide their business name before checking out. Defaults to `false`."}},"description":"Controls settings applied for collecting the customer's business name.","x-stripeMostCommon":["enabled","optional"]},"individual":{"title":"name_collection_individual_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable individual name collection on the payment link. Defaults to `false`."},"optional":{"type":"boolean","description":"Whether the customer is required to provide their full name before checking out. Defaults to `false`."}},"description":"Controls settings applied for collecting the customer's individual name.","x-stripeMostCommon":["enabled","optional"]}},"description":"Controls settings applied for collecting the customer's name.","x-stripeMostCommon":["business","individual"]},"on_behalf_of":{"type":"string","description":"The account on behalf of which to charge."},"optional_items":{"type":"array","description":"A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).\nThere is a maximum of 10 optional items allowed on a payment link, and the existing limits on the number of line items allowed on a payment link apply to the combined number of line items and optional items.\nThere is a maximum of 20 combined line items and optional items.","items":{"title":"optional_item_params","required":["price","quantity"],"type":"object","properties":{"adjustable_quantity":{"title":"optional_item_adjustable_quantity_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity of this item the customer can purchase. By default this value is 99."},"minimum":{"type":"integer","description":"The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0."}},"description":"When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order.","x-stripeMostCommon":["enabled","maximum","minimum"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object."},"quantity":{"type":"integer","description":"The initial quantity of the line item created when a customer chooses to add this optional item to their order."}},"x-stripeMostCommon":["adjustable_quantity","price","quantity"]}},"payment_intent_data":{"title":"payment_intent_data_params","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["automatic","automatic_async","manual"]},"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will declaratively set metadata on [Payment Intents](https://docs.stripe.com/api/payment_intents) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values."},"setup_future_usage":{"type":"string","description":"Indicates that you intend to [make future payments](https://docs.stripe.com/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"]},"statement_descriptor":{"maxLength":22,"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":{"maxLength":22,"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":{"maxLength":5000,"type":"string","description":"A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers) for details."}},"description":"A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.","x-stripeMostCommon":["capture_method","description","metadata","setup_future_usage","statement_descriptor","statement_descriptor_suffix","transfer_group"]},"payment_method_collection":{"type":"string","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://docs.stripe.com/payments/checkout/free-trials).","enum":["always","if_required"]},"payment_method_types":{"type":"array","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://docs.stripe.com/payments/payment-methods/integration-options#payment-method-product-support)).","items":{"type":"string","enum":["affirm","afterpay_clearpay","alipay","alma","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","eps","fpx","giropay","grabpay","ideal","klarna","konbini","link","mb_way","mobilepay","multibanco","oxxo","p24","pay_by_bank","paynow","paypal","payto","pix","promptpay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"phone_number_collection":{"title":"phone_number_collection_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable 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.","x-stripeMostCommon":["enabled"]},"restrictions":{"title":"restrictions_params","required":["completed_sessions"],"type":"object","properties":{"completed_sessions":{"title":"completed_sessions_params","required":["limit"],"type":"object","properties":{"limit":{"type":"integer","description":"The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met."}},"description":"Configuration for the `completed_sessions` restriction type.","x-stripeMostCommon":["limit"]}},"description":"Settings that restrict the usage of a payment link.","x-stripeMostCommon":["completed_sessions"]},"shipping_address_collection":{"title":"shipping_address_collection_params","required":["allowed_countries"],"type":"object","properties":{"allowed_countries":{"type":"array","description":"An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations.","items":{"type":"string","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","SD","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"]}}},"description":"Configuration for collecting the customer's shipping address.","x-stripeMostCommon":["allowed_countries"]},"shipping_options":{"type":"array","description":"The shipping rate options to apply to [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link.","items":{"title":"shipping_option_params","type":"object","properties":{"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of the Shipping Rate to use for this shipping option."}},"x-stripeMostCommon":["shipping_rate"]}},"submit_type":{"type":"string","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://docs.stripe.com/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`).","enum":["auto","book","donate","pay","subscribe"]},"subscription_data":{"title":"subscription_data_params","type":"object","properties":{"description":{"maxLength":500,"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."},"invoice_settings":{"title":"subscription_data_invoice_settings_params","type":"object","properties":{"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["issuer"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will declaratively set metadata on [Subscriptions](https://docs.stripe.com/api/subscriptions) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values."},"trial_period_days":{"type":"integer","description":"Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1."},"trial_settings":{"title":"trial_settings_config","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"title":"end_behavior","required":["missing_payment_method"],"type":"object","properties":{"missing_payment_method":{"type":"string","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"]}},"description":"Defines how the subscription should behave when the user's free trial ends.","x-stripeMostCommon":["missing_payment_method"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"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`.","x-stripeMostCommon":["description","invoice_settings","metadata","trial_period_days","trial_settings"]},"tax_id_collection":{"title":"tax_id_collection_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable tax ID collection during checkout. Defaults to `false`."},"required":{"type":"string","description":"Describes whether a tax ID is required during checkout. Defaults to `never`. You can't set this parameter if `ui_mode` is `custom`.","enum":["if_supported","never"]}},"description":"Controls tax ID collection during checkout.","x-stripeMostCommon":["enabled","required"]},"transfer_data":{"title":"transfer_data_params","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount that will be transferred automatically when a charge succeeds."},"destination":{"type":"string","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."}},"description":"The account (if any) the payments will be attributed to for tax reporting, and where funds from each payment will be transferred to.","x-stripeMostCommon":["amount","destination"]}},"additionalProperties":false,"x-stripeMostCommon":["line_items","metadata"]},"encoding":{"after_completion":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"consent_collection":{"style":"deepObject","explode":true},"custom_fields":{"style":"deepObject","explode":true},"custom_text":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"invoice_creation":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"name_collection":{"style":"deepObject","explode":true},"optional_items":{"style":"deepObject","explode":true},"payment_intent_data":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true},"phone_number_collection":{"style":"deepObject","explode":true},"restrictions":{"style":"deepObject","explode":true},"shipping_address_collection":{"style":"deepObject","explode":true},"shipping_options":{"style":"deepObject","explode":true},"subscription_data":{"style":"deepObject","explode":true},"tax_id_collection":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_links/{payment_link}":{"get":{"summary":"Retrieve payment link","description":"

Retrieve a payment link.

","operationId":"GetPaymentLinksPaymentLink","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"payment_link","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a payment link","description":"

Updates a payment link.

","operationId":"PostPaymentLinksPaymentLink","parameters":[{"name":"payment_link","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","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."},"after_completion":{"title":"after_completion_params","required":["type"],"type":"object","properties":{"hosted_confirmation":{"title":"after_completion_confirmation_page_params","type":"object","properties":{"custom_message":{"maxLength":500,"type":"string","description":"A custom message to display to the customer after the purchase is complete."}},"description":"Configuration when `type=hosted_confirmation`.","x-stripeMostCommon":["custom_message"]},"redirect":{"title":"after_completion_redirect_params","required":["url"],"type":"object","properties":{"url":{"type":"string","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://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-id) included."}},"description":"Configuration when `type=redirect`.","x-stripeMostCommon":["url"]},"type":{"type":"string","description":"The specified behavior after the purchase is complete. Either `redirect` or `hosted_confirmation`.","enum":["hosted_confirmation","redirect"]}},"description":"Behavior after the purchase is complete.","x-stripeMostCommon":["hosted_confirmation","redirect","type"]},"allow_promotion_codes":{"type":"boolean","description":"Enables user redeemable promotion codes."},"automatic_tax":{"title":"automatic_tax_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to [calculate tax automatically](https://docs.stripe.com/tax) using the customer's location.\n\nEnabling this parameter causes the payment link to collect any billing address information necessary for tax calculation."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Configuration for automatic tax collection.","x-stripeMostCommon":["enabled","liability"]},"billing_address_collection":{"type":"string","description":"Configuration for collecting the customer's billing address. Defaults to `auto`.","enum":["auto","required"]},"custom_fields":{"description":"Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.","anyOf":[{"type":"array","items":{"title":"custom_field_param","required":["key","label","type"],"type":"object","properties":{"dropdown":{"title":"custom_field_dropdown_param","required":["options"],"type":"object","properties":{"default_value":{"maxLength":100,"type":"string","description":"The value that pre-fills the field on the payment page.Must match a `value` in the `options` array."},"options":{"type":"array","description":"The options available for the customer to select. Up to 200 options allowed.","items":{"title":"custom_field_option_param","required":["label","value"],"type":"object","properties":{"label":{"maxLength":100,"type":"string","description":"The label for the option, displayed to the customer. Up to 100 characters."},"value":{"maxLength":100,"type":"string","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."}},"x-stripeMostCommon":["label","value"]}}},"description":"Configuration for `type=dropdown` fields.","x-stripeMostCommon":["default_value","options"]},"key":{"maxLength":200,"type":"string","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."},"label":{"title":"custom_field_label_param","required":["custom","type"],"type":"object","properties":{"custom":{"maxLength":50,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 50 characters."},"type":{"type":"string","description":"The type of the label.","enum":["custom"]}},"description":"The label for the field, displayed to the customer.","x-stripeMostCommon":["custom","type"]},"numeric":{"title":"custom_field_numeric_param","type":"object","properties":{"default_value":{"maxLength":255,"type":"string","description":"The value that pre-fills the field on the payment page."},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input."},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input."}},"description":"Configuration for `type=numeric` fields.","x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."},"text":{"title":"custom_field_text_param","type":"object","properties":{"default_value":{"maxLength":255,"type":"string","description":"The value that pre-fills the field on the payment page."},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input."},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input."}},"description":"Configuration for `type=text` fields.","x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"type":{"type":"string","description":"The type of the field.","enum":["dropdown","numeric","text"]}},"x-stripeMostCommon":["dropdown","key","label","numeric","optional","text","type"]}},{"type":"string","enum":[""]}]},"custom_text":{"title":"custom_text_param","type":"object","properties":{"after_submit":{"description":"Custom text that should be displayed after the payment confirmation button.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"shipping_address":{"description":"Custom text that should be displayed alongside shipping address collection.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"submit":{"description":"Custom text that should be displayed alongside the payment confirmation button.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]},"terms_of_service_acceptance":{"description":"Custom text that should be displayed in place of the default terms of service agreement text.","anyOf":[{"title":"custom_text_position_param","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"x-stripeMostCommon":["message"]},{"type":"string","enum":[""]}]}},"description":"Display additional text for your customers using custom text. You can't set this parameter if `ui_mode` is `custom`.","x-stripeMostCommon":["after_submit","shipping_address","submit","terms_of_service_acceptance"]},"customer_creation":{"type":"string","description":"Configures whether [checkout sessions](https://docs.stripe.com/api/checkout/sessions) created by this payment link create a [Customer](https://docs.stripe.com/api/customers).","enum":["always","if_required"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"inactive_message":{"description":"The custom message to be displayed to a customer when a payment link is no longer active.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"invoice_creation":{"title":"invoice_creation_update_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled"},"invoice_data":{"title":"invoice_settings_params","type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the invoice.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"custom_fields":{"description":"Default custom fields to be displayed on invoices for this customer.","anyOf":[{"type":"array","items":{"title":"custom_field_params","required":["name","value"],"type":"object","properties":{"name":{"maxLength":40,"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"maxLength":140,"type":"string","description":"The value of the custom field. This may be up to 140 characters."}},"x-stripeMostCommon":["name","value"]}},{"type":"string","enum":[""]}]},"description":{"maxLength":1500,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"footer":{"maxLength":5000,"type":"string","description":"Default footer to be displayed on invoices for this customer."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"rendering_options":{"description":"Default options for invoice PDF rendering for this customer.","anyOf":[{"title":"checkout_rendering_options_param","type":"object","properties":{"amount_tax_display":{"type":"string","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"]},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to use for this invoice."}},"x-stripeMostCommon":["amount_tax_display","invoice_title","template"]},{"type":"string","enum":[""]}]}},"description":"Invoice PDF configuration.","x-stripeMostCommon":["account_tax_ids","custom_fields","description","footer","issuer","metadata","rendering_options"]}},"description":"Generate a post-purchase Invoice for one-time payments.","x-stripeMostCommon":["enabled","invoice_data"]},"line_items":{"type":"array","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":{"title":"line_items_update_params","required":["id"],"type":"object","properties":{"adjustable_quantity":{"title":"adjustable_quantity_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative Integer."},"maximum":{"type":"integer","description":"The maximum quantity the customer can purchase. By default this value is 99. You can specify a value up to 999999."},"minimum":{"type":"integer","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."}},"description":"When set, provides configuration for this item’s quantity to be adjusted by the customer during checkout.","x-stripeMostCommon":["enabled","maximum","minimum"]},"id":{"maxLength":5000,"type":"string","description":"The ID of an existing line item on the payment link."},"quantity":{"type":"integer","description":"The quantity of the line item being purchased."}},"x-stripeMostCommon":["adjustable_quantity","id","price","quantity"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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://docs.stripe.com/api/checkout/sessions) created by this payment link."},"name_collection":{"description":"Controls settings applied for collecting the customer's name.","anyOf":[{"title":"name_collection_params","type":"object","properties":{"business":{"title":"name_collection_business_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable business name collection on the payment link. Defaults to `false`."},"optional":{"type":"boolean","description":"Whether the customer is required to provide their business name before checking out. Defaults to `false`."}},"description":"Controls settings applied for collecting the customer's business name.","x-stripeMostCommon":["enabled","optional"]},"individual":{"title":"name_collection_individual_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable individual name collection on the payment link. Defaults to `false`."},"optional":{"type":"boolean","description":"Whether the customer is required to provide their full name before checking out. Defaults to `false`."}},"description":"Controls settings applied for collecting the customer's individual name.","x-stripeMostCommon":["enabled","optional"]}},"x-stripeMostCommon":["business","individual"]},{"type":"string","enum":[""]}]},"optional_items":{"description":"A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).\nThere is a maximum of 10 optional items allowed on a payment link, and the existing limits on the number of line items allowed on a payment link apply to the combined number of line items and optional items.\nThere is a maximum of 20 combined line items and optional items.","anyOf":[{"type":"array","items":{"title":"optional_item_params","required":["price","quantity"],"type":"object","properties":{"adjustable_quantity":{"title":"optional_item_adjustable_quantity_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity of this item the customer can purchase. By default this value is 99."},"minimum":{"type":"integer","description":"The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0."}},"description":"When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order.","x-stripeMostCommon":["enabled","maximum","minimum"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object."},"quantity":{"type":"integer","description":"The initial quantity of the line item created when a customer chooses to add this optional item to their order."}},"x-stripeMostCommon":["adjustable_quantity","price","quantity"]}},{"type":"string","enum":[""]}]},"payment_intent_data":{"title":"payment_intent_data_update_params","type":"object","properties":{"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":1000,"type":"string"},{"type":"string","enum":[""]}]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will declaratively set metadata on [Payment Intents](https://docs.stripe.com/api/payment_intents) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":22,"type":"string"},{"type":"string","enum":[""]}]},"transfer_group":{"description":"A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode.","x-stripeMostCommon":["description","metadata","setup_future_usage","statement_descriptor","statement_descriptor_suffix","transfer_group"]},"payment_method_collection":{"type":"string","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://docs.stripe.com/payments/checkout/free-trials).","enum":["always","if_required"]},"payment_method_types":{"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).","anyOf":[{"type":"array","items":{"type":"string","enum":["affirm","afterpay_clearpay","alipay","alma","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","eps","fpx","giropay","grabpay","ideal","klarna","konbini","link","mb_way","mobilepay","multibanco","oxxo","p24","pay_by_bank","paynow","paypal","payto","pix","promptpay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]},"phone_number_collection":{"title":"phone_number_collection_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to `true` to enable 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.","x-stripeMostCommon":["enabled"]},"restrictions":{"description":"Settings that restrict the usage of a payment link.","anyOf":[{"title":"restrictions_params","required":["completed_sessions"],"type":"object","properties":{"completed_sessions":{"title":"completed_sessions_params","required":["limit"],"type":"object","properties":{"limit":{"type":"integer","description":"The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met."}},"description":"Configuration for the `completed_sessions` restriction type.","x-stripeMostCommon":["limit"]}},"x-stripeMostCommon":["completed_sessions"]},{"type":"string","enum":[""]}]},"shipping_address_collection":{"description":"Configuration for collecting the customer's shipping address.","anyOf":[{"title":"shipping_address_collection_params","required":["allowed_countries"],"type":"object","properties":{"allowed_countries":{"type":"array","description":"An array of two-letter ISO country codes representing which countries Checkout should provide as options for\nshipping locations.","items":{"type":"string","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","SD","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"]}}},"x-stripeMostCommon":["allowed_countries"]},{"type":"string","enum":[""]}]},"submit_type":{"type":"string","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://docs.stripe.com/api/payment_links/payment_links/object#url) property (example: `donate.stripe.com`).","enum":["auto","book","donate","pay","subscribe"]},"subscription_data":{"title":"subscription_data_update_params","type":"object","properties":{"invoice_settings":{"title":"subscription_data_invoice_settings_params","type":"object","properties":{"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["issuer"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will declaratively set metadata on [Subscriptions](https://docs.stripe.com/api/subscriptions) generated from this payment link. Unlike object-level metadata, this field is declarative. Updates will clear prior values.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"trial_settings":{"description":"Settings related to subscription trials.","anyOf":[{"title":"trial_settings_config","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"title":"end_behavior","required":["missing_payment_method"],"type":"object","properties":{"missing_payment_method":{"type":"string","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"]}},"description":"Defines how the subscription should behave when the user's free trial ends.","x-stripeMostCommon":["missing_payment_method"]}},"x-stripeMostCommon":["end_behavior"]},{"type":"string","enum":[""]}]}},"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`.","x-stripeMostCommon":["invoice_settings","metadata","trial_period_days","trial_settings"]},"tax_id_collection":{"title":"tax_id_collection_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable tax ID collection during checkout. Defaults to `false`."},"required":{"type":"string","description":"Describes whether a tax ID is required during checkout. Defaults to `never`. You can't set this parameter if `ui_mode` is `custom`.","enum":["if_supported","never"]}},"description":"Controls tax ID collection during checkout.","x-stripeMostCommon":["enabled","required"]}},"additionalProperties":false,"x-stripeMostCommon":["active","line_items","metadata"]},"encoding":{"after_completion":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"custom_fields":{"style":"deepObject","explode":true},"custom_text":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"inactive_message":{"style":"deepObject","explode":true},"invoice_creation":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"name_collection":{"style":"deepObject","explode":true},"optional_items":{"style":"deepObject","explode":true},"payment_intent_data":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true},"phone_number_collection":{"style":"deepObject","explode":true},"restrictions":{"style":"deepObject","explode":true},"shipping_address_collection":{"style":"deepObject","explode":true},"subscription_data":{"style":"deepObject","explode":true},"tax_id_collection":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_links/{payment_link}/line_items":{"get":{"summary":"Retrieve a payment link's line items","description":"

When retrieving a payment link, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

","operationId":"GetPaymentLinksPaymentLinkLineItems","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_link","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentLinksResourceListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_method_configurations":{"get":{"summary":"List payment method configurations","description":"

List payment method configurations

","operationId":"GetPaymentMethodConfigurations","parameters":[{"name":"application","in":"query","description":"The Connect application to filter by.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"string","enum":[""]}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentMethodConfigResourcePaymentMethodConfigurationsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_method_configuration"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/payment_method_configurations","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a payment method configuration","description":"

Creates a payment method configuration

","operationId":"PostPaymentMethodConfigurations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"acss_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Canadian pre-authorized debit payments, check this [page](https://docs.stripe.com/payments/acss-debit) for more details like country availability.","x-stripeMostCommon":["display_preference"]},"affirm":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/affirm) for more details like country availability.","x-stripeMostCommon":["display_preference"]},"afterpay_clearpay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://docs.stripe.com/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.","x-stripeMostCommon":["display_preference"]},"alipay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/alipay) for more details.","x-stripeMostCommon":["display_preference"]},"alma":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.","x-stripeMostCommon":["display_preference"]},"amazon_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.","x-stripeMostCommon":["display_preference"]},"apple_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Stripe users can accept [Apple Pay](https://stripe.com/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](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://docs.stripe.com/apple-pay) for more details.","x-stripeMostCommon":["display_preference"]},"apple_pay_later":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"au_becs_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/au-becs-debit) for more details.","x-stripeMostCommon":["display_preference"]},"bacs_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://docs.stripe.com/payments/payment-methods/bacs-debit) for more details.","x-stripeMostCommon":["display_preference"]},"bancontact":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://docs.stripe.com/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://docs.stripe.com/payments/bancontact) for more details.","x-stripeMostCommon":["display_preference"]},"billie":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","x-stripeMostCommon":["display_preference"]},"blik":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"BLIK is a [single use](https://docs.stripe.com/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://docs.stripe.com/payments/blik) for more details.","x-stripeMostCommon":["display_preference"]},"boleto":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://docs.stripe.com/payments/boleto) for more details.","x-stripeMostCommon":["display_preference"]},"card":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.","x-stripeMostCommon":["display_preference"]},"cartes_bancaires":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/cartes-bancaires) for more details.","x-stripeMostCommon":["display_preference"]},"cashapp":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/cash-app-pay) for more details.","x-stripeMostCommon":["display_preference"]},"crypto":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"[Stablecoin payments](https://docs.stripe.com/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask.","x-stripeMostCommon":["display_preference"]},"customer_balance":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Uses a customer’s [cash balance](https://docs.stripe.com/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://docs.stripe.com/payments/bank-transfers) for more details.","x-stripeMostCommon":["display_preference"]},"eps":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/eps) for more details.","x-stripeMostCommon":["display_preference"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"fpx":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/fpx) for more details.","x-stripeMostCommon":["display_preference"]},"fr_meal_voucher_conecs":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Meal vouchers in France, or “titres-restaurant”, is a local benefits program commonly offered by employers for their employees to purchase prepared food and beverages on working days. Check this [page](https://docs.stripe.com/payments/meal-vouchers/fr-meal-vouchers) for more details.","x-stripeMostCommon":["display_preference"]},"giropay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/giropay) for more details.","x-stripeMostCommon":["display_preference"]},"google_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/google-pay) for more details.","x-stripeMostCommon":["display_preference"]},"grabpay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/grabpay) for more details.","x-stripeMostCommon":["display_preference"]},"ideal":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/ideal) for more details.","x-stripeMostCommon":["display_preference"]},"jcb":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"kakao_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Kakao Pay is a popular local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"klarna":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Klarna gives customers a range of [payment options](https://docs.stripe.com/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://docs.stripe.com/payments/klarna) for more details.","x-stripeMostCommon":["display_preference"]},"konbini":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://docs.stripe.com/payments/konbini) for more details.","x-stripeMostCommon":["display_preference"]},"kr_card":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Korean cards let users pay using locally issued cards from South Korea.","x-stripeMostCommon":["display_preference"]},"link":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"[Link](https://docs.stripe.com/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.","x-stripeMostCommon":["display_preference"]},"mb_way":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://docs.stripe.com/payments/mb-way) for more details.","x-stripeMostCommon":["display_preference"]},"mobilepay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"MobilePay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://docs.stripe.com/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://docs.stripe.com/payments/mobilepay) for more details.","x-stripeMostCommon":["display_preference"]},"multibanco":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"name":{"maxLength":100,"type":"string","description":"Configuration name."},"naver_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Naver Pay is a popular local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"nz_bank_account":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://docs.stripe.com/payments/nz-bank-account) for more details.","x-stripeMostCommon":["display_preference"]},"oxxo":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/oxxo) for more details.","x-stripeMostCommon":["display_preference"]},"p24":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/p24) for more details.","x-stripeMostCommon":["display_preference"]},"parent":{"maxLength":100,"type":"string","description":"Configuration's parent configuration. Specify to create a child configuration."},"pay_by_bank":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.","x-stripeMostCommon":["display_preference"]},"payco":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"paynow":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/paynow) for more details.","x-stripeMostCommon":["display_preference"]},"paypal":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://docs.stripe.com/payments/paypal) for more details.","x-stripeMostCommon":["display_preference"]},"payto":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.","x-stripeMostCommon":["display_preference"]},"pix":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.","x-stripeMostCommon":["display_preference"]},"promptpay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/promptpay) for more details.","x-stripeMostCommon":["display_preference"]},"revolut_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"samsung_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"satispay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","x-stripeMostCommon":["display_preference"]},"sepa_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/sepa-debit) for more details.","x-stripeMostCommon":["display_preference"]},"sofort":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/sofort) for more details.","x-stripeMostCommon":["display_preference"]},"swish":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Swish is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://docs.stripe.com/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://docs.stripe.com/payments/swish) for more details.","x-stripeMostCommon":["display_preference"]},"twint":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"upi":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Unified Payment Interface (UPI) is India's leading payment method with exponential growth since it launched in 2016.","x-stripeMostCommon":["display_preference"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/ach-direct-debit) for more details.","x-stripeMostCommon":["display_preference"]},"wechat_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/wechat-pay) for more details.","x-stripeMostCommon":["display_preference"]},"zip":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://docs.stripe.com/payments/zip) for more details like country availability.","x-stripeMostCommon":["display_preference"]}},"additionalProperties":false,"x-stripeMostCommon":["name","parent"]},"encoding":{"acss_debit":{"style":"deepObject","explode":true},"affirm":{"style":"deepObject","explode":true},"afterpay_clearpay":{"style":"deepObject","explode":true},"alipay":{"style":"deepObject","explode":true},"alma":{"style":"deepObject","explode":true},"amazon_pay":{"style":"deepObject","explode":true},"apple_pay":{"style":"deepObject","explode":true},"apple_pay_later":{"style":"deepObject","explode":true},"au_becs_debit":{"style":"deepObject","explode":true},"bacs_debit":{"style":"deepObject","explode":true},"bancontact":{"style":"deepObject","explode":true},"billie":{"style":"deepObject","explode":true},"blik":{"style":"deepObject","explode":true},"boleto":{"style":"deepObject","explode":true},"card":{"style":"deepObject","explode":true},"cartes_bancaires":{"style":"deepObject","explode":true},"cashapp":{"style":"deepObject","explode":true},"crypto":{"style":"deepObject","explode":true},"customer_balance":{"style":"deepObject","explode":true},"eps":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"fpx":{"style":"deepObject","explode":true},"fr_meal_voucher_conecs":{"style":"deepObject","explode":true},"giropay":{"style":"deepObject","explode":true},"google_pay":{"style":"deepObject","explode":true},"grabpay":{"style":"deepObject","explode":true},"ideal":{"style":"deepObject","explode":true},"jcb":{"style":"deepObject","explode":true},"kakao_pay":{"style":"deepObject","explode":true},"klarna":{"style":"deepObject","explode":true},"konbini":{"style":"deepObject","explode":true},"kr_card":{"style":"deepObject","explode":true},"link":{"style":"deepObject","explode":true},"mb_way":{"style":"deepObject","explode":true},"mobilepay":{"style":"deepObject","explode":true},"multibanco":{"style":"deepObject","explode":true},"naver_pay":{"style":"deepObject","explode":true},"nz_bank_account":{"style":"deepObject","explode":true},"oxxo":{"style":"deepObject","explode":true},"p24":{"style":"deepObject","explode":true},"pay_by_bank":{"style":"deepObject","explode":true},"payco":{"style":"deepObject","explode":true},"paynow":{"style":"deepObject","explode":true},"paypal":{"style":"deepObject","explode":true},"payto":{"style":"deepObject","explode":true},"pix":{"style":"deepObject","explode":true},"promptpay":{"style":"deepObject","explode":true},"revolut_pay":{"style":"deepObject","explode":true},"samsung_pay":{"style":"deepObject","explode":true},"satispay":{"style":"deepObject","explode":true},"sepa_debit":{"style":"deepObject","explode":true},"sofort":{"style":"deepObject","explode":true},"swish":{"style":"deepObject","explode":true},"twint":{"style":"deepObject","explode":true},"upi":{"style":"deepObject","explode":true},"us_bank_account":{"style":"deepObject","explode":true},"wechat_pay":{"style":"deepObject","explode":true},"zip":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method_configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_method_configurations/{configuration}":{"get":{"summary":"Retrieve payment method configuration","description":"

Retrieve payment method configuration

","operationId":"GetPaymentMethodConfigurationsConfiguration","parameters":[{"name":"configuration","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method_configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update payment method configuration","description":"

Update payment method configuration

","operationId":"PostPaymentMethodConfigurationsConfiguration","parameters":[{"name":"configuration","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"acss_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Canadian pre-authorized debit payments, check this [page](https://docs.stripe.com/payments/acss-debit) for more details like country availability.","x-stripeMostCommon":["display_preference"]},"active":{"type":"boolean","description":"Whether the configuration can be used for new payments."},"affirm":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/affirm) for more details like country availability.","x-stripeMostCommon":["display_preference"]},"afterpay_clearpay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Afterpay gives your customers a way to pay for purchases in installments, check this [page](https://docs.stripe.com/payments/afterpay-clearpay) for more details like country availability. Afterpay is particularly popular among businesses selling fashion, beauty, and sports products.","x-stripeMostCommon":["display_preference"]},"alipay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/alipay) for more details.","x-stripeMostCommon":["display_preference"]},"alma":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Alma is a Buy Now, Pay Later payment method that offers customers the ability to pay in 2, 3, or 4 installments.","x-stripeMostCommon":["display_preference"]},"amazon_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Amazon Pay is a wallet payment method that lets your customers check out the same way as on Amazon.","x-stripeMostCommon":["display_preference"]},"apple_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Stripe users can accept [Apple Pay](https://stripe.com/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](https://stripe.com/pricing) is the same as other card transactions. Check this [page](https://docs.stripe.com/apple-pay) for more details.","x-stripeMostCommon":["display_preference"]},"apple_pay_later":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"au_becs_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/au-becs-debit) for more details.","x-stripeMostCommon":["display_preference"]},"bacs_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Stripe users in the UK can accept Bacs Direct Debit payments from customers with a UK bank account, check this [page](https://docs.stripe.com/payments/payment-methods/bacs-debit) for more details.","x-stripeMostCommon":["display_preference"]},"bancontact":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Bancontact is the most popular online payment method in Belgium, with over 15 million cards in circulation. [Customers](https://docs.stripe.com/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://docs.stripe.com/payments/bancontact) for more details.","x-stripeMostCommon":["display_preference"]},"billie":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Billie is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method that offers businesses Pay by Invoice where they offer payment terms ranging from 7-120 days. Customers are redirected from your website or app, authorize the payment with Billie, then return to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","x-stripeMostCommon":["display_preference"]},"blik":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"BLIK is a [single use](https://docs.stripe.com/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://docs.stripe.com/payments/blik) for more details.","x-stripeMostCommon":["display_preference"]},"boleto":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Boleto is an official (regulated by the Central Bank of Brazil) payment method in Brazil. Check this [page](https://docs.stripe.com/payments/boleto) for more details.","x-stripeMostCommon":["display_preference"]},"card":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Cards are a popular way for consumers and businesses to pay online or in person. Stripe supports global and local card networks.","x-stripeMostCommon":["display_preference"]},"cartes_bancaires":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/cartes-bancaires) for more details.","x-stripeMostCommon":["display_preference"]},"cashapp":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/cash-app-pay) for more details.","x-stripeMostCommon":["display_preference"]},"crypto":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"[Stablecoin payments](https://docs.stripe.com/payments/stablecoin-payments) enable customers to pay in stablecoins like USDC from 100s of wallets including Phantom and Metamask.","x-stripeMostCommon":["display_preference"]},"customer_balance":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Uses a customer’s [cash balance](https://docs.stripe.com/payments/customer-balance) for the payment. The cash balance can be funded via a bank transfer. Check this [page](https://docs.stripe.com/payments/bank-transfers) for more details.","x-stripeMostCommon":["display_preference"]},"eps":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/eps) for more details.","x-stripeMostCommon":["display_preference"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"fpx":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/fpx) for more details.","x-stripeMostCommon":["display_preference"]},"fr_meal_voucher_conecs":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Meal vouchers in France, or “titres-restaurant”, is a local benefits program commonly offered by employers for their employees to purchase prepared food and beverages on working days. Check this [page](https://docs.stripe.com/payments/meal-vouchers/fr-meal-vouchers) for more details.","x-stripeMostCommon":["display_preference"]},"giropay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/giropay) for more details.","x-stripeMostCommon":["display_preference"]},"google_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/google-pay) for more details.","x-stripeMostCommon":["display_preference"]},"grabpay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/grabpay) for more details.","x-stripeMostCommon":["display_preference"]},"ideal":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/ideal) for more details.","x-stripeMostCommon":["display_preference"]},"jcb":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"kakao_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Kakao Pay is a popular local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"klarna":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Klarna gives customers a range of [payment options](https://docs.stripe.com/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://docs.stripe.com/payments/klarna) for more details.","x-stripeMostCommon":["display_preference"]},"konbini":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Konbini allows customers in Japan to pay for bills and online purchases at convenience stores with cash. Check this [page](https://docs.stripe.com/payments/konbini) for more details.","x-stripeMostCommon":["display_preference"]},"kr_card":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Korean cards let users pay using locally issued cards from South Korea.","x-stripeMostCommon":["display_preference"]},"link":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"[Link](https://docs.stripe.com/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.","x-stripeMostCommon":["display_preference"]},"mb_way":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"MB WAY is the most popular wallet in Portugal. After entering their phone number in your checkout, customers approve the payment directly in their MB WAY app. Check this [page](https://docs.stripe.com/payments/mb-way) for more details.","x-stripeMostCommon":["display_preference"]},"mobilepay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"MobilePay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) card wallet payment method used in Denmark and Finland. It allows customers to [authenticate and approve](https://docs.stripe.com/payments/payment-methods#customer-actions) payments using the MobilePay app. Check this [page](https://docs.stripe.com/payments/mobilepay) for more details.","x-stripeMostCommon":["display_preference"]},"multibanco":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"name":{"maxLength":100,"type":"string","description":"Configuration name."},"naver_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Naver Pay is a popular local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"nz_bank_account":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Stripe users in New Zealand can accept Bulk Electronic Clearing System (BECS) direct debit payments from customers with a New Zeland bank account. Check this [page](https://docs.stripe.com/payments/nz-bank-account) for more details.","x-stripeMostCommon":["display_preference"]},"oxxo":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/oxxo) for more details.","x-stripeMostCommon":["display_preference"]},"p24":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/p24) for more details.","x-stripeMostCommon":["display_preference"]},"pay_by_bank":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Pay by bank is a redirect payment method backed by bank transfers. A customer is redirected to their bank to authorize a bank transfer for a given amount. This removes a lot of the error risks inherent in waiting for the customer to initiate a transfer themselves, and is less expensive than card payments.","x-stripeMostCommon":["display_preference"]},"payco":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"PAYCO is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"paynow":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/paynow) for more details.","x-stripeMostCommon":["display_preference"]},"paypal":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://docs.stripe.com/payments/paypal) for more details.","x-stripeMostCommon":["display_preference"]},"payto":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.","x-stripeMostCommon":["display_preference"]},"pix":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.","x-stripeMostCommon":["display_preference"]},"promptpay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/promptpay) for more details.","x-stripeMostCommon":["display_preference"]},"revolut_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"samsung_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Samsung Pay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage local wallet available in South Korea.","x-stripeMostCommon":["display_preference"]},"satispay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Satispay is a [single-use](https://docs.stripe.com/payments/payment-methods#usage) payment method where customers are required to [authenticate](/payments/payment-methods#customer-actions) their payment. Customers pay by being redirected from your website or app, authorizing the payment with Satispay, then returning to your website or app. You get [immediate notification](/payments/payment-methods#payment-notification) of whether the payment succeeded or failed.","x-stripeMostCommon":["display_preference"]},"sepa_debit":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/sepa-debit) for more details.","x-stripeMostCommon":["display_preference"]},"sofort":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/sofort) for more details.","x-stripeMostCommon":["display_preference"]},"swish":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Swish is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Sweden. It allows customers to [authenticate and approve](https://docs.stripe.com/payments/payment-methods#customer-actions) payments using the Swish mobile app and the Swedish BankID mobile app. Check this [page](https://docs.stripe.com/payments/swish) for more details.","x-stripeMostCommon":["display_preference"]},"twint":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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.","x-stripeMostCommon":["display_preference"]},"upi":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Unified Payment Interface (UPI) is India's leading payment method with exponential growth since it launched in 2016.","x-stripeMostCommon":["display_preference"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/ach-direct-debit) for more details.","x-stripeMostCommon":["display_preference"]},"wechat_pay":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"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://docs.stripe.com/payments/wechat-pay) for more details.","x-stripeMostCommon":["display_preference"]},"zip":{"title":"payment_method_param","type":"object","properties":{"display_preference":{"title":"display_preference_param","type":"object","properties":{"preference":{"type":"string","description":"The account's preference for whether or not to display this payment method.","enum":["none","off","on"]}},"description":"Whether or not the payment method should be displayed.","x-stripeMostCommon":["preference"]}},"description":"Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://docs.stripe.com/payments/zip) for more details like country availability.","x-stripeMostCommon":["display_preference"]}},"additionalProperties":false,"x-stripeMostCommon":["active","name"]},"encoding":{"acss_debit":{"style":"deepObject","explode":true},"affirm":{"style":"deepObject","explode":true},"afterpay_clearpay":{"style":"deepObject","explode":true},"alipay":{"style":"deepObject","explode":true},"alma":{"style":"deepObject","explode":true},"amazon_pay":{"style":"deepObject","explode":true},"apple_pay":{"style":"deepObject","explode":true},"apple_pay_later":{"style":"deepObject","explode":true},"au_becs_debit":{"style":"deepObject","explode":true},"bacs_debit":{"style":"deepObject","explode":true},"bancontact":{"style":"deepObject","explode":true},"billie":{"style":"deepObject","explode":true},"blik":{"style":"deepObject","explode":true},"boleto":{"style":"deepObject","explode":true},"card":{"style":"deepObject","explode":true},"cartes_bancaires":{"style":"deepObject","explode":true},"cashapp":{"style":"deepObject","explode":true},"crypto":{"style":"deepObject","explode":true},"customer_balance":{"style":"deepObject","explode":true},"eps":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"fpx":{"style":"deepObject","explode":true},"fr_meal_voucher_conecs":{"style":"deepObject","explode":true},"giropay":{"style":"deepObject","explode":true},"google_pay":{"style":"deepObject","explode":true},"grabpay":{"style":"deepObject","explode":true},"ideal":{"style":"deepObject","explode":true},"jcb":{"style":"deepObject","explode":true},"kakao_pay":{"style":"deepObject","explode":true},"klarna":{"style":"deepObject","explode":true},"konbini":{"style":"deepObject","explode":true},"kr_card":{"style":"deepObject","explode":true},"link":{"style":"deepObject","explode":true},"mb_way":{"style":"deepObject","explode":true},"mobilepay":{"style":"deepObject","explode":true},"multibanco":{"style":"deepObject","explode":true},"naver_pay":{"style":"deepObject","explode":true},"nz_bank_account":{"style":"deepObject","explode":true},"oxxo":{"style":"deepObject","explode":true},"p24":{"style":"deepObject","explode":true},"pay_by_bank":{"style":"deepObject","explode":true},"payco":{"style":"deepObject","explode":true},"paynow":{"style":"deepObject","explode":true},"paypal":{"style":"deepObject","explode":true},"payto":{"style":"deepObject","explode":true},"pix":{"style":"deepObject","explode":true},"promptpay":{"style":"deepObject","explode":true},"revolut_pay":{"style":"deepObject","explode":true},"samsung_pay":{"style":"deepObject","explode":true},"satispay":{"style":"deepObject","explode":true},"sepa_debit":{"style":"deepObject","explode":true},"sofort":{"style":"deepObject","explode":true},"swish":{"style":"deepObject","explode":true},"twint":{"style":"deepObject","explode":true},"upi":{"style":"deepObject","explode":true},"us_bank_account":{"style":"deepObject","explode":true},"wechat_pay":{"style":"deepObject","explode":true},"zip":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method_configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_method_domains":{"get":{"summary":"List payment method domains","description":"

Lists the details of existing payment method domains.

","operationId":"GetPaymentMethodDomains","parameters":[{"name":"domain_name","in":"query","description":"The domain name that this payment method domain object represents.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"enabled","in":"query","description":"Whether this payment method domain is enabled. If the domain is not enabled, payment methods will not appear in Elements or Embedded Checkout","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentMethodDomainResourcePaymentMethodDomainList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_method_domain"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/payment_method_domains","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a payment method domain","description":"

Creates a payment method domain.

","operationId":"PostPaymentMethodDomains","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["domain_name"],"type":"object","properties":{"domain_name":{"maxLength":5000,"type":"string","description":"The domain name that this payment method domain object represents."},"enabled":{"type":"boolean","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 or Embedded Checkout."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["domain_name","enabled"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_method_domains/{payment_method_domain}":{"get":{"summary":"Retrieve a payment method domain","description":"

Retrieves the details of an existing payment method domain.

","operationId":"GetPaymentMethodDomainsPaymentMethodDomain","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"payment_method_domain","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a payment method domain","description":"

Updates an existing payment method domain.

","operationId":"PostPaymentMethodDomainsPaymentMethodDomain","parameters":[{"name":"payment_method_domain","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean","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 or Embedded Checkout."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["enabled"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_method_domains/{payment_method_domain}/validate":{"post":{"summary":"Validate an existing payment method domain","description":"

Some payment methods might require additional steps to register 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 or Embedded Checkout for this domain until it is active.

\n\n

To activate a payment method on an existing payment method domain, complete the required registration steps specific to the payment method, and then validate the payment method domain with this endpoint.

\n\n

Related guides: Payment method domains.

","operationId":"PostPaymentMethodDomainsPaymentMethodDomainValidate","parameters":[{"name":"payment_method_domain","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method_domain"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_methods":{"get":{"summary":"List PaymentMethods","description":"

Returns a list of all PaymentMethods.

","operationId":"GetPaymentMethods","parameters":[{"name":"allow_redisplay","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["always","limited","unspecified"]}},{"name":"customer","in":"query","description":"The ID of the customer whose PaymentMethods will be retrieved.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"The ID of the Account whose PaymentMethods will be retrieved.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","description":"Filters the list by the object `type` field. Unfiltered, the list returns all payment method types except `custom`. If your integration expects only one type of payment method in the response, specify that type value in the request to reduce your payload.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentFlowsPaymentMethodList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payment_method"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/payment_methods","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Shares a PaymentMethod","description":"

Creates a PaymentMethod object. Read the Stripe.js reference to learn how to create PaymentMethods via Stripe.js.

\n\n

Instead of creating a PaymentMethod directly, we recommend using the PaymentIntents API to accept a payment immediately or the SetupIntent API to collect payment method details ahead of a future payment.

","operationId":"PostPaymentMethods","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"card":{"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.","anyOf":[{"title":"card_details_params","required":["exp_month","exp_year","number"],"type":"object","properties":{"cvc":{"maxLength":5000,"type":"string","description":"The card's CVC. It is highly recommended to always include this value."},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"networks":{"title":"networks_params","type":"object","properties":{"preferred":{"type":"string","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"]}},"description":"Contains information about card networks used to process the payment.","x-stripeMostCommon":["preferred"]},"number":{"maxLength":5000,"type":"string","description":"The card number, as a string without any separators."}},"x-stripeMostCommon":["cvc","exp_month","exp_year","funding_options","networks","number","request_card_art_and_program_name","request_network_token"],"x-stripeParam":{"class_name":"CardDetails"}},{"title":"token_params","required":["token"],"type":"object","properties":{"token":{"maxLength":5000,"type":"string","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\"}."}},"x-stripeMostCommon":["token"],"x-stripeParam":{"class_name":"Token"}}],"x-stripeBypassValidation":true},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"custom":{"title":"create_param","required":["type"],"type":"object","properties":{"type":{"maxLength":5000,"type":"string","description":"ID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products' internal code to support CPMs."}},"description":"If this is a `custom` PaymentMethod, this hash contains details about the Custom payment method.","x-stripeMostCommon":["type"]},"customer":{"maxLength":5000,"type":"string","description":"The `Customer` to whom the original PaymentMethod is attached."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"payment_method":{"maxLength":5000,"type":"string","description":"The PaymentMethod to share."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"additionalProperties":false,"x-stripeMostCommon":["billing_details","customer","metadata","payment_method","type"]},"encoding":{"acss_debit":{"style":"deepObject","explode":true},"affirm":{"style":"deepObject","explode":true},"afterpay_clearpay":{"style":"deepObject","explode":true},"alipay":{"style":"deepObject","explode":true},"alma":{"style":"deepObject","explode":true},"amazon_pay":{"style":"deepObject","explode":true},"au_becs_debit":{"style":"deepObject","explode":true},"bacs_debit":{"style":"deepObject","explode":true},"bancontact":{"style":"deepObject","explode":true},"billie":{"style":"deepObject","explode":true},"billing_details":{"style":"deepObject","explode":true},"blik":{"style":"deepObject","explode":true},"boleto":{"style":"deepObject","explode":true},"card":{"style":"deepObject","explode":true},"cashapp":{"style":"deepObject","explode":true},"crypto":{"style":"deepObject","explode":true},"custom":{"style":"deepObject","explode":true},"customer_balance":{"style":"deepObject","explode":true},"eps":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"fpx":{"style":"deepObject","explode":true},"giropay":{"style":"deepObject","explode":true},"grabpay":{"style":"deepObject","explode":true},"ideal":{"style":"deepObject","explode":true},"interac_present":{"style":"deepObject","explode":true},"kakao_pay":{"style":"deepObject","explode":true},"klarna":{"style":"deepObject","explode":true},"konbini":{"style":"deepObject","explode":true},"kr_card":{"style":"deepObject","explode":true},"link":{"style":"deepObject","explode":true},"mb_way":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"mobilepay":{"style":"deepObject","explode":true},"multibanco":{"style":"deepObject","explode":true},"naver_pay":{"style":"deepObject","explode":true},"nz_bank_account":{"style":"deepObject","explode":true},"oxxo":{"style":"deepObject","explode":true},"p24":{"style":"deepObject","explode":true},"pay_by_bank":{"style":"deepObject","explode":true},"payco":{"style":"deepObject","explode":true},"paynow":{"style":"deepObject","explode":true},"paypal":{"style":"deepObject","explode":true},"payto":{"style":"deepObject","explode":true},"pix":{"style":"deepObject","explode":true},"promptpay":{"style":"deepObject","explode":true},"radar_options":{"style":"deepObject","explode":true},"revolut_pay":{"style":"deepObject","explode":true},"samsung_pay":{"style":"deepObject","explode":true},"satispay":{"style":"deepObject","explode":true},"sepa_debit":{"style":"deepObject","explode":true},"sofort":{"style":"deepObject","explode":true},"swish":{"style":"deepObject","explode":true},"twint":{"style":"deepObject","explode":true},"upi":{"style":"deepObject","explode":true},"us_bank_account":{"style":"deepObject","explode":true},"wechat_pay":{"style":"deepObject","explode":true},"zip":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_methods/{payment_method}":{"get":{"summary":"Retrieve a PaymentMethod","description":"

Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use Retrieve a Customer’s PaymentMethods

","operationId":"GetPaymentMethodsPaymentMethod","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"payment_method","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a PaymentMethod","description":"

Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated.

","operationId":"PostPaymentMethodsPaymentMethod","parameters":[{"name":"payment_method","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"allow_redisplay":{"type":"string","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"]},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"card":{"title":"update_api_param","type":"object","properties":{"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"networks":{"title":"networks_update_api_param","type":"object","properties":{"preferred":{"type":"string","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"]}},"description":"Contains information about card networks used to process the payment.","x-stripeMostCommon":["preferred"]}},"description":"If this is a `card` PaymentMethod, this hash contains the user's card details.","x-stripeMostCommon":["exp_month","exp_year","networks","request_card_art_and_program_name","request_network_token"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"us_bank_account":{"title":"update_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Bank account holder type.","enum":["company","individual"]},"account_type":{"type":"string","description":"Bank account type.","enum":["checking","savings"]}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_type"]}},"additionalProperties":false,"x-stripeMostCommon":["billing_details","metadata"]},"encoding":{"billing_details":{"style":"deepObject","explode":true},"card":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payto":{"style":"deepObject","explode":true},"us_bank_account":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_methods/{payment_method}/attach":{"post":{"summary":"Attach a PaymentMethod to a Customer","description":"

Attaches a PaymentMethod object to a Customer.

\n\n

To attach a new PaymentMethod to a customer for future payments, we recommend you use a SetupIntent\nor a PaymentIntent with setup_future_usage.\nThese approaches will perform any necessary steps to set up the PaymentMethod for future payments. Using the /v1/payment_methods/:id/attach\nendpoint without first using a SetupIntent or PaymentIntent with setup_future_usage does not optimize the PaymentMethod for\nfuture use, which makes later declines and payment friction more likely.\nSee Optimizing cards for future payments for more information about setting up\nfuture payments.

\n\n

To use this PaymentMethod as the default for invoice or subscription payments,\nset invoice_settings.default_payment_method,\non the Customer to the PaymentMethod’s ID.

","operationId":"PostPaymentMethodsPaymentMethodAttach","parameters":[{"name":"payment_method","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer to which to attach the PaymentMethod."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing the customer to which to attach the PaymentMethod."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["customer","customer_account"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_methods/{payment_method}/detach":{"post":{"summary":"Detach a PaymentMethod from a Customer","description":"

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.

","operationId":"PostPaymentMethodsPaymentMethodDetach","parameters":[{"name":"payment_method","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_method"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/report_payment":{"post":{"summary":"Report a payment","description":"

Report a new Payment Record. You may report a Payment Record as it is\n initialized and later report updates through the other report_* methods, or report Payment\n Records in a terminal state directly, through this method.

","operationId":"PostPaymentRecordsReportPayment","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount_requested","initiated_at","payment_method_details"],"type":"object","properties":{"amount_requested":{"title":"amount","required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"value":{"type":"integer","description":"A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY."}},"description":"The amount you initially requested for this payment.","x-stripeMostCommon":["currency","value"]},"customer_details":{"title":"customer_details","type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The customer who made the payment."},"email":{"type":"string","description":"The customer's phone number."},"name":{"maxLength":5000,"type":"string","description":"The customer's name."},"phone":{"type":"string","description":"The customer's phone number."}},"description":"Customer information for this payment.","x-stripeMostCommon":["customer","email","name","phone"]},"customer_presence":{"type":"string","description":"Indicates whether the customer was present in your checkout flow during this payment.","enum":["off_session","on_session"]},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"failed":{"title":"failed","required":["failed_at"],"type":"object","properties":{"failed_at":{"type":"integer","description":"When the reported payment failed. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Information about the payment attempt failure.","x-stripeMostCommon":["failed_at","failure_code"]},"guaranteed":{"title":"guaranteed","required":["guaranteed_at"],"type":"object","properties":{"guaranteed_at":{"type":"integer","description":"When the reported payment was guaranteed. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Information about the payment attempt guarantee.","x-stripeMostCommon":["amount","final_capture","guaranteed_at"]},"initiated_at":{"type":"integer","description":"When the reported payment was initiated. Measured in seconds since the Unix epoch.","format":"unix-time"},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"outcome":{"type":"string","description":"The outcome of the reported payment.","enum":["failed","guaranteed"]},"payment_method_details":{"title":"payment_method_details","type":"object","properties":{"billing_details":{"title":"billing_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The billing address associated with the method of payment.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"The billing email associated with the method of payment."},"name":{"maxLength":5000,"type":"string","description":"The billing name associated with the method of payment."},"phone":{"type":"string","description":"The billing phone number associated with the method of payment."}},"description":"The billing details associated with the method of payment.","x-stripeMostCommon":["address","email","name","phone"]},"custom":{"title":"custom","type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","description":"Display name for the custom (user-defined) payment method type used to make this payment."},"type":{"maxLength":5000,"type":"string","description":"The custom payment method type associated with this payment."}},"description":"Information about the custom (user-defined) payment method used to make this payment.","x-stripeMostCommon":["display_name","type"]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the Stripe Payment Method used to make this payment."},"type":{"type":"string","description":"The type of the payment method details. An additional hash is included on the payment_method_details with a name matching this value. It contains additional information specific to the type.","enum":["custom"]}},"description":"Information about the Payment Method debited for this payment.","x-stripeMostCommon":["billing_details","custom","payment_method","shared_payment_granted_token","type"]},"processor_details":{"title":"processor_details","required":["type"],"type":"object","properties":{"custom":{"title":"custom","required":["payment_reference"],"type":"object","properties":{"payment_reference":{"maxLength":5000,"type":"string","description":"An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID."}},"description":"Information about the custom processor used to make this payment.","x-stripeMostCommon":["payment_reference"]},"type":{"type":"string","description":"The type of the processor details. An additional hash is included on processor_details with a name matching this value. It contains additional information specific to the processor.","enum":["custom"]}},"description":"Processor information for this payment.","x-stripeMostCommon":["custom","type"]},"shipping_details":{"title":"shipping_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The physical shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"The shipping recipient's name."},"phone":{"type":"string","description":"The shipping recipient's phone number."}},"description":"Shipping information for this payment.","x-stripeMostCommon":["address","name","phone"]}},"additionalProperties":false,"x-stripeMostCommon":["amount_requested","customer_details","customer_presence","description","failed","guaranteed","initiated_at","metadata","outcome","payment_method_details","processor_details","shipping_details"]},"encoding":{"amount_requested":{"style":"deepObject","explode":true},"customer_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"failed":{"style":"deepObject","explode":true},"guaranteed":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_method_details":{"style":"deepObject","explode":true},"processor_details":{"style":"deepObject","explode":true},"shipping_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/{id}":{"get":{"summary":"Retrieve a Payment Record","description":"

Retrieves a Payment Record with the given ID

","operationId":"GetPaymentRecordsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"The ID of the Payment Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/{id}/report_payment_attempt":{"post":{"summary":"Report a payment attempt","description":"

Report a new payment attempt on the specified Payment Record. A new payment\n attempt can only be specified if all other payment attempts are canceled or failed.

","operationId":"PostPaymentRecordsIdReportPaymentAttempt","parameters":[{"name":"id","in":"path","description":"The ID of the Payment Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["initiated_at"],"type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"failed":{"title":"failed","required":["failed_at"],"type":"object","properties":{"failed_at":{"type":"integer","description":"When the reported payment failed. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Information about the payment attempt failure.","x-stripeMostCommon":["failed_at","failure_code"]},"guaranteed":{"title":"guaranteed","required":["guaranteed_at"],"type":"object","properties":{"guaranteed_at":{"type":"integer","description":"When the reported payment was guaranteed. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Information about the payment attempt guarantee.","x-stripeMostCommon":["amount","final_capture","guaranteed_at"]},"initiated_at":{"type":"integer","description":"When the reported payment was initiated. Measured in seconds since the Unix epoch.","format":"unix-time"},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"outcome":{"type":"string","description":"The outcome of the reported payment.","enum":["failed","guaranteed"]},"payment_method_details":{"title":"payment_method_details","type":"object","properties":{"billing_details":{"title":"billing_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The billing address associated with the method of payment.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"The billing email associated with the method of payment."},"name":{"maxLength":5000,"type":"string","description":"The billing name associated with the method of payment."},"phone":{"type":"string","description":"The billing phone number associated with the method of payment."}},"description":"The billing details associated with the method of payment.","x-stripeMostCommon":["address","email","name","phone"]},"custom":{"title":"custom","type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","description":"Display name for the custom (user-defined) payment method type used to make this payment."},"type":{"maxLength":5000,"type":"string","description":"The custom payment method type associated with this payment."}},"description":"Information about the custom (user-defined) payment method used to make this payment.","x-stripeMostCommon":["display_name","type"]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the Stripe Payment Method used to make this payment."},"type":{"type":"string","description":"The type of the payment method details. An additional hash is included on the payment_method_details with a name matching this value. It contains additional information specific to the type.","enum":["custom"]}},"description":"Information about the Payment Method debited for this payment.","x-stripeMostCommon":["billing_details","custom","payment_method","shared_payment_granted_token","type"]},"shipping_details":{"title":"shipping_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The physical shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"The shipping recipient's name."},"phone":{"type":"string","description":"The shipping recipient's phone number."}},"description":"Shipping information for this payment.","x-stripeMostCommon":["address","name","phone"]}},"additionalProperties":false,"x-stripeMostCommon":["description","failed","guaranteed","initiated_at","metadata","outcome","payment_method_details","shipping_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"failed":{"style":"deepObject","explode":true},"guaranteed":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_method_details":{"style":"deepObject","explode":true},"shipping_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/{id}/report_payment_attempt_canceled":{"post":{"summary":"Report payment attempt canceled","description":"

Report that the most recent payment attempt on the specified Payment Record\n was canceled.

","operationId":"PostPaymentRecordsIdReportPaymentAttemptCanceled","parameters":[{"name":"id","in":"path","description":"The ID of the Payment Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["canceled_at"],"type":"object","properties":{"canceled_at":{"type":"integer","description":"When the reported payment was canceled. Measured in seconds since the Unix epoch.","format":"unix-time"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["canceled_at","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/{id}/report_payment_attempt_failed":{"post":{"summary":"Report payment attempt failed","description":"

Report that the most recent payment attempt on the specified Payment Record\n failed or errored.

","operationId":"PostPaymentRecordsIdReportPaymentAttemptFailed","parameters":[{"name":"id","in":"path","description":"The ID of the Payment Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["failed_at"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"failed_at":{"type":"integer","description":"When the reported payment failed. Measured in seconds since the Unix epoch.","format":"unix-time"},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["failed_at","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/{id}/report_payment_attempt_guaranteed":{"post":{"summary":"Report payment attempt guaranteed","description":"

Report that the most recent payment attempt on the specified Payment Record\n was guaranteed.

","operationId":"PostPaymentRecordsIdReportPaymentAttemptGuaranteed","parameters":[{"name":"id","in":"path","description":"The ID of the Payment Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["guaranteed_at"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"guaranteed_at":{"type":"integer","description":"When the reported payment was guaranteed. Measured in seconds since the Unix epoch.","format":"unix-time"},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["guaranteed_at","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/{id}/report_payment_attempt_informational":{"post":{"summary":"Report payment attempt informational","description":"

Report informational updates on the specified Payment Record.

","operationId":"PostPaymentRecordsIdReportPaymentAttemptInformational","parameters":[{"name":"id","in":"path","description":"The ID of the Payment Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"customer_details":{"title":"customer_details","type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The customer who made the payment."},"email":{"type":"string","description":"The customer's phone number."},"name":{"maxLength":5000,"type":"string","description":"The customer's name."},"phone":{"type":"string","description":"The customer's phone number."}},"description":"Customer information for this payment.","x-stripeMostCommon":["customer","email","name","phone"]},"description":{"description":"An arbitrary string attached to the object. Often useful for displaying to users.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"shipping_details":{"description":"Shipping information for this payment.","anyOf":[{"title":"shipping_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The physical shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"The shipping recipient's name."},"phone":{"type":"string","description":"The shipping recipient's phone number."}},"x-stripeMostCommon":["address","name","phone"]},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["customer_details","description","metadata","shipping_details"]},"encoding":{"customer_details":{"style":"deepObject","explode":true},"description":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"shipping_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payment_records/{id}/report_refund":{"post":{"summary":"Report a refund","description":"

Report that the most recent payment attempt on the specified Payment Record\n was refunded.

","operationId":"PostPaymentRecordsIdReportRefund","parameters":[{"name":"id","in":"path","description":"The ID of the Payment Record.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["outcome","processor_details","refunded"],"type":"object","properties":{"amount":{"title":"amount","required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"value":{"type":"integer","description":"A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY."}},"description":"A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) representing how much of this payment to refund. Can refund only up to the remaining, unrefunded amount of the payment.","x-stripeMostCommon":["currency","value"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"initiated_at":{"type":"integer","description":"When the reported refund was initiated. Measured in seconds since the Unix epoch.","format":"unix-time"},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"outcome":{"type":"string","description":"The outcome of the reported refund.","enum":["refunded"]},"processor_details":{"title":"processor_details","required":["type"],"type":"object","properties":{"custom":{"title":"custom","required":["refund_reference"],"type":"object","properties":{"refund_reference":{"maxLength":5000,"type":"string","description":"A reference to the external refund. This field must be unique across all refunds."}},"description":"Information about the custom processor used to make this refund.","x-stripeMostCommon":["refund_reference"]},"type":{"type":"string","description":"The type of the processor details. An additional hash is included on processor_details with a name matching this value. It contains additional information specific to the processor.","enum":["custom"]}},"description":"Processor information for this refund.","x-stripeMostCommon":["custom","type"]},"refunded":{"title":"refunded","required":["refunded_at"],"type":"object","properties":{"refunded_at":{"type":"integer","description":"When the reported refund completed. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Information about the payment attempt refund.","x-stripeMostCommon":["refunded_at"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","initiated_at","metadata","outcome","processor_details","refunded"]},"encoding":{"amount":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"processor_details":{"style":"deepObject","explode":true},"refunded":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payment_record"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payouts":{"get":{"summary":"List all payouts","description":"

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.

","operationId":"GetPayouts","parameters":[{"name":"arrival_date","in":"query","description":"Only return payouts that are expected to arrive during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"created","in":"query","description":"Only return payouts that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"destination","in":"query","description":"The ID of an external account - only return payouts sent to this external account.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return payouts that have the given status: `pending`, `paid`, `failed`, or `canceled`.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PayoutList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/payout"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/payouts","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a payout","description":"

To send funds to your own bank account, create a new payout object. Your Stripe balance must cover the payout amount. If it doesn’t, you receive an “Insufficient Funds” error.

\n\n

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.

\n\n

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 balance object details available and pending amounts by source type.

","operationId":"PostPayouts","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A positive integer in cents representing how much to payout."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"destination":{"type":"string","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"method":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"payout_method":{"type":"string","description":"The ID of a v2 FinancialAccount to send funds to."},"source_type":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"statement_descriptor":{"maxLength":22,"type":"string","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.","x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","metadata","statement_descriptor"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payout"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payouts/{payout}":{"get":{"summary":"Retrieve a payout","description":"

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.

","operationId":"GetPayoutsPayout","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"payout","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payout"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a payout","description":"

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.

","operationId":"PostPayoutsPayout","parameters":[{"name":"payout","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payout"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payouts/{payout}/cancel":{"post":{"summary":"Cancel a payout","description":"

You can cancel a previously created payout if its status is pending. Stripe refunds the funds to your available balance. You can’t cancel automatic Stripe payouts.

","operationId":"PostPayoutsPayoutCancel","parameters":[{"name":"payout","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payout"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/payouts/{payout}/reverse":{"post":{"summary":"Reverse a payout","description":"

Reverses a payout by debiting the destination bank account. At this time, you can only reverse payouts for connected accounts to US and Canadian bank accounts. If the payout is manual and in the pending status, use /v1/payouts/:id/cancel instead.

\n\n

By requesting a reversal through /v1/payouts/:id/reverse, 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.

","operationId":"PostPayoutsPayoutReverse","parameters":[{"name":"payout","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/payout"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/plans":{"get":{"summary":"List all plans","description":"

Returns a list of your plans.

","operationId":"GetPlans","parameters":[{"name":"active","in":"query","description":"Only return plans that are active or inactive (e.g., pass `false` to list all inactive plans).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"product","in":"query","description":"Only return plans for the given product.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PlanList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/plan"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/plans","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a plan","description":"

You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and is backwards compatible to simplify your migration.

","operationId":"PostPlans","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["currency","interval"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the plan is currently available for new subscriptions. Defaults to `true`."},"amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free plan) representing how much to charge on a recurring basis."},"amount_decimal":{"type":"string","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"},"billing_scheme":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"id":{"maxLength":5000,"type":"string","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."},"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"meter":{"maxLength":5000,"type":"string","description":"The meter tracking the usage of a metered price"},"nickname":{"maxLength":5000,"type":"string","description":"A brief description of the plan, hidden from customers."},"product":{"anyOf":[{"title":"inline_product_params","required":["name"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the product is currently available for purchase. Defaults to `true`."},"id":{"maxLength":5000,"type":"string","description":"The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.","deprecated":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"statement_descriptor":{"maxLength":22,"type":"string","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."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"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://docs.stripe.com/api#product_object-type).","x-stripeMostCommon":["active","id","images","metadata","name","statement_descriptor","tax_code","tax_details","unit_label"]},{"maxLength":5000,"type":"string","description":"The ID of the product whose pricing the created plan will represent."}]},"tiers":{"type":"array","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":{"title":"tier","required":["up_to"],"type":"object","properties":{"flat_amount":{"type":"integer","description":"The flat billing amount for an entire tier, regardless of the number of units in the tier."},"flat_amount_decimal":{"type":"string","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"},"unit_amount":{"type":"integer","description":"The per unit billing amount for each individual unit for which this tier applies."},"unit_amount_decimal":{"type":"string","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"},"up_to":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["inf"]},{"type":"integer"}]}},"x-stripeMostCommon":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"]}},"tiers_mode":{"type":"string","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"]},"transform_usage":{"title":"transform_usage_param","required":["divide_by","round"],"type":"object","properties":{"divide_by":{"type":"integer","description":"Divide usage by this number."},"round":{"type":"string","description":"After division, either round the result `up` or `down`.","enum":["down","up"]}},"description":"Apply a transformation to the reported usage or set quantity before computing the billed price. Cannot be combined with `tiers`.","x-stripeMostCommon":["divide_by","round"]},"trial_period_days":{"type":"integer","description":"Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan)."},"usage_type":{"type":"string","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"]}},"additionalProperties":false,"x-stripeMostCommon":["active","amount","currency","interval","metadata","nickname","product"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"product":{"style":"deepObject","explode":true},"tiers":{"style":"deepObject","explode":true},"transform_usage":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/plan"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/plans/{plan}":{"get":{"summary":"Retrieve a plan","description":"

Retrieves the plan with the given ID.

","operationId":"GetPlansPlan","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"plan","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/plan"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a plan","description":"

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.

","operationId":"PostPlansPlan","parameters":[{"name":"plan","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether the plan is currently available for new subscriptions."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"nickname":{"maxLength":5000,"type":"string","description":"A brief description of the plan, hidden from customers."},"product":{"maxLength":5000,"type":"string","description":"The product the plan belongs to. This cannot be changed once it has been used in a subscription or subscription schedule."},"trial_period_days":{"type":"integer","description":"Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan)."}},"additionalProperties":false,"x-stripeMostCommon":["active","metadata","nickname"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/plan"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a plan","description":"

Deleting plans means new subscribers can’t be added. Existing subscribers aren’t affected.

","operationId":"DeletePlansPlan","parameters":[{"name":"plan","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_plan"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/prices":{"get":{"summary":"List all prices","description":"

Returns a list of your active prices, excluding inline prices. For the list of inactive prices, set active to false.

","operationId":"GetPrices","parameters":[{"name":"active","in":"query","description":"Only return prices that are active or inactive (e.g., pass `false` to list all inactive prices).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"currency","in":"query","description":"Only return prices for the given currency.","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"currency"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"lookup_keys","in":"query","description":"Only return the price with these lookup_keys, if any exist. You can specify up to 10 lookup_keys.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"product","in":"query","description":"Only return prices for the given product.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"recurring","in":"query","description":"Only return prices with these recurring fields.","required":false,"style":"deepObject","explode":true,"schema":{"title":"all_prices_recurring_params","type":"object","properties":{"interval":{"type":"string","description":"Filter by billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"meter":{"maxLength":5000,"type":"string","description":"Filter by the price's meter."},"usage_type":{"type":"string","description":"Filter by the usage type for this price. Can be either `metered` or `licensed`.","enum":["licensed","metered"]}},"x-stripeMostCommon":["interval","meter","usage_type"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","description":"Only return prices of type `recurring` or `one_time`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["one_time","recurring"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PriceList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/price"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/prices","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a price","description":"

Creates a new Price for an existing Product. The Price can be recurring or one-time.

","operationId":"PostPrices","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["currency"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the price can be used for new purchases. Defaults to `true`."},"billing_scheme":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","type":"object","properties":{"custom_unit_amount":{"title":"custom_unit_amount","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`."},"maximum":{"type":"integer","description":"The maximum unit amount the customer can specify for this item."},"minimum":{"type":"integer","description":"The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount."},"preset":{"type":"integer","description":"The starting unit amount which can be updated by the customer."}},"description":"When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.","x-stripeMostCommon":["enabled","preset"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"tiers":{"type":"array","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":{"title":"tier","required":["up_to"],"type":"object","properties":{"flat_amount":{"type":"integer","description":"The flat billing amount for an entire tier, regardless of the number of units in the tier."},"flat_amount_decimal":{"type":"string","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"},"unit_amount":{"type":"integer","description":"The per unit billing amount for each individual unit for which this tier applies."},"unit_amount_decimal":{"type":"string","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"},"up_to":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["inf"]},{"type":"integer"}]}},"x-stripeMostCommon":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"]}},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"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)."},"custom_unit_amount":{"title":"custom_unit_amount","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`."},"maximum":{"type":"integer","description":"The maximum unit amount the customer can specify for this item."},"minimum":{"type":"integer","description":"The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount."},"preset":{"type":"integer","description":"The starting unit amount which can be updated by the customer."}},"description":"When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.","x-stripeMostCommon":["enabled","preset"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"lookup_key":{"maxLength":200,"type":"string","description":"A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"A brief description of the price, hidden from customers."},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"product_data":{"title":"inline_product_params","required":["name"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the product is currently available for purchase. Defaults to `true`."},"id":{"maxLength":5000,"type":"string","description":"The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.","deprecated":true},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"statement_descriptor":{"maxLength":22,"type":"string","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."},"tax_code":{"maxLength":5000,"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"unit_label":{"maxLength":12,"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."}},"description":"These fields can be used to create a new product that this price will belong to.","x-stripeMostCommon":["active","id","images","metadata","name","statement_descriptor","tax_code","tax_details","unit_label"]},"recurring":{"title":"recurring","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."},"meter":{"maxLength":5000,"type":"string","description":"The meter tracking the usage of a metered price"},"trial_period_days":{"type":"integer","description":"Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan)."},"usage_type":{"type":"string","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"]}},"description":"The recurring components of a price such as `interval` and `usage_type`.","x-stripeMostCommon":["interval","meter","trial_period_days","usage_type"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"tiers":{"type":"array","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":{"title":"tier","required":["up_to"],"type":"object","properties":{"flat_amount":{"type":"integer","description":"The flat billing amount for an entire tier, regardless of the number of units in the tier."},"flat_amount_decimal":{"type":"string","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"},"unit_amount":{"type":"integer","description":"The per unit billing amount for each individual unit for which this tier applies."},"unit_amount_decimal":{"type":"string","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"},"up_to":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["inf"]},{"type":"integer"}]}},"x-stripeMostCommon":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"]}},"tiers_mode":{"type":"string","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"]},"transfer_lookup_key":{"type":"boolean","description":"If set to true, will atomically remove the lookup key from the existing price, and assign it to this price."},"transform_quantity":{"title":"transform_usage_param","required":["divide_by","round"],"type":"object","properties":{"divide_by":{"type":"integer","description":"Divide usage by this number."},"round":{"type":"string","description":"After division, either round the result `up` or `down`.","enum":["down","up"]}},"description":"Apply a transformation to the reported usage or set quantity before computing the billed price. Cannot be combined with `tiers`.","x-stripeMostCommon":["divide_by","round"]},"unit_amount":{"type":"integer","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`."},"unit_amount_decimal":{"type":"string","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"}},"additionalProperties":false,"x-stripeMostCommon":["active","currency","metadata","nickname","product","recurring","tax_behavior","unit_amount"]},"encoding":{"currency_options":{"style":"deepObject","explode":true},"custom_unit_amount":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"product_data":{"style":"deepObject","explode":true},"recurring":{"style":"deepObject","explode":true},"tiers":{"style":"deepObject","explode":true},"transform_quantity":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/price"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/prices/search":{"get":{"summary":"Search prices","description":"

Search for prices you’ve previously created using Stripe’s Search Query Language.\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.

","operationId":"GetPricesSearch","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"page","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"query","in":"query","description":"The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for prices](https://docs.stripe.com/search#query-fields-for-prices).","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SearchResult","required":["data","has_more","next_page","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/price"}},"has_more":{"type":"boolean"},"next_page":{"maxLength":5000,"type":"string","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["search_result"]},"total_count":{"type":"integer","description":"The total number of objects that match the query, only accurate up to 10,000."},"url":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","next_page","object","total_count","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/prices/{price}":{"get":{"summary":"Retrieve a price","description":"

Retrieves the price with the given ID.

","operationId":"GetPricesPrice","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"price","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/price"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a price","description":"

Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged.

","operationId":"PostPricesPrice","parameters":[{"name":"price","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether the price can be used for new purchases. Defaults to `true`."},"currency_options":{"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).","anyOf":[{"type":"object","additionalProperties":{"title":"currency_option","type":"object","properties":{"custom_unit_amount":{"title":"custom_unit_amount","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`."},"maximum":{"type":"integer","description":"The maximum unit amount the customer can specify for this item."},"minimum":{"type":"integer","description":"The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount."},"preset":{"type":"integer","description":"The starting unit amount which can be updated by the customer."}},"description":"When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.","x-stripeMostCommon":["enabled","preset"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"tiers":{"type":"array","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":{"title":"tier","required":["up_to"],"type":"object","properties":{"flat_amount":{"type":"integer","description":"The flat billing amount for an entire tier, regardless of the number of units in the tier."},"flat_amount_decimal":{"type":"string","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"},"unit_amount":{"type":"integer","description":"The per unit billing amount for each individual unit for which this tier applies."},"unit_amount_decimal":{"type":"string","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"},"up_to":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["inf"]},{"type":"integer"}]}},"x-stripeMostCommon":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"]}},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"x-stripeMostCommon":["unit_amount"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"lookup_key":{"maxLength":200,"type":"string","description":"A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"nickname":{"maxLength":5000,"type":"string","description":"A brief description of the price, hidden from customers."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"transfer_lookup_key":{"type":"boolean","description":"If set to true, will atomically remove the lookup key from the existing price, and assign it to this price."}},"additionalProperties":false,"x-stripeMostCommon":["active","metadata","nickname","tax_behavior"]},"encoding":{"currency_options":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/price"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/products":{"get":{"summary":"List all products","description":"

Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first.

","operationId":"GetProducts","parameters":[{"name":"active","in":"query","description":"Only return products that are active or inactive (e.g., pass `false` to list all inactive products).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"created","in":"query","description":"Only return products that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"ids","in":"query","description":"Only return products with the given IDs. Cannot be used with [starting_after](https://api.stripe.com#list_products-starting_after) or [ending_before](https://api.stripe.com#list_products-ending_before).","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"shippable","in":"query","description":"Only return products that can be shipped (i.e., physical, not digital products).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"type","in":"query","description":"Only return products of this type.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["good","service"]}},{"name":"url","in":"query","description":"Only return products with the given url.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ProductList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/product"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/products","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a product","description":"

Creates a new product object.

","operationId":"PostProducts","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["name"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the product is currently available for purchase. Defaults to `true`."},"default_price_data":{"title":"price_data_without_product_with_metadata","required":["currency"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","type":"object","properties":{"custom_unit_amount":{"title":"custom_unit_amount","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`."},"maximum":{"type":"integer","description":"The maximum unit amount the customer can specify for this item."},"minimum":{"type":"integer","description":"The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount."},"preset":{"type":"integer","description":"The starting unit amount which can be updated by the customer."}},"description":"When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.","x-stripeMostCommon":["enabled","preset"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"tiers":{"type":"array","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":{"title":"tier","required":["up_to"],"type":"object","properties":{"flat_amount":{"type":"integer","description":"The flat billing amount for an entire tier, regardless of the number of units in the tier."},"flat_amount_decimal":{"type":"string","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"},"unit_amount":{"type":"integer","description":"The per unit billing amount for each individual unit for which this tier applies."},"unit_amount_decimal":{"type":"string","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"},"up_to":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["inf"]},{"type":"integer"}]}},"x-stripeMostCommon":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"]}},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"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)."},"custom_unit_amount":{"title":"custom_unit_amount","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Pass in `true` to enable `custom_unit_amount`, otherwise omit `custom_unit_amount`."},"maximum":{"type":"integer","description":"The maximum unit amount the customer can specify for this item."},"minimum":{"type":"integer","description":"The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount."},"preset":{"type":"integer","description":"The starting unit amount which can be updated by the customer."}},"description":"When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links.","x-stripeMostCommon":["enabled","preset"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object. This Price will be set as the default price for this product.","x-stripeMostCommon":["currency","unit_amount"]},"description":{"maxLength":40000,"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":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"id":{"maxLength":5000,"type":"string","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."},"images":{"type":"array","description":"A list of up to 8 URLs of images for this product, meant to be displayable to the customer.","items":{"type":"string"}},"marketing_features":{"type":"array","description":"A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://docs.stripe.com/payments/checkout/pricing-table).","items":{"title":"features","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The marketing feature name. Up to 80 characters long."}},"x-stripeMostCommon":["name"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"package_dimensions":{"title":"package_dimensions_specs","required":["height","length","weight","width"],"type":"object","properties":{"height":{"type":"number","description":"Height, in inches. Maximum precision is 2 decimal places."},"length":{"type":"number","description":"Length, in inches. Maximum precision is 2 decimal places."},"weight":{"type":"number","description":"Weight, in ounces. Maximum precision is 2 decimal places."},"width":{"type":"number","description":"Width, in inches. Maximum precision is 2 decimal places."}},"description":"The dimensions of this product for shipping purposes.","x-stripeMostCommon":["height","length","weight","width"]},"shippable":{"type":"boolean","description":"Whether this product is shipped (i.e., physical goods)."},"statement_descriptor":{"maxLength":22,"type":"string","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."},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."},"type":{"type":"string","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"]},"unit_label":{"maxLength":12,"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."},"url":{"maxLength":5000,"type":"string","description":"A URL of a publicly-accessible webpage for this product."}},"additionalProperties":false,"x-stripeMostCommon":["active","description","id","metadata","name","tax_code"]},"encoding":{"default_price_data":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"images":{"style":"deepObject","explode":true},"marketing_features":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"package_dimensions":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/product"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/products/search":{"get":{"summary":"Search products","description":"

Search for products you’ve previously created using Stripe’s Search Query Language.\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.

","operationId":"GetProductsSearch","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"page","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"query","in":"query","description":"The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for products](https://docs.stripe.com/search#query-fields-for-products).","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SearchResult","required":["data","has_more","next_page","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/product"}},"has_more":{"type":"boolean"},"next_page":{"maxLength":5000,"type":"string","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["search_result"]},"total_count":{"type":"integer","description":"The total number of objects that match the query, only accurate up to 10,000."},"url":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","next_page","object","total_count","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/products/{id}":{"get":{"summary":"Retrieve a product","description":"

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.

","operationId":"GetProductsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/product"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a product","description":"

Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostProductsId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether the product is available for purchase."},"default_price":{"maxLength":5000,"type":"string","description":"The ID of the [Price](https://docs.stripe.com/api/prices) object that is the default price for this product."},"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.","anyOf":[{"maxLength":40000,"type":"string"},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"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.","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string","enum":[""]}]},"marketing_features":{"description":"A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://docs.stripe.com/payments/checkout/pricing-table).","anyOf":[{"type":"array","items":{"title":"features","required":["name"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The marketing feature name. Up to 80 characters long."}},"x-stripeMostCommon":["name"]}},{"type":"string","enum":[""]}]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"name":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"package_dimensions":{"description":"The dimensions of this product for shipping purposes.","anyOf":[{"title":"package_dimensions_specs","required":["height","length","weight","width"],"type":"object","properties":{"height":{"type":"number","description":"Height, in inches. Maximum precision is 2 decimal places."},"length":{"type":"number","description":"Length, in inches. Maximum precision is 2 decimal places."},"weight":{"type":"number","description":"Weight, in ounces. Maximum precision is 2 decimal places."},"width":{"type":"number","description":"Width, in inches. Maximum precision is 2 decimal places."}},"x-stripeMostCommon":["height","length","weight","width"]},{"type":"string","enum":[""]}]},"shippable":{"type":"boolean","description":"Whether this product is shipped (i.e., physical goods)."},"statement_descriptor":{"maxLength":22,"type":"string","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."},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"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. May only be set if `type=service`.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]},"url":{"description":"A URL of a publicly-accessible webpage for this product.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["active","default_price","description","metadata","name","tax_code"]},"encoding":{"description":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"images":{"style":"deepObject","explode":true},"marketing_features":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"package_dimensions":{"style":"deepObject","explode":true},"tax_code":{"style":"deepObject","explode":true},"unit_label":{"style":"deepObject","explode":true},"url":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/product"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a product","description":"

Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it.

","operationId":"DeleteProductsId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_product"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/products/{product}/features":{"get":{"summary":"List all features attached to a product","description":"

Retrieve a list of features for a product

","operationId":"GetProductsProductFeatures","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"product","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"EntitlementsResourceProductFeatureList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/product_feature"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Attach a feature to a product","description":"

Creates a product_feature, which represents a feature attachment to a product

","operationId":"PostProductsProductFeatures","parameters":[{"name":"product","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["entitlement_feature"],"type":"object","properties":{"entitlement_feature":{"maxLength":5000,"type":"string","description":"The ID of the [Feature](https://docs.stripe.com/api/entitlements/feature) object attached to this product."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["entitlement_feature"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_feature"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/products/{product}/features/{id}":{"get":{"summary":"Retrieve a product_feature","description":"

Retrieves a product_feature, which represents a feature attachment to a product

","operationId":"GetProductsProductFeaturesId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","description":"The ID of the product_feature.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"product","in":"path","description":"The ID of the product.","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/product_feature"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Remove a feature from a product","description":"

Deletes the feature attachment to a product

","operationId":"DeleteProductsProductFeaturesId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"product","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_product_feature"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/promotion_codes":{"get":{"summary":"List all promotion codes","description":"

Returns a list of your promotion codes.

","operationId":"GetPromotionCodes","parameters":[{"name":"active","in":"query","description":"Filter promotion codes by whether they are active.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"code","in":"query","description":"Only return promotion codes that have this case-insensitive code.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"coupon","in":"query","description":"Only return promotion codes for this coupon.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return promotion codes that are restricted to this customer.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return promotion codes that are restricted to this account representing the customer.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PromotionCodesResourcePromotionCodeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/promotion_code"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/promotion_codes","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a promotion code","description":"

A promotion code points to an underlying promotion. You can optionally restrict the code to a specific customer, redemption limit, and expiration date.

","operationId":"PostPromotionCodes","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["promotion"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the promotion code is currently active."},"code":{"maxLength":500,"type":"string","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), digits (0-9), and dashes (-).\n\nIf left blank, we will generate one automatically."},"customer":{"maxLength":5000,"type":"string","description":"The customer who can use this promotion code. If not set, all customers can use the promotion code."},"customer_account":{"maxLength":5000,"type":"string","description":"The account representing the customer who can use this promotion code. If not set, all customers can use the promotion code."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","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"},"max_redemptions":{"type":"integer","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`."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"promotion":{"title":"promotion","required":["type"],"type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"If promotion `type` is `coupon`, the coupon for this promotion code."},"type":{"type":"string","description":"Specifies the type of promotion.","enum":["coupon"]}},"description":"The promotion referenced by this promotion code.","x-stripeMostCommon":["coupon","type"]},"restrictions":{"title":"restrictions_params","type":"object","properties":{"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","type":"object","properties":{"minimum_amount":{"type":"integer","description":"Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work)."}},"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)."},"first_time_transaction":{"type":"boolean","description":"A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices"},"minimum_amount":{"type":"integer","description":"Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work)."},"minimum_amount_currency":{"type":"string","description":"Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount","format":"currency"}},"description":"Settings that restrict the redemption of the promotion code.","x-stripeMostCommon":["currency_options","first_time_transaction","minimum_amount","minimum_amount_currency"]}},"additionalProperties":false,"x-stripeMostCommon":["code","metadata","promotion"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"promotion":{"style":"deepObject","explode":true},"restrictions":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/promotion_code"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/promotion_codes/{promotion_code}":{"get":{"summary":"Retrieve a promotion code","description":"

Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing code use list with the desired code.

","operationId":"GetPromotionCodesPromotionCode","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"promotion_code","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/promotion_code"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a promotion code","description":"

Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable.

","operationId":"PostPromotionCodesPromotionCode","parameters":[{"name":"promotion_code","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"restrictions":{"title":"restrictions_params","type":"object","properties":{"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","type":"object","properties":{"minimum_amount":{"type":"integer","description":"Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work)."}},"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)."}},"description":"Settings that restrict the redemption of the promotion code.","x-stripeMostCommon":["currency_options"]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"restrictions":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/promotion_code"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes":{"get":{"summary":"List all quotes","description":"

Returns a list of your quotes.

","operationId":"GetQuotes","parameters":[{"name":"customer","in":"query","description":"The ID of the customer whose quotes you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"The ID of the account representing the customer whose quotes you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"The status of the quote.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["accepted","canceled","draft","open"],"x-stripeBypassValidation":true}},{"name":"test_clock","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"QuotesResourceQuoteList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/quote"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/quotes","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a quote","description":"

A quote models prices and services for a customer. Default options for header, description, footer, and expires_at can be set in the dashboard via the quote template.

","operationId":"PostQuotes","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","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. There cannot be any line items with recurring prices when using this field.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"automatic_tax":{"title":"automatic_tax_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Controls whether Stripe will automatically compute tax on the resulting invoices or subscriptions as well as the quote itself."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.","x-stripeMostCommon":["enabled","liability"]},"collection_method":{"type":"string","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"]},"customer":{"maxLength":5000,"type":"string","description":"The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed."},"customer_account":{"maxLength":5000,"type":"string","description":"The account for which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed."},"default_tax_rates":{"description":"The tax rates that will apply to any line item that does not have `tax_rates` set.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"description":{"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"discounts":{"description":"The discounts applied to the quote.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","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"},"footer":{"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"from_quote":{"title":"from_quote_params","required":["quote"],"type":"object","properties":{"is_revision":{"type":"boolean","description":"Whether this quote is a revision of the previous quote."},"quote":{"maxLength":5000,"type":"string","description":"The `id` of the quote that will be cloned."}},"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`.","x-stripeMostCommon":["is_revision","quote"]},"header":{"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.","anyOf":[{"maxLength":50,"type":"string"},{"type":"string","enum":[""]}]},"invoice_settings":{"title":"quote_param","type":"object","properties":{"days_until_due":{"type":"integer","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`."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["custom_fields","days_until_due","description","footer","issuer"]},"line_items":{"type":"array","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":{"title":"line_item_create_params","type":"object","properties":{"discounts":{"description":"The discounts applied to this line item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"price_data","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"The quantity of the line item."},"tax_rates":{"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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["price","quantity"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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 account on behalf of which to charge.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"subscription_data":{"title":"subscription_data_create_params","type":"object","properties":{"billing_mode":{"title":"billing_mode","required":["type"],"type":"object","properties":{"flexible":{"title":"flexible_params","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"Configure behavior for flexible billing mode.","x-stripeMostCommon":["proration_discounts"]},"type":{"type":"string","description":"Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.","enum":["classic","flexible"]}},"description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","x-stripeMostCommon":["flexible","type"]},"description":{"maxLength":500,"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":{"description":"When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. The `effective_date` is ignored if it is in the past when the quote is accepted.","anyOf":[{"maxLength":5000,"type":"string","enum":["current_period_end"]},{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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."},"trial_period_days":{"description":"Integer representing the number of trial period days before the customer is charged for the first time.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]}},"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.","x-stripeMostCommon":["bill_on_acceptance","billing_behavior","billing_cycle_anchor","billing_mode","billing_schedules","description","effective_date","end_behavior","from_subscription","metadata","phase_effective_at","prebilling","proration_behavior","subscription_engine_version","trial_period_days"]},"test_clock":{"maxLength":5000,"type":"string","description":"ID of the test clock to attach to the quote."},"transfer_data":{"description":"The data with which to automatically create a Transfer for each of the invoices.","anyOf":[{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","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."},"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"x-stripeMostCommon":["amount","amount_percent","destination"]},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["line_items","metadata"]},"encoding":{"application_fee_amount":{"style":"deepObject","explode":true},"application_fee_percent":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"default_tax_rates":{"style":"deepObject","explode":true},"description":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"footer":{"style":"deepObject","explode":true},"from_quote":{"style":"deepObject","explode":true},"header":{"style":"deepObject","explode":true},"invoice_settings":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"subscription_data":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes/{quote}":{"get":{"summary":"Retrieve a quote","description":"

Retrieves the quote with the given ID.

","operationId":"GetQuotesQuote","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a quote","description":"

A quote models prices and services for a customer.

","operationId":"PostQuotesQuote","parameters":[{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","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. There cannot be any line items with recurring prices when using this field.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"automatic_tax":{"title":"automatic_tax_param","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Controls whether Stripe will automatically compute tax on the resulting invoices or subscriptions as well as the quote itself."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.","x-stripeMostCommon":["enabled","liability"]},"collection_method":{"type":"string","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"]},"customer":{"maxLength":5000,"type":"string","description":"The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed."},"customer_account":{"maxLength":5000,"type":"string","description":"The account for which this quote belongs to. A customer or account is required before finalizing the quote. Once specified, it cannot be changed."},"default_tax_rates":{"description":"The tax rates that will apply to any line item that does not have `tax_rates` set.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"description":{"description":"A description that will be displayed on the quote PDF.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"discounts":{"description":"The discounts applied to the quote.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","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"},"footer":{"description":"A footer that will be displayed on the quote PDF.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"header":{"description":"A header that will be displayed on the quote PDF.","anyOf":[{"maxLength":50,"type":"string"},{"type":"string","enum":[""]}]},"invoice_settings":{"title":"quote_param","type":"object","properties":{"days_until_due":{"type":"integer","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`."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["custom_fields","days_until_due","description","footer","issuer"]},"line_items":{"type":"array","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":{"title":"line_item_update_params","type":"object","properties":{"discounts":{"description":"The discounts applied to this line item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},{"type":"string","enum":[""]}]},"id":{"maxLength":5000,"type":"string","description":"The ID of an existing line item on the quote."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"price_data","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"The quantity of the line item."},"tax_rates":{"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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["id","price","quantity"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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 account on behalf of which to charge.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"subscription_data":{"title":"subscription_data_update_params","type":"object","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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"effective_date":{"description":"When creating a new subscription, the date of which the subscription schedule will start after the quote is accepted. The `effective_date` is ignored if it is in the past when the quote is accepted.","anyOf":[{"maxLength":5000,"type":"string","enum":["current_period_end"]},{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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."},"trial_period_days":{"description":"Integer representing the number of trial period days before the customer is charged for the first time.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]}},"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.","x-stripeMostCommon":["bill_on_acceptance","billing_behavior","billing_cycle_anchor","billing_schedules","description","effective_date","end_behavior","metadata","phase_effective_at","prebilling","proration_behavior","trial_period_days"]},"transfer_data":{"description":"The data with which to automatically create a Transfer for each of the invoices.","anyOf":[{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","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."},"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"x-stripeMostCommon":["amount","amount_percent","destination"]},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["line_items","metadata"]},"encoding":{"application_fee_amount":{"style":"deepObject","explode":true},"application_fee_percent":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"default_tax_rates":{"style":"deepObject","explode":true},"description":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"footer":{"style":"deepObject","explode":true},"header":{"style":"deepObject","explode":true},"invoice_settings":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"subscription_data":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes/{quote}/accept":{"post":{"summary":"Accept a quote","description":"

Accepts the specified quote.

","operationId":"PostQuotesQuoteAccept","parameters":[{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes/{quote}/cancel":{"post":{"summary":"Cancel a quote","description":"

Cancels the quote.

","operationId":"PostQuotesQuoteCancel","parameters":[{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes/{quote}/computed_upfront_line_items":{"get":{"summary":"Retrieve a quote's upfront line items","description":"

When retrieving a quote, there is an includable computed.upfront.line_items 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.

","operationId":"GetQuotesQuoteComputedUpfrontLineItems","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"QuotesResourceListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes/{quote}/finalize":{"post":{"summary":"Finalize a quote","description":"

Finalizes the quote.

","operationId":"PostQuotesQuoteFinalize","parameters":[{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","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"}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/quote"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes/{quote}/line_items":{"get":{"summary":"Retrieve a quote's line items","description":"

When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

","operationId":"GetQuotesQuoteLineItems","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"QuotesResourceListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/quotes/{quote}/pdf":{"get":{"summary":"Download quote PDF","description":"

Download the PDF for a finalized quote. Explanation for special handling can be found here

","operationId":"GetQuotesQuotePdf","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"quote","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"servers":[{"url":"https://files.stripe.com/"}]}},"/v1/radar/early_fraud_warnings":{"get":{"summary":"List all early fraud warnings","description":"

Returns a list of early fraud warnings.

","operationId":"GetRadarEarlyFraudWarnings","parameters":[{"name":"charge","in":"query","description":"Only return early fraud warnings for the charge specified by this charge ID.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"created","in":"query","description":"Only return early fraud warnings that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_intent","in":"query","description":"Only return early fraud warnings for charges that were created by the PaymentIntent specified by this PaymentIntent ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"RadarEarlyFraudWarningList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/radar.early_fraud_warning"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/radar/early_fraud_warnings","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/radar/early_fraud_warnings/{early_fraud_warning}":{"get":{"summary":"Retrieve an early fraud warning","description":"

Retrieves the details of an early fraud warning that has previously been created.

\n\n

Please refer to the early fraud warning object reference for more details.

","operationId":"GetRadarEarlyFraudWarningsEarlyFraudWarning","parameters":[{"name":"early_fraud_warning","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/radar.early_fraud_warning"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/radar/payment_evaluations":{"post":{"summary":"Create a Payment Evaluation","description":"

Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.

","operationId":"PostRadarPaymentEvaluations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["customer_details","payment_details"],"type":"object","properties":{"client_device_metadata_details":{"title":"client_device_metadata_wrapper","required":["radar_session"],"type":"object","properties":{"radar_session":{"maxLength":5000,"type":"string","description":"ID for the Radar Session to associate with the payment evaluation. A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Details about the Client Device Metadata to associate with the payment evaluation.","x-stripeMostCommon":["radar_session"]},"customer_details":{"title":"customer_details","type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer associated with the payment evaluation."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing the customer associated with the payment evaluation."},"email":{"type":"string","description":"The customer's email address."},"name":{"maxLength":5000,"type":"string","description":"The customer's full name or business name."},"phone":{"type":"string","description":"The customer's phone number."}},"description":"Details about the customer associated with the payment evaluation.","x-stripeMostCommon":["customer","customer_account","email","name","phone"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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_details":{"title":"payment_details","required":["amount","currency","payment_method_details"],"type":"object","properties":{"amount":{"type":"integer","description":"The intended amount to collect with this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency)."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"money_movement_details":{"title":"money_movement_details","required":["money_movement_type"],"type":"object","properties":{"card":{"title":"money_movement_card_additional_data","type":"object","properties":{"customer_presence":{"type":"string","description":"Describes the presence of the customer during the payment.","enum":["off_session","on_session"]},"payment_type":{"type":"string","description":"Describes the type of payment.","enum":["one_off","recurring","setup_one_off","setup_recurring"]}},"description":"Describes card money movement details for the payment evaluation.","x-stripeMostCommon":["customer_presence","payment_type"]},"money_movement_type":{"type":"string","description":"Describes the type of money movement. Currently only `card` is supported.","enum":["card"]}},"description":"Details about the payment's customer presence and type.","x-stripeMostCommon":["card","money_movement_type"]},"payment_method_details":{"title":"payment_method_details","required":["payment_method"],"type":"object","properties":{"billing_details":{"title":"billing_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Billing address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"Email address."},"name":{"maxLength":5000,"type":"string","description":"Full name."},"phone":{"type":"string","description":"Billing phone number (including extension)."}},"description":"Billing information associated with the payment evaluation.","x-stripeMostCommon":["address","email","name","phone"]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method used in this payment evaluation."}},"description":"Details about the payment method to use for the payment.","x-stripeMostCommon":["billing_details","payment_method"]},"shipping_details":{"title":"shipping_details","type":"object","properties":{"address":{"title":"address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"Shipping name."},"phone":{"type":"string","description":"Shipping phone number."}},"description":"Shipping details for the payment evaluation.","x-stripeMostCommon":["address","name","phone"]},"statement_descriptor":{"maxLength":5000,"type":"string","description":"Payment statement descriptor."}},"description":"Details about the payment.","x-stripeMostCommon":["amount","currency","description","money_movement_details","payment_method_details","shipping_details","statement_descriptor"]}},"additionalProperties":false,"x-stripeMostCommon":["client_device_metadata_details","customer_details","metadata","payment_details"]},"encoding":{"client_device_metadata_details":{"style":"deepObject","explode":true},"customer_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/radar.payment_evaluation"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/radar/value_list_items":{"get":{"summary":"List all value list items","description":"

Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetRadarValueListItems","parameters":[{"name":"created","in":"query","description":"Only return items that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"value","in":"query","description":"Return items belonging to the parent list whose value matches the specified value (using an \"is like\" match).","required":false,"style":"form","explode":true,"schema":{"maxLength":800,"type":"string"}},{"name":"value_list","in":"query","description":"Identifier for the parent value list this item belongs to.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"RadarListListItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/radar.value_list_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/radar/value_list_items","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a value list item","description":"

Creates a new ValueListItem object, which is added to the specified parent value list.

","operationId":"PostRadarValueListItems","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["value","value_list"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"value":{"maxLength":800,"type":"string","description":"The value of the item (whose type must match the type of the parent value list)."},"value_list":{"maxLength":5000,"type":"string","description":"The identifier of the value list which the created item will be added to."}},"additionalProperties":false,"x-stripeMostCommon":["value","value_list"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/radar.value_list_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/radar/value_list_items/{item}":{"get":{"summary":"Retrieve a value list item","description":"

Retrieves a ValueListItem object.

","operationId":"GetRadarValueListItemsItem","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"item","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/radar.value_list_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a value list item","description":"

Deletes a ValueListItem object, removing it from its parent value list.

","operationId":"DeleteRadarValueListItemsItem","parameters":[{"name":"item","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_radar.value_list_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/radar/value_lists":{"get":{"summary":"List all value lists","description":"

Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetRadarValueLists","parameters":[{"name":"alias","in":"query","description":"The alias used to reference the value list when writing rules.","required":false,"style":"form","explode":true,"schema":{"maxLength":100,"type":"string"}},{"name":"contains","in":"query","description":"A value contained within a value list - returns all value lists containing this value.","required":false,"style":"form","explode":true,"schema":{"maxLength":800,"type":"string"}},{"name":"created","in":"query","description":"Only return value lists that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"RadarListListList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/radar.value_list"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/radar/value_lists","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a value list","description":"

Creates a new ValueList object, which can then be referenced in rules.

","operationId":"PostRadarValueLists","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["alias","name"],"type":"object","properties":{"alias":{"maxLength":100,"type":"string","description":"The name of the value list for use in rules."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"item_type":{"maxLength":5000,"type":"string","description":"Type of the items in the value list. One of `card_fingerprint`, `card_bin`, `crypto_fingerprint`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, `customer_id`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`. Use `string` if the item type is unknown or mixed.","enum":["card_bin","card_fingerprint","case_sensitive_string","country","crypto_fingerprint","customer_id","email","ip_address","sepa_debit_fingerprint","string","us_bank_account_fingerprint"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":100,"type":"string","description":"The human-readable name of the value list."}},"additionalProperties":false,"x-stripeMostCommon":["alias","item_type","metadata","name"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/radar.value_list"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/radar/value_lists/{value_list}":{"get":{"summary":"Retrieve a value list","description":"

Retrieves a ValueList object.

","operationId":"GetRadarValueListsValueList","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"value_list","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/radar.value_list"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a value list","description":"

Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable.

","operationId":"PostRadarValueListsValueList","parameters":[{"name":"value_list","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"alias":{"maxLength":100,"type":"string","description":"The name of the value list for use in rules."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":100,"type":"string","description":"The human-readable name of the value list."}},"additionalProperties":false,"x-stripeMostCommon":["alias","metadata","name"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/radar.value_list"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a value list","description":"

Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules.

","operationId":"DeleteRadarValueListsValueList","parameters":[{"name":"value_list","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_radar.value_list"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/refunds":{"get":{"summary":"List all refunds","description":"

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.

","operationId":"GetRefunds","parameters":[{"name":"charge","in":"query","description":"Only return refunds for the charge specified by this charge ID.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"created","in":"query","description":"Only return refunds that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_intent","in":"query","description":"Only return refunds for the PaymentIntent specified by this ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"APIMethodRefundList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/refund"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/refunds","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create customer balance refund","description":"

When you create a new refund, you must specify a Charge or a PaymentIntent object on which to create it.

\n\n

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.

\n\n

You can optionally refund only part of a charge.\nYou can do so multiple times, until the entire charge has been refunded.

\n\n

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.

","operationId":"PostRefunds","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer"},"charge":{"maxLength":5000,"type":"string","description":"The identifier of the charge to refund."},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","description":"Customer whose customer balance to refund from."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"instructions_email":{"type":"string","description":"For payment methods without native refund support (e.g., Konbini, PromptPay), use this email from the customer to receive refund instructions."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"origin":{"type":"string","description":"Origin of the refund","enum":["customer_balance"]},"payment_intent":{"maxLength":5000,"type":"string","description":"The identifier of the PaymentIntent to refund."},"reason":{"maxLength":5000,"type":"string","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://docs.stripe.com/radar/lists), and will also help us improve our fraud detection algorithms.","enum":["duplicate","fraudulent","requested_by_customer"]},"refund_application_fee":{"type":"boolean","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."},"reverse_transfer":{"type":"boolean","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."}},"additionalProperties":false,"x-stripeMostCommon":["amount","charge","currency","customer","instructions_email","metadata","origin","payment_intent","reason"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/refunds/{refund}":{"get":{"summary":"Retrieve a refund","description":"

Retrieves the details of an existing refund.

","operationId":"GetRefundsRefund","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"refund","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a refund","description":"

Updates the refund that you specify by setting the values of the passed parameters. Any parameters that you don’t provide remain unchanged.

\n\n

This request only accepts metadata as an argument.

","operationId":"PostRefundsRefund","parameters":[{"name":"refund","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/refunds/{refund}/cancel":{"post":{"summary":"Cancel a refund","description":"

Cancels a refund with a status of requires_action.

\n\n

You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the requires_action state.

","operationId":"PostRefundsRefundCancel","parameters":[{"name":"refund","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/reporting/report_runs":{"get":{"summary":"List all Report Runs","description":"

Returns a list of Report Runs, with the most recent appearing first.

","operationId":"GetReportingReportRuns","parameters":[{"name":"created","in":"query","description":"Only return Report Runs that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"FinancialReportingFinanceReportRunList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/reporting.report_run"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/reporting/report_runs","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a Report Run","description":"

Creates a new object and begin running the report. (Certain report types require a live-mode API key.)

","operationId":"PostReportingReportRuns","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["report_type"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"parameters":{"title":"run_parameter_specs","type":"object","properties":{"columns":{"type":"array","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"}},"connected_account":{"type":"string","description":"Connected account ID to filter for in the report run."},"currency":{"type":"string","description":"Currency of objects to be included in the report run.","format":"currency"},"interval_end":{"type":"integer","description":"Ending timestamp of data to be included in the report run (exclusive).","format":"unix-time"},"interval_start":{"type":"integer","description":"Starting timestamp of data to be included in the report run.","format":"unix-time"},"payout":{"type":"string","description":"Payout ID by which to filter the report run."},"reporting_category":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"timezone":{"maxLength":5000,"type":"string","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/Coyhaique","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"]}},"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://docs.stripe.com/reporting/statements/api) documentation.","x-stripeMostCommon":["account","account_type","accounts","acquirer_bin","acquirer_mid","action","actions","activation_days","age_bucket","aggregate","aggregation_type","all","amount","amount_filter","amount_max","amount_min","apple_subscriber","application_id","async_fees","authentication_outcome_detailed","billable_item_ids","billing_analytics_metric","browser_fingerprinting","bucket_seconds","bucket_size","buyer_country","calculation_type","campaign","campaigns","capability_type","card_bin","card_brand","card_brands","card_category","card_country","card_fingerprint","card_funding","card_input_methods","card_network","card_number","card_type","card_types","categories","cau_correction_factor","channel","charge","chart_detail_page_id","cluster_table_suffix","cof","cohort_file","columns","compare_to_end","compare_to_start","compliance_charge_pause_at_ms","compliance_payout_pause_at_ms","connect_account_country","connect_charge_type","connect_merchant_pv_180d","connect_merchant_pv_30d","connect_merchant_pv_35d","connect_merchant_pv_365d","connect_merchant_pv_90d","connected_account","connected_account_countries","connected_account_country","connected_accounts","contract","conversion_currency","convert_to_arr","counterparty_name","countries","country","created","credit_ids","currencies","currency","cursor","cursor_created_at","cursor_forward_direction","cursor_payment_attempt_id","customer","customer_filters","customer_query","customers","dataset_id","date_format","days_to_use","decimal_separator","description","digital_wallet","direction","display_mode","dispute_reasons","download","dynamic_reporting_params","end_payer_country","endpoint_url","entity_type","event_type","exchange_rate","exchange_rates","exclude_meter_ids","experiment_id","fee_category","fee_rows","filter_active_accounts","filter_column","filter_columns","filter_currency","filter_product_adopted","filter_topics","filter_value","filter_values","filters","filters_by_meter","financial_account","financial_accounts","first_day_of_week_offset","flow_granted","flow_preference","flow_types","gateway_conversation_avs_outcome","gateway_conversation_cvc_outcome","gateway_country","gl_code","google_order","granularity","group_by","group_by_key","group_by_keys","group_by_keys_by_meter","group_id","group_type","grouped_column","grouped_columns","grouped_metadata_column","groups","has_app_fee_refunds","has_app_fees","has_disputes","has_negative_earnings_from_transfers","has_refunds","has_reversals","hosted_relink_requested_at","include_blocked_payments","include_connect_charges","include_efw","include_protected_disputes","incurred_by","interaction_type","interval_end","interval_end_date_as_string","interval_start","interval_start_date_as_string","intervention_type","invoice","invoice_hint","invoice_line_item","ip_address","ip_country","is_backtest","is_domestic","is_eu_vat_moss","is_latam","is_link_in_pmm_supported","is_on_session_toggled","is_top_fraudy_attributes","is_unbilled","jurisdiction_key","last_activity_timeframe","legal_entity_type","legal_entity_type_ch_mapping","limit","list_item","list_items","livemode","location_ids","match_mode","match_status","max_churn","merchant_activity","message_category","metadata_columns","meter_id","meter_ids","min_active_days","min_payout_count","min_payouts_volume_usd","min_trim_size","moto","nci_filter_for","nci_mcc","network_types","numeric_filters","offset","onboarding_surface","outcome","override_artificial_delay","pagination_direction","payment_link_id","payment_method","payment_method_type","payment_method_types","payment_methods","payment_processors","payout","payout_date_end","payout_date_start","payout_status","payout_type","period_type","platform","platform_id","posted_at","price_filters","product","product_feature_description","product_features","product_filters","products","pv_t180_tier","pv_t30_tier","pv_t35_tier","pv_t365_tier","pv_t90_tier","query_options","radar_bad_outcome_configuration","radar_fraud_outcomes","radar_good_outcomes","rate","rate_card_ids","recognition_end","recognition_start","recon_party_name","recon_space","recon_space_type","reconciliation_status","reference_id","reporting_category","reporting_string_filters","retries_correction_factor","retry_status","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","ryw_created_ids","ryw_deleted_ids","ryw_updated_ids","search_after","search_params","secondary_cursor","seconds_since_card_first_seen","segment_id","serial_numbers","sort_field","sort_order","sorted_column","states","statuses","string_filters","sync_fees","t30_pv_active","t365_pv_active","t60_pv_active","t90_pv_active","table_name","tax_form_id","tax_type","taxable","tds_result","tds_triggered","template_override","tenant_filters","tenant_filters_by_meter","tenant_group_by_keys_by_meter","three_d_s_outcome","time_granularity","timezone","top_connected_accounts","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","type","unit","ur","usage_id","use_dispute_creation_date","use_minerva","used_network_tokens","view_type","volume_metric_type"]},"report_type":{"type":"string","description":"The ID of the [report type](https://docs.stripe.com/reporting/statements/api#report-types) to run, such as `\"balance.summary.1\"`."}},"additionalProperties":false,"x-stripeMostCommon":["parameters","report_type"]},"encoding":{"expand":{"style":"deepObject","explode":true},"parameters":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reporting.report_run"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/reporting/report_runs/{report_run}":{"get":{"summary":"Retrieve a Report Run","description":"

Retrieves the details of an existing Report Run.

","operationId":"GetReportingReportRunsReportRun","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"report_run","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reporting.report_run"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/reporting/report_types":{"get":{"summary":"List all Report Types","description":"

Returns a full list of Report Types.

","operationId":"GetReportingReportTypes","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"FinancialReportingFinanceReportTypeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/reporting.report_type"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/reporting/report_types/{report_type}":{"get":{"summary":"Retrieve a Report Type","description":"

Retrieves the details of a Report Type. (Certain report types require a live-mode API key.)

","operationId":"GetReportingReportTypesReportType","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"report_type","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/reporting.report_type"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/reviews":{"get":{"summary":"List all open reviews","description":"

Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

","operationId":"GetReviews","parameters":[{"name":"created","in":"query","description":"Only return reviews that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"RadarReviewList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/review"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/reviews/{review}":{"get":{"summary":"Retrieve a review","description":"

Retrieves a Review object.

","operationId":"GetReviewsReview","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"review","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/review"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/reviews/{review}/approve":{"post":{"summary":"Approve a review","description":"

Approves a Review object, closing it and removing it from the list of reviews.

","operationId":"PostReviewsReviewApprove","parameters":[{"name":"review","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/review"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/setup_attempts":{"get":{"summary":"List all SetupAttempts","description":"

Returns a list of SetupAttempts that associate with a provided SetupIntent.

","operationId":"GetSetupAttempts","parameters":[{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"setup_intent","in":"query","description":"Only return SetupAttempts created by the SetupIntent specified by\nthis ID.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentFlowsSetupIntentSetupAttemptList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/setup_attempt"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/setup_attempts","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/setup_intents":{"get":{"summary":"List all SetupIntents","description":"

Returns a list of SetupIntents.

","operationId":"GetSetupIntents","parameters":[{"name":"attach_to_self","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return SetupIntents for the customer specified by this customer ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return SetupIntents for the account specified by this customer ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"payment_method","in":"query","description":"Only return SetupIntents that associate with the specified payment method.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"PaymentFlowsSetupIntentList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/setup_intent"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/setup_intents","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a SetupIntent","description":"

Creates a SetupIntent object.

\n\n

After you create the SetupIntent, attach a payment method and confirm\nit to collect any required permissions to charge the payment method later.

","operationId":"PostSetupIntents","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"attach_to_self":{"type":"boolean","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."},"automatic_payment_methods":{"title":"automatic_payment_methods_param","required":["enabled"],"type":"object","properties":{"allow_redirects":{"type":"string","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://docs.stripe.com/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"]},"enabled":{"type":"boolean","description":"Whether this feature is enabled."}},"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.","x-stripeMostCommon":["allow_redirects","enabled"]},"confirm":{"type":"boolean","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."},"confirmation_token":{"maxLength":5000,"type":"string","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."},"customer":{"maxLength":5000,"type":"string","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."},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account this SetupIntent belongs to, if one exists.\n\nIf present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent."},"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"excluded_payment_method_types":{"type":"array","description":"The list of payment method types to exclude from use with this SetupIntent.","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"flow_directions":{"type":"array","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":{"type":"string","enum":["inbound","outbound"]}},"mandate_data":{"description":"This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm).","anyOf":[{"title":"secret_key_param","required":["customer_acceptance"],"type":"object","properties":{"customer_acceptance":{"title":"customer_acceptance_param","required":["type"],"type":"object","properties":{"accepted_at":{"type":"integer","description":"The time at which the customer accepted the Mandate.","format":"unix-time"},"offline":{"title":"offline_param","type":"object","properties":{},"description":"If this is a Mandate accepted offline, this hash contains details about the offline acceptance."},"online":{"title":"online_param","required":["ip_address","user_agent"],"type":"object","properties":{"ip_address":{"type":"string","description":"The IP address from which the Mandate was accepted by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the Mandate was accepted by the customer."}},"description":"If this is a Mandate accepted online, this hash contains details about the online acceptance.","x-stripeMostCommon":["ip_address","user_agent"]},"type":{"maxLength":5000,"type":"string","description":"The type of customer acceptance information included with the Mandate. One of `online` or `offline`.","enum":["offline","online"]}},"description":"This hash contains details about the customer acceptance of the Mandate.","x-stripeMostCommon":["accepted_at","offline","online","type"]}},"x-stripeMostCommon":["customer_acceptance"]},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"The Stripe account ID created for this SetupIntent."},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent."},"payment_method_configuration":{"maxLength":100,"type":"string","description":"The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this SetupIntent."},"payment_method_data":{"title":"payment_method_data_params","required":["type"],"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"description":"When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)\nvalue in the SetupIntent.","x-stripeMostCommon":["billing_details","metadata","type"]},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"acss_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"currency":{"type":"string","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"]},"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"custom_mandate_url":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"default_for":{"type":"array","description":"List of Stripe products where this mandate can be selected automatically.","items":{"type":"string","enum":["invoice","subscription"]}},"interval_description":{"maxLength":500,"type":"string","description":"Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'."},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["custom_mandate_url","default_for","interval_description","payment_schedule","transaction_type"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.","x-stripeMostCommon":["currency","financial_connections","mandate_options","verification_method"]},"amazon_pay":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.","x-stripeMostCommon":["charge_permission_id"]},"bacs_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference_prefix"]}},"description":"If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.","x-stripeMostCommon":["mandate_options"]},"card":{"title":"setup_intent_param","type":"object","properties":{"mandate_options":{"title":"setup_intent_mandate_options_param","required":["amount","amount_type","currency","interval","reference","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","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"},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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`."},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","items":{"type":"string","enum":["india"]}}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","currency","description","end_date","interval","interval_count","reference","start_date","supported_types"]},"moto":{"type":"boolean","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."},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"three_d_secure":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"ares_trans_status":{"type":"string","description":"The `transStatus` returned from the card Issuer’s ACS in the ARes.","enum":["A","C","I","N","R","U","Y"]},"cryptogram":{"maxLength":5000,"type":"string","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.)"},"electronic_commerce_indicator":{"type":"string","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"],"x-stripeBypassValidation":true},"network_options":{"title":"network_options_param","type":"object","properties":{"cartes_bancaires":{"title":"cartes_bancaires_network_options_param","required":["cb_avalgo"],"type":"object","properties":{"cb_avalgo":{"type":"string","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"]},"cb_exemption":{"maxLength":4,"type":"string","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"},"cb_score":{"type":"integer","description":"The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99"}},"description":"Cartes Bancaires-specific 3DS fields.","x-stripeMostCommon":["cb_avalgo","cb_exemption","cb_score"]}},"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","x-stripeMostCommon":["cartes_bancaires"]},"requestor_challenge_indicator":{"maxLength":2,"type":"string","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."},"transaction_id":{"maxLength":5000,"type":"string","description":"For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID)."},"version":{"type":"string","description":"The version of 3D Secure that was performed.","enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this setup.","x-stripeMostCommon":["ares_trans_status","cryptogram","electronic_commerce_indicator","exemption_preferred","gateway","network_options","requestor_challenge_indicator","transaction_id","version"]}},"description":"Configuration for any card setup attempted on this SetupIntent.","x-stripeMostCommon":["commerce_type","mandate_options","moto","network","network_token","request_name_verification","request_three_d_secure","three_d_secure","verify_card_account"]},"card_present":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options."},"klarna":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"currency":{"type":"string","description":"The currency of the SetupIntent. Three letter ISO currency code.","format":"currency"},"on_demand":{"title":"on_demand_param","type":"object","properties":{"average_amount":{"type":"integer","description":"Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc."},"maximum_amount":{"type":"integer","description":"The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"minimum_amount":{"type":"integer","description":"The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"purchase_interval":{"type":"string","description":"Interval at which the customer is making purchases","enum":["day","month","week","year"]},"purchase_interval_count":{"type":"integer","description":"The number of `purchase_interval` between charges"}},"description":"On-demand details if setting up a payment method for on-demand payments.","x-stripeMostCommon":["average_amount","maximum_amount","minimum_amount","purchase_interval","purchase_interval_count"]},"preferred_locale":{"type":"string","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"],"x-stripeBypassValidation":true},"subscriptions":{"description":"Subscription details if setting up or charging a subscription","anyOf":[{"type":"array","items":{"title":"setup_intent_subscription_param","required":["interval","next_billing","reference"],"type":"object","properties":{"interval":{"type":"string","description":"Unit of time between subscription charges.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months."},"name":{"maxLength":255,"type":"string","description":"Name for subscription."},"next_billing":{"title":"subscription_next_billing_param","required":["amount","date"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the next charge for the subscription."},"date":{"maxLength":5000,"type":"string","description":"The date of the next charge for the subscription in YYYY-MM-DD format."}},"description":"Describes the upcoming charge for this subscription.","x-stripeMostCommon":["amount","date"]},"reference":{"maxLength":255,"type":"string","description":"A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges."}},"x-stripeMostCommon":["interval","interval_count","name","next_billing","reference"]}},{"type":"string","enum":[""]}]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method options.","x-stripeMostCommon":["currency","interoperability_token","on_demand","payment_option_id","preferred_locale","subscriptions"]},"link":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function."}},"description":"If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.","x-stripeMostCommon":["persistent_token"]},"paypal":{"title":"payment_method_options_param","type":"object","properties":{"billing_agreement_id":{"maxLength":5000,"type":"string","description":"The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer."}},"description":"If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.","x-stripeMostCommon":["billing_agreement_id","currency","subsellers"]},"payto":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["","fixed","maximum"]},"end_date":{"description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["","adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["","dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]},"start_date":{"description":"Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation.","x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"]}},"description":"If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.","x-stripeMostCommon":["mandate_options"]},"sepa_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference","reference_prefix"]}},"description":"If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.","x-stripeMostCommon":["mandate_options","verification_method"]},"upi":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]},"setup_future_usage":{"type":"string","enum":["","none","off_session","on_session"]}},"description":"If this is a `upi` SetupIntent, this sub-hash contains details about the UPI payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage"]},"us_bank_account":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"linked_account_options_param","type":"object","properties":{"filters":{"title":"linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"maxLength":5000,"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"collection_method":{"type":"string","description":"The method used to collect offline mandate customer acceptance.","enum":["","paper"],"x-stripeBypassValidation":true}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["collection_method"]},"networks":{"title":"networks_options_param","type":"object","properties":{"requested":{"type":"array","description":"Triggers validations to run across the selected networks","items":{"type":"string","enum":["ach","us_domestic_wire"]}}},"description":"Additional fields for network related functions","x-stripeMostCommon":["requested"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.","x-stripeMostCommon":["financial_connections","mandate_options","networks","verification_method"]}},"description":"Payment method-specific configuration for this SetupIntent.","x-stripeMostCommon":["acss_debit","alipay","amazon_pay","bacs_debit","bizum","blik","card","card_present","demo_pay","dummy_auth_push","klarna","link","paypal","payto","pix","sepa_debit","stripe_balance","upi","us_bank_account","wechat_pay"]},"payment_method_types":{"type":"array","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). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"maxLength":5000,"type":"string"}},"return_url":{"type":"string","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://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm)."},"single_use":{"title":"setup_intent_single_use_params","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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)."},"currency":{"type":"string","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).","format":"currency"}},"description":"If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.\n\nSingle-use mandates are only valid for the following payment methods: `acss_debit`, `alipay`, `au_becs_debit`, `bacs_debit`, `bancontact`, `boleto`, `ideal`, `link`, `sepa_debit`, and `us_bank_account`.","x-stripeMostCommon":["amount","currency"]},"usage":{"type":"string","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"]},"use_stripe_sdk":{"type":"boolean","description":"Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions."}},"additionalProperties":false,"x-stripeMostCommon":["automatic_payment_methods","confirm","customer","customer_account","description","metadata","payment_method","usage"]},"encoding":{"automatic_payment_methods":{"style":"deepObject","explode":true},"excluded_payment_method_types":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"flow_directions":{"style":"deepObject","explode":true},"mandate_data":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true},"single_use":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/setup_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/setup_intents/{intent}":{"get":{"summary":"Retrieve a SetupIntent","description":"

Retrieves the details of a SetupIntent that has previously been created.

\n\n

Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string.

\n\n

When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the SetupIntent object reference for more details.

","operationId":"GetSetupIntentsIntent","parameters":[{"name":"client_secret","in":"query","description":"The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/setup_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a SetupIntent","description":"

Updates a SetupIntent object.

","operationId":"PostSetupIntentsIntent","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"attach_to_self":{"type":"boolean","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."},"customer":{"maxLength":5000,"type":"string","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."},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account this SetupIntent belongs to, if one exists.\n\nIf present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent."},"description":{"maxLength":1000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"excluded_payment_method_types":{"description":"The list of payment method types to exclude from use with this SetupIntent.","anyOf":[{"type":"array","items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"flow_directions":{"type":"array","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":{"type":"string","enum":["inbound","outbound"]}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"payment_method":{"maxLength":5000,"type":"string","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."},"payment_method_configuration":{"maxLength":100,"type":"string","description":"The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this SetupIntent."},"payment_method_data":{"title":"payment_method_data_params","required":["type"],"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"description":"When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)\nvalue in the SetupIntent.","x-stripeMostCommon":["billing_details","metadata","type"]},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"acss_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"currency":{"type":"string","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"]},"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"custom_mandate_url":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"default_for":{"type":"array","description":"List of Stripe products where this mandate can be selected automatically.","items":{"type":"string","enum":["invoice","subscription"]}},"interval_description":{"maxLength":500,"type":"string","description":"Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'."},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["custom_mandate_url","default_for","interval_description","payment_schedule","transaction_type"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.","x-stripeMostCommon":["currency","financial_connections","mandate_options","verification_method"]},"amazon_pay":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.","x-stripeMostCommon":["charge_permission_id"]},"bacs_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference_prefix"]}},"description":"If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.","x-stripeMostCommon":["mandate_options"]},"card":{"title":"setup_intent_param","type":"object","properties":{"mandate_options":{"title":"setup_intent_mandate_options_param","required":["amount","amount_type","currency","interval","reference","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","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"},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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`."},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","items":{"type":"string","enum":["india"]}}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","currency","description","end_date","interval","interval_count","reference","start_date","supported_types"]},"moto":{"type":"boolean","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."},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"three_d_secure":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"ares_trans_status":{"type":"string","description":"The `transStatus` returned from the card Issuer’s ACS in the ARes.","enum":["A","C","I","N","R","U","Y"]},"cryptogram":{"maxLength":5000,"type":"string","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.)"},"electronic_commerce_indicator":{"type":"string","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"],"x-stripeBypassValidation":true},"network_options":{"title":"network_options_param","type":"object","properties":{"cartes_bancaires":{"title":"cartes_bancaires_network_options_param","required":["cb_avalgo"],"type":"object","properties":{"cb_avalgo":{"type":"string","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"]},"cb_exemption":{"maxLength":4,"type":"string","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"},"cb_score":{"type":"integer","description":"The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99"}},"description":"Cartes Bancaires-specific 3DS fields.","x-stripeMostCommon":["cb_avalgo","cb_exemption","cb_score"]}},"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","x-stripeMostCommon":["cartes_bancaires"]},"requestor_challenge_indicator":{"maxLength":2,"type":"string","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."},"transaction_id":{"maxLength":5000,"type":"string","description":"For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID)."},"version":{"type":"string","description":"The version of 3D Secure that was performed.","enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this setup.","x-stripeMostCommon":["ares_trans_status","cryptogram","electronic_commerce_indicator","exemption_preferred","gateway","network_options","requestor_challenge_indicator","transaction_id","version"]}},"description":"Configuration for any card setup attempted on this SetupIntent.","x-stripeMostCommon":["commerce_type","mandate_options","moto","network","network_token","request_name_verification","request_three_d_secure","three_d_secure","verify_card_account"]},"card_present":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options."},"klarna":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"currency":{"type":"string","description":"The currency of the SetupIntent. Three letter ISO currency code.","format":"currency"},"on_demand":{"title":"on_demand_param","type":"object","properties":{"average_amount":{"type":"integer","description":"Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc."},"maximum_amount":{"type":"integer","description":"The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"minimum_amount":{"type":"integer","description":"The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"purchase_interval":{"type":"string","description":"Interval at which the customer is making purchases","enum":["day","month","week","year"]},"purchase_interval_count":{"type":"integer","description":"The number of `purchase_interval` between charges"}},"description":"On-demand details if setting up a payment method for on-demand payments.","x-stripeMostCommon":["average_amount","maximum_amount","minimum_amount","purchase_interval","purchase_interval_count"]},"preferred_locale":{"type":"string","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"],"x-stripeBypassValidation":true},"subscriptions":{"description":"Subscription details if setting up or charging a subscription","anyOf":[{"type":"array","items":{"title":"setup_intent_subscription_param","required":["interval","next_billing","reference"],"type":"object","properties":{"interval":{"type":"string","description":"Unit of time between subscription charges.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months."},"name":{"maxLength":255,"type":"string","description":"Name for subscription."},"next_billing":{"title":"subscription_next_billing_param","required":["amount","date"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the next charge for the subscription."},"date":{"maxLength":5000,"type":"string","description":"The date of the next charge for the subscription in YYYY-MM-DD format."}},"description":"Describes the upcoming charge for this subscription.","x-stripeMostCommon":["amount","date"]},"reference":{"maxLength":255,"type":"string","description":"A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges."}},"x-stripeMostCommon":["interval","interval_count","name","next_billing","reference"]}},{"type":"string","enum":[""]}]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method options.","x-stripeMostCommon":["currency","interoperability_token","on_demand","payment_option_id","preferred_locale","subscriptions"]},"link":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function."}},"description":"If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.","x-stripeMostCommon":["persistent_token"]},"paypal":{"title":"payment_method_options_param","type":"object","properties":{"billing_agreement_id":{"maxLength":5000,"type":"string","description":"The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer."}},"description":"If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.","x-stripeMostCommon":["billing_agreement_id","currency","subsellers"]},"payto":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["","fixed","maximum"]},"end_date":{"description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["","adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["","dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]},"start_date":{"description":"Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation.","x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"]}},"description":"If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.","x-stripeMostCommon":["mandate_options"]},"sepa_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference","reference_prefix"]}},"description":"If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.","x-stripeMostCommon":["mandate_options","verification_method"]},"upi":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]},"setup_future_usage":{"type":"string","enum":["","none","off_session","on_session"]}},"description":"If this is a `upi` SetupIntent, this sub-hash contains details about the UPI payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage"]},"us_bank_account":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"linked_account_options_param","type":"object","properties":{"filters":{"title":"linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"maxLength":5000,"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"collection_method":{"type":"string","description":"The method used to collect offline mandate customer acceptance.","enum":["","paper"],"x-stripeBypassValidation":true}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["collection_method"]},"networks":{"title":"networks_options_param","type":"object","properties":{"requested":{"type":"array","description":"Triggers validations to run across the selected networks","items":{"type":"string","enum":["ach","us_domestic_wire"]}}},"description":"Additional fields for network related functions","x-stripeMostCommon":["requested"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.","x-stripeMostCommon":["financial_connections","mandate_options","networks","verification_method"]}},"description":"Payment method-specific configuration for this SetupIntent.","x-stripeMostCommon":["acss_debit","alipay","amazon_pay","bacs_debit","bizum","blik","card","card_present","demo_pay","dummy_auth_push","klarna","link","paypal","payto","pix","sepa_debit","stripe_balance","upi","us_bank_account","wechat_pay"]},"payment_method_types":{"type":"array","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). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["customer","customer_account","description","metadata","payment_method"]},"encoding":{"excluded_payment_method_types":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"flow_directions":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true},"payment_method_types":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/setup_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/setup_intents/{intent}/cancel":{"post":{"summary":"Cancel a SetupIntent","description":"

You can cancel a SetupIntent object when it’s in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.

\n\n

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. Expire the Checkout Session instead.

","operationId":"PostSetupIntentsIntentCancel","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"cancellation_reason":{"maxLength":5000,"type":"string","description":"Reason for canceling this SetupIntent. Possible values are: `abandoned`, `requested_by_customer`, or `duplicate`","enum":["abandoned","duplicate","requested_by_customer"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["cancellation_reason"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/setup_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/setup_intents/{intent}/confirm":{"post":{"summary":"Confirm a SetupIntent","description":"

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.

\n\n

If the selected payment method does not require any additional\nsteps from the customer, the SetupIntent will transition to the\nsucceeded status.

\n\n

Otherwise, it will transition to the requires_action status and\nsuggest additional actions via next_action. If setup fails,\nthe SetupIntent will transition to the\nrequires_payment_method status or the canceled status if the\nconfirmation limit is reached.

","operationId":"PostSetupIntentsIntentConfirm","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"confirmation_token":{"maxLength":5000,"type":"string","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."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"mandate_data":{"anyOf":[{"title":"secret_key_param","required":["customer_acceptance"],"type":"object","properties":{"customer_acceptance":{"title":"customer_acceptance_param","required":["type"],"type":"object","properties":{"accepted_at":{"type":"integer","description":"The time at which the customer accepted the Mandate.","format":"unix-time"},"offline":{"title":"offline_param","type":"object","properties":{},"description":"If this is a Mandate accepted offline, this hash contains details about the offline acceptance."},"online":{"title":"online_param","required":["ip_address","user_agent"],"type":"object","properties":{"ip_address":{"type":"string","description":"The IP address from which the Mandate was accepted by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the Mandate was accepted by the customer."}},"description":"If this is a Mandate accepted online, this hash contains details about the online acceptance.","x-stripeMostCommon":["ip_address","user_agent"]},"type":{"maxLength":5000,"type":"string","description":"The type of customer acceptance information included with the Mandate. One of `online` or `offline`.","enum":["offline","online"]}},"description":"This hash contains details about the customer acceptance of the Mandate.","x-stripeMostCommon":["accepted_at","offline","online","type"]}},"x-stripeMostCommon":["customer_acceptance"]},{"type":"string","enum":[""]},{"title":"client_key_param","required":["customer_acceptance"],"type":"object","properties":{"customer_acceptance":{"title":"customer_acceptance_param","required":["online","type"],"type":"object","properties":{"online":{"title":"online_param","type":"object","properties":{"ip_address":{"type":"string","description":"The IP address from which the Mandate was accepted by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the Mandate was accepted by the customer."}},"description":"If this is a Mandate accepted online, this hash contains details about the online acceptance.","x-stripeMostCommon":["ip_address","user_agent"]},"type":{"maxLength":5000,"type":"string","description":"The type of customer acceptance information included with the Mandate.","enum":["online"]}},"description":"This hash contains details about the customer acceptance of the Mandate.","x-stripeMostCommon":["online","type"]}},"description":"This hash contains details about the Mandate to create","x-stripeMostCommon":["customer_acceptance"],"x-stripeParam":{"class_name":"MandateDataPublishableKey"}}]},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent."},"payment_method_data":{"title":"payment_method_data_params","required":["type"],"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"description":"When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)\nvalue in the SetupIntent.","x-stripeMostCommon":["billing_details","metadata","type"]},"payment_method_options":{"title":"payment_method_options_param","type":"object","properties":{"acss_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"currency":{"type":"string","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"]},"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"custom_mandate_url":{"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.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"default_for":{"type":"array","description":"List of Stripe products where this mandate can be selected automatically.","items":{"type":"string","enum":["invoice","subscription"]}},"interval_description":{"maxLength":500,"type":"string","description":"Description of the mandate interval. Only required if 'payment_schedule' parameter is 'interval' or 'combined'."},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["custom_mandate_url","default_for","interval_description","payment_schedule","transaction_type"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"If this is a `acss_debit` SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.","x-stripeMostCommon":["currency","financial_connections","mandate_options","verification_method"]},"amazon_pay":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `amazon_pay` SetupIntent, this sub-hash contains details about the AmazonPay payment method options.","x-stripeMostCommon":["charge_permission_id"]},"bacs_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference_prefix"]}},"description":"If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.","x-stripeMostCommon":["mandate_options"]},"card":{"title":"setup_intent_param","type":"object","properties":{"mandate_options":{"title":"setup_intent_mandate_options_param","required":["amount","amount_type","currency","interval","reference","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","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"},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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`."},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","items":{"type":"string","enum":["india"]}}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","currency","description","end_date","interval","interval_count","reference","start_date","supported_types"]},"moto":{"type":"boolean","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."},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"three_d_secure":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"ares_trans_status":{"type":"string","description":"The `transStatus` returned from the card Issuer’s ACS in the ARes.","enum":["A","C","I","N","R","U","Y"]},"cryptogram":{"maxLength":5000,"type":"string","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.)"},"electronic_commerce_indicator":{"type":"string","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"],"x-stripeBypassValidation":true},"network_options":{"title":"network_options_param","type":"object","properties":{"cartes_bancaires":{"title":"cartes_bancaires_network_options_param","required":["cb_avalgo"],"type":"object","properties":{"cb_avalgo":{"type":"string","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"]},"cb_exemption":{"maxLength":4,"type":"string","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"},"cb_score":{"type":"integer","description":"The risk score returned from Cartes Bancaires in the ARes.\nmessage extension: CB-SCORE; numeric value 0-99"}},"description":"Cartes Bancaires-specific 3DS fields.","x-stripeMostCommon":["cb_avalgo","cb_exemption","cb_score"]}},"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","x-stripeMostCommon":["cartes_bancaires"]},"requestor_challenge_indicator":{"maxLength":2,"type":"string","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."},"transaction_id":{"maxLength":5000,"type":"string","description":"For 3D Secure 1, the XID. For 3D Secure 2, the Directory Server\nTransaction ID (dsTransID)."},"version":{"type":"string","description":"The version of 3D Secure that was performed.","enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"If 3D Secure authentication was performed with a third-party provider,\nthe authentication details to use for this setup.","x-stripeMostCommon":["ares_trans_status","cryptogram","electronic_commerce_indicator","exemption_preferred","gateway","network_options","requestor_challenge_indicator","transaction_id","version"]}},"description":"Configuration for any card setup attempted on this SetupIntent.","x-stripeMostCommon":["commerce_type","mandate_options","moto","network","network_token","request_name_verification","request_three_d_secure","three_d_secure","verify_card_account"]},"card_present":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{},"description":"If this is a `card_present` PaymentMethod, this sub-hash contains details about the card-present payment method options."},"klarna":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"currency":{"type":"string","description":"The currency of the SetupIntent. Three letter ISO currency code.","format":"currency"},"on_demand":{"title":"on_demand_param","type":"object","properties":{"average_amount":{"type":"integer","description":"Your average amount value. You can use a value across your customer base, or segment based on customer type, country, etc."},"maximum_amount":{"type":"integer","description":"The maximum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"minimum_amount":{"type":"integer","description":"The lowest or minimum value you may charge a customer per purchase. You can use a value across your customer base, or segment based on customer type, country, etc."},"purchase_interval":{"type":"string","description":"Interval at which the customer is making purchases","enum":["day","month","week","year"]},"purchase_interval_count":{"type":"integer","description":"The number of `purchase_interval` between charges"}},"description":"On-demand details if setting up a payment method for on-demand payments.","x-stripeMostCommon":["average_amount","maximum_amount","minimum_amount","purchase_interval","purchase_interval_count"]},"preferred_locale":{"type":"string","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"],"x-stripeBypassValidation":true},"subscriptions":{"description":"Subscription details if setting up or charging a subscription","anyOf":[{"type":"array","items":{"title":"setup_intent_subscription_param","required":["interval","next_billing","reference"],"type":"object","properties":{"interval":{"type":"string","description":"Unit of time between subscription charges.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The number of intervals (specified in the `interval` attribute) between subscription charges. For example, `interval=month` and `interval_count=3` charges every 3 months."},"name":{"maxLength":255,"type":"string","description":"Name for subscription."},"next_billing":{"title":"subscription_next_billing_param","required":["amount","date"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the next charge for the subscription."},"date":{"maxLength":5000,"type":"string","description":"The date of the next charge for the subscription in YYYY-MM-DD format."}},"description":"Describes the upcoming charge for this subscription.","x-stripeMostCommon":["amount","date"]},"reference":{"maxLength":255,"type":"string","description":"A non-customer-facing reference to correlate subscription charges in the Klarna app. Use a value that persists across subscription charges."}},"x-stripeMostCommon":["interval","interval_count","name","next_billing","reference"]}},{"type":"string","enum":[""]}]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method options.","x-stripeMostCommon":["currency","interoperability_token","on_demand","payment_option_id","preferred_locale","subscriptions"]},"link":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function."}},"description":"If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.","x-stripeMostCommon":["persistent_token"]},"paypal":{"title":"payment_method_options_param","type":"object","properties":{"billing_agreement_id":{"maxLength":5000,"type":"string","description":"The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer."}},"description":"If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.","x-stripeMostCommon":["billing_agreement_id","currency","subsellers"]},"payto":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"setup_intent_payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["","fixed","maximum"]},"end_date":{"description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["","adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["","dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]},"start_date":{"description":"Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation.","x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"]}},"description":"If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.","x-stripeMostCommon":["mandate_options"]},"sepa_debit":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"reference_prefix":{"description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'.","anyOf":[{"maxLength":12,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["reference","reference_prefix"]}},"description":"If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.","x-stripeMostCommon":["mandate_options","verification_method"]},"upi":{"title":"payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"payment_method_options_mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]},"setup_future_usage":{"type":"string","enum":["","none","off_session","on_session"]}},"description":"If this is a `upi` SetupIntent, this sub-hash contains details about the UPI payment method options.","x-stripeMostCommon":["mandate_options","setup_future_usage"]},"us_bank_account":{"title":"setup_intent_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"linked_account_options_param","type":"object","properties":{"filters":{"title":"linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"maxLength":5000,"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","manual_entry","permissions","prefetch","return_url"]},"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"collection_method":{"type":"string","description":"The method used to collect offline mandate customer acceptance.","enum":["","paper"],"x-stripeBypassValidation":true}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["collection_method"]},"networks":{"title":"networks_options_param","type":"object","properties":{"requested":{"type":"array","description":"Triggers validations to run across the selected networks","items":{"type":"string","enum":["ach","us_domestic_wire"]}}},"description":"Additional fields for network related functions","x-stripeMostCommon":["requested"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.","x-stripeMostCommon":["financial_connections","mandate_options","networks","verification_method"]}},"description":"Payment method-specific configuration for this SetupIntent.","x-stripeMostCommon":["acss_debit","alipay","amazon_pay","bacs_debit","bizum","blik","card","card_present","demo_pay","dummy_auth_push","klarna","link","paypal","payto","pix","sepa_debit","stripe_balance","upi","us_bank_account","wechat_pay"]},"return_url":{"type":"string","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."},"use_stripe_sdk":{"type":"boolean","description":"Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions."}},"additionalProperties":false,"x-stripeMostCommon":["payment_method"]},"encoding":{"expand":{"style":"deepObject","explode":true},"mandate_data":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/setup_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/setup_intents/{intent}/verify_microdeposits":{"post":{"summary":"Verify microdeposits on a SetupIntent","description":"

Verifies microdeposits on a SetupIntent object.

","operationId":"PostSetupIntentsIntentVerifyMicrodeposits","parameters":[{"name":"intent","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amounts":{"type":"array","description":"Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account.","items":{"type":"integer"}},"descriptor_code":{"maxLength":5000,"type":"string","description":"A six-character code starting with SM present in the microdeposit sent to the bank account."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["amounts","descriptor_code"]},"encoding":{"amounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/setup_intent"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/shipping_rates":{"get":{"summary":"List all shipping rates","description":"

Returns a list of your shipping rates.

","operationId":"GetShippingRates","parameters":[{"name":"active","in":"query","description":"Only return shipping rates that are active or inactive.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"currency","in":"query","description":"Only return shipping rates for the given currency.","required":false,"style":"form","explode":true,"schema":{"type":"string","format":"currency"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ShippingResourcesShippingRateList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/shipping_rate"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/shipping_rates","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a shipping rate","description":"

Creates a new shipping rate object.

","operationId":"PostShippingRates","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["display_name"],"type":"object","properties":{"delivery_estimate":{"title":"delivery_estimate","type":"object","properties":{"maximum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.","x-stripeMostCommon":["unit","value"]},"minimum":{"title":"delivery_estimate_bound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"The lower bound of the estimated range. If empty, represents no lower bound.","x-stripeMostCommon":["unit","value"]}},"description":"The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.","x-stripeMostCommon":["maximum","minimum"]},"display_name":{"maxLength":100,"type":"string","description":"The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"fixed_amount":{"title":"fixed_amount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","additionalProperties":{"title":"currency_option","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"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)."}},"description":"Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.","x-stripeMostCommon":["amount","currency","currency_options"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`."},"type":{"type":"string","description":"The type of calculation to use on the shipping rate.","enum":["fixed_amount"]}},"additionalProperties":false,"x-stripeMostCommon":["display_name","fixed_amount","metadata","tax_behavior","tax_code","type"]},"encoding":{"delivery_estimate":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"fixed_amount":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/shipping_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/shipping_rates/{shipping_rate_token}":{"get":{"summary":"Retrieve a shipping rate","description":"

Returns the shipping rate object with the given ID.

","operationId":"GetShippingRatesShippingRateToken","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"shipping_rate_token","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/shipping_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a shipping rate","description":"

Updates an existing shipping rate object.

","operationId":"PostShippingRatesShippingRateToken","parameters":[{"name":"shipping_rate_token","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","description":"Whether the shipping rate can be used for new purchases. Defaults to `true`."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"fixed_amount":{"title":"fixed_amount_update","type":"object","properties":{"currency_options":{"type":"object","additionalProperties":{"title":"currency_option_update","type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"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)."}},"description":"Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.","x-stripeMostCommon":["currency_options"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"additionalProperties":false,"x-stripeMostCommon":["active","fixed_amount","metadata","tax_behavior"]},"encoding":{"expand":{"style":"deepObject","explode":true},"fixed_amount":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/shipping_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/sigma/scheduled_query_runs":{"get":{"summary":"List all scheduled query runs","description":"

Returns a list of scheduled query runs.

","operationId":"GetSigmaScheduledQueryRuns","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SigmaScheduledQueryRunList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/scheduled_query_run"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/sigma/scheduled_query_runs","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/sigma/scheduled_query_runs/{scheduled_query_run}":{"get":{"summary":"Retrieve a scheduled query run","description":"

Retrieves the details of an scheduled query run.

","operationId":"GetSigmaScheduledQueryRunsScheduledQueryRun","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"scheduled_query_run","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/scheduled_query_run"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/sources":{"post":{"summary":"Shares a source","description":"

Creates a new source object.

","operationId":"PostSources","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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."},"currency":{"type":"string","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.","format":"currency"},"customer":{"maxLength":500,"type":"string","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`)."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"flow":{"maxLength":5000,"type":"string","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"]},"mandate":{"title":"mandate_params","type":"object","properties":{"acceptance":{"title":"mandate_acceptance_params","required":["status"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the mandate was accepted or refused by the customer."},"offline":{"title":"mandate_offline_acceptance_params","required":["contact_email"],"type":"object","properties":{"contact_email":{"type":"string","description":"An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`."}},"description":"The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline`","x-stripeMostCommon":["contact_email"]},"online":{"title":"mandate_online_acceptance_params","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the mandate was accepted or refused by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the mandate was accepted or refused by the customer."}},"description":"The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online`","x-stripeMostCommon":["date","ip","user_agent"]},"status":{"maxLength":5000,"type":"string","description":"The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused).","enum":["accepted","pending","refused","revoked"]},"type":{"maxLength":5000,"type":"string","description":"The type of acceptance information included with the mandate. Either `online` or `offline`","enum":["offline","online"]},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the mandate was accepted or refused by the customer."}},"description":"The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.","x-stripeMostCommon":["date","ip","offline","online","status","type","user_agent"]},"amount":{"description":"The amount specified by the mandate. (Leave null for a mandate covering all amounts)","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"currency":{"type":"string","description":"The currency specified by the mandate. (Must match `currency` of the source)","format":"currency"},"interval":{"maxLength":5000,"type":"string","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"]},"notification_method":{"maxLength":5000,"type":"string","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"]}},"description":"Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.","x-stripeMostCommon":["acceptance","amount","currency","interval","notification_method"]},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"original_source":{"maxLength":5000,"type":"string","description":"The source to share."},"owner":{"title":"owner","type":"object","properties":{"address":{"title":"source_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Owner's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"Owner's email address."},"name":{"maxLength":5000,"type":"string","description":"Owner's full name."},"phone":{"maxLength":5000,"type":"string","description":"Owner's phone number."}},"description":"Information about the owner of the payment instrument that may be used or required by particular source types.","x-stripeMostCommon":["address","email","name","phone"]},"receiver":{"title":"receiver_params","type":"object","properties":{"refund_attributes_method":{"maxLength":5000,"type":"string","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"]}},"description":"Optional parameters for the receiver flow. Can be set only if the source is a receiver (`flow` is `receiver`).","x-stripeMostCommon":["refund_attributes_method"]},"redirect":{"title":"redirect_params","required":["return_url"],"type":"object","properties":{"return_url":{"type":"string","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."}},"description":"Parameters required for the redirect flow. Required if the source is authenticated by a redirect (`flow` is `redirect`).","x-stripeMostCommon":["return_url"]},"source_order":{"title":"shallow_order_specs","type":"object","properties":{"items":{"type":"array","description":"List of items constituting the order.","items":{"title":"order_item_specs","type":"object","properties":{"amount":{"type":"integer"},"currency":{"type":"string","format":"currency"},"description":{"maxLength":1000,"type":"string"},"parent":{"maxLength":5000,"type":"string","description":"The ID of the SKU being ordered."},"quantity":{"type":"integer","description":"The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered."},"type":{"maxLength":5000,"type":"string","enum":["discount","shipping","sku","tax"]}},"x-stripeMostCommon":["amount","currency","description","parent","quantity","type"]}},"shipping":{"title":"order_shipping","required":["address"],"type":"object","properties":{"address":{"title":"address","required":["line1"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"description":"Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true.","x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]}},"description":"Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.","x-stripeMostCommon":["items","shipping"]},"statement_descriptor":{"maxLength":5000,"type":"string","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."},"token":{"maxLength":5000,"type":"string","description":"An optional token used to create the source. When passed, token properties will override source parameters."},"type":{"maxLength":5000,"type":"string","description":"The `type` of the source to create. Required unless `customer` and `original_source` are specified (see the [Cloning card Sources](https://docs.stripe.com/sources/connect#cloning-card-sources) guide)"},"usage":{"maxLength":5000,"type":"string","enum":["reusable","single_use"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","customer","metadata","original_source","owner","redirect","statement_descriptor","type"]},"encoding":{"expand":{"style":"deepObject","explode":true},"mandate":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"owner":{"style":"deepObject","explode":true},"receiver":{"style":"deepObject","explode":true},"redirect":{"style":"deepObject","explode":true},"source_order":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/sources/{source}":{"get":{"summary":"Retrieve a source","description":"

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.

","operationId":"GetSourcesSource","parameters":[{"name":"client_secret","in":"query","description":"The client secret of the source. Required if a publishable key is used to retrieve the source.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"source","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a source","description":"

Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

\n\n

This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our payment method guides for more detail.

","operationId":"PostSourcesSource","parameters":[{"name":"source","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"Amount associated with the source."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"mandate":{"title":"mandate_params","type":"object","properties":{"acceptance":{"title":"mandate_acceptance_params","required":["status"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the mandate was accepted or refused by the customer."},"offline":{"title":"mandate_offline_acceptance_params","required":["contact_email"],"type":"object","properties":{"contact_email":{"type":"string","description":"An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`."}},"description":"The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline`","x-stripeMostCommon":["contact_email"]},"online":{"title":"mandate_online_acceptance_params","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the mandate was accepted or refused by the customer."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the mandate was accepted or refused by the customer."}},"description":"The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online`","x-stripeMostCommon":["date","ip","user_agent"]},"status":{"maxLength":5000,"type":"string","description":"The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused).","enum":["accepted","pending","refused","revoked"]},"type":{"maxLength":5000,"type":"string","description":"The type of acceptance information included with the mandate. Either `online` or `offline`","enum":["offline","online"]},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the mandate was accepted or refused by the customer."}},"description":"The parameters required to notify Stripe of a mandate acceptance or refusal by the customer.","x-stripeMostCommon":["date","ip","offline","online","status","type","user_agent"]},"amount":{"description":"The amount specified by the mandate. (Leave null for a mandate covering all amounts)","anyOf":[{"type":"integer"},{"type":"string","enum":[""]}]},"currency":{"type":"string","description":"The currency specified by the mandate. (Must match `currency` of the source)","format":"currency"},"interval":{"maxLength":5000,"type":"string","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"]},"notification_method":{"maxLength":5000,"type":"string","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"]}},"description":"Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.","x-stripeMostCommon":["acceptance","amount","currency","interval","notification_method"]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"owner":{"title":"owner","type":"object","properties":{"address":{"title":"source_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Owner's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"email":{"type":"string","description":"Owner's email address."},"name":{"maxLength":5000,"type":"string","description":"Owner's full name."},"phone":{"maxLength":5000,"type":"string","description":"Owner's phone number."}},"description":"Information about the owner of the payment instrument that may be used or required by particular source types.","x-stripeMostCommon":["address","email","name","phone"]},"source_order":{"title":"order_params","type":"object","properties":{"items":{"type":"array","description":"List of items constituting the order.","items":{"title":"order_item_specs","type":"object","properties":{"amount":{"type":"integer"},"currency":{"type":"string","format":"currency"},"description":{"maxLength":1000,"type":"string"},"parent":{"maxLength":5000,"type":"string","description":"The ID of the SKU being ordered."},"quantity":{"type":"integer","description":"The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered."},"type":{"maxLength":5000,"type":"string","enum":["discount","shipping","sku","tax"]}},"x-stripeMostCommon":["amount","currency","description","parent","quantity","type"]}},"shipping":{"title":"order_shipping","required":["address"],"type":"object","properties":{"address":{"title":"address","required":["line1"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc."},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension)."},"tracking_number":{"maxLength":5000,"type":"string","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."}},"description":"Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true.","x-stripeMostCommon":["address","carrier","name","phone","tracking_number"]}},"description":"Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.","x-stripeMostCommon":["items","shipping"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","metadata","owner"]},"encoding":{"expand":{"style":"deepObject","explode":true},"mandate":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"owner":{"style":"deepObject","explode":true},"source_order":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/sources/{source}/source_transactions":{"get":{"description":"

List source transactions for a given source.

","operationId":"GetSourcesSourceSourceTransactions","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"source","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"ApmsSourcesSourceTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/source_transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/sources/{source}/verify":{"post":{"description":"

Verify a given source.

","operationId":"PostSourcesSourceVerify","parameters":[{"name":"source","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["values"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"values":{"type":"array","description":"The values needed to verify the source.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["values"]},"encoding":{"expand":{"style":"deepObject","explode":true},"values":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/source"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscription_items":{"get":{"summary":"List all subscription items","description":"

Returns a list of your subscription items for a given subscription.

","operationId":"GetSubscriptionItems","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"subscription","in":"query","description":"The ID of the subscription whose items will be retrieved.","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SubscriptionsItemsSubscriptionItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/subscription_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/subscription_items","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a subscription item","description":"

Adds a new item to an existing subscription. No existing items will be changed or replaced.

","operationId":"PostSubscriptionItems","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["subscription"],"type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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_behavior":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://docs.stripe.com/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://docs.stripe.com/changelog/2019-03-14) to learn more.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"]},"plan":{"maxLength":5000,"type":"string","description":"The identifier of the plan to add to the subscription."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/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"]},"proration_date":{"type":"integer","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](/api/invoices/create_preview) endpoint.","format":"unix-time"},"quantity":{"type":"integer","description":"The quantity you'd like to apply to the subscription item you're creating."},"subscription":{"maxLength":5000,"type":"string","description":"The identifier of the subscription to modify."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata","payment_behavior","price","proration_behavior","quantity","subscription"]},"encoding":{"billing_thresholds":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"price_data":{"style":"deepObject","explode":true},"tax_rates":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscription_items/{item}":{"get":{"summary":"Retrieve a subscription item","description":"

Retrieves the subscription item with the given ID.

","operationId":"GetSubscriptionItemsItem","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"item","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a subscription item","description":"

Updates the plan or quantity of an item on a current subscription.

","operationId":"PostSubscriptionItemsItem","parameters":[{"name":"item","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"off_session":{"type":"boolean","description":"Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session)."},"payment_behavior":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://docs.stripe.com/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://docs.stripe.com/changelog/2019-03-14) to learn more.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"]},"plan":{"maxLength":5000,"type":"string","description":"The identifier of the new plan for this subscription item."},"price":{"maxLength":5000,"type":"string","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."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/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"]},"proration_date":{"type":"integer","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](/api/invoices/create_preview) endpoint.","format":"unix-time"},"quantity":{"type":"integer","description":"The quantity you'd like to apply to the subscription item you're creating."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata","payment_behavior","price","proration_behavior","quantity"]},"encoding":{"billing_thresholds":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"price_data":{"style":"deepObject","explode":true},"tax_rates":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a subscription item","description":"

Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription.

","operationId":"DeleteSubscriptionItemsItem","parameters":[{"name":"item","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"clear_usage":{"type":"boolean","description":"Delete all usage for the given subscription item. Allowed only when the current plan's `usage_type` is `metered`."},"payment_behavior":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://docs.stripe.com/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://docs.stripe.com/changelog/2019-03-14) to learn more.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/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"]},"proration_date":{"type":"integer","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](/api/invoices/create_preview) endpoint.","format":"unix-time"}},"additionalProperties":false,"x-stripeMostCommon":["payment_behavior","proration_behavior"]},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_subscription_item"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscription_schedules":{"get":{"summary":"List all schedules","description":"

Retrieves the list of your subscription schedules.

","operationId":"GetSubscriptionSchedules","parameters":[{"name":"canceled_at","in":"query","description":"Only return subscription schedules that were created canceled the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"completed_at","in":"query","description":"Only return subscription schedules that completed during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"created","in":"query","description":"Only return subscription schedules that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return subscription schedules for the given customer.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"Only return subscription schedules for the given account.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"released_at","in":"query","description":"Only return subscription schedules that were released during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"scheduled","in":"query","description":"Only return subscription schedules that have not started yet.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SubscriptionSchedulesResourceScheduleList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/subscription_schedule"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/subscription_schedules","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a schedule","description":"

Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions.

","operationId":"PostSubscriptionSchedules","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"billing_mode":{"title":"billing_mode","required":["type"],"type":"object","properties":{"flexible":{"title":"flexible_params","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"Configure behavior for flexible billing mode.","x-stripeMostCommon":["proration_discounts"]},"type":{"type":"string","description":"Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.","enum":["classic","flexible"]}},"description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","x-stripeMostCommon":["flexible","type"]},"customer":{"maxLength":5000,"type":"string","description":"The identifier of the customer to create the subscription schedule for."},"customer_account":{"maxLength":5000,"type":"string","description":"The identifier of the account to create the subscription schedule for."},"default_settings":{"title":"default_settings_params","type":"object","properties":{"application_fee_percent":{"type":"number","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":{"title":"automatic_tax_config","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Default settings for automatic tax computation.","x-stripeMostCommon":["enabled","liability"]},"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["automatic","phase_start"]},"billing_thresholds":{"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.","anyOf":[{"title":"billing_thresholds_param","type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to advance to a new billing period"},"reset_billing_cycle_anchor":{"type":"boolean","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."}},"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},{"type":"string","enum":[""]}]},"collection_method":{"type":"string","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"]},"default_payment_method":{"maxLength":5000,"type":"string","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."},"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"invoice_settings":{"title":"subscription_schedule_default_settings_param","type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"days_until_due":{"type":"integer","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`."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["account_tax_ids","custom_fields","days_until_due","description","footer","issuer","rendering","send_hosted_payment_email","supported_payment_methods"]},"on_behalf_of":{"description":"The account on behalf of which to charge, for each of the associated subscription's invoices.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"transfer_data":{"description":"The data with which to automatically create a Transfer for each of the associated subscription's invoices.","anyOf":[{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"x-stripeMostCommon":["amount_percent","destination"]},{"type":"string","enum":[""]}]}},"description":"Object representing the subscription schedule's default settings.","x-stripeMostCommon":["application_fee_percent","automatic_tax","billing_cycle_anchor","billing_thresholds","collection_method","default_payment_method","description","invoice_settings","on_behalf_of","phase_effective_at","transfer_data"]},"end_behavior":{"type":"string","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"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"from_subscription":{"maxLength":5000,"type":"string","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."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"phases":{"type":"array","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":{"title":"phase_configuration_params","required":["items"],"type":"object","properties":{"add_invoice_items":{"type":"array","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":{"title":"add_invoice_item_entry","type":"object","properties":{"discounts":{"type":"array","description":"The coupons to redeem into discounts for the item.","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"title":"invoice_item_period","required":["end","start"],"type":"object","properties":{"end":{"title":"invoice_item_period_end","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the end of the invoice item period.","enum":["min_item_period_end","phase_end","timestamp"],"x-stripeBypassValidation":true}},"description":"End of the invoice item period.","x-stripeMostCommon":["timestamp","type"]},"start":{"title":"invoice_item_period_start","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the start of the invoice item period.","enum":["max_item_period_start","phase_start","timestamp"],"x-stripeBypassValidation":true}},"description":"Start of the invoice item period.","x-stripeMostCommon":["timestamp","type"]}},"description":"The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.","x-stripeMostCommon":["end","start"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"one_time_price_data_with_negative_amounts","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item. Defaults to 1."},"tax_rates":{"description":"The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["price","quantity"],"x-stripeParam":{"class_name":"AddInvoiceItem"}}},"application_fee_percent":{"type":"number","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":{"title":"automatic_tax_config","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Automatic tax settings for this phase.","x-stripeMostCommon":["enabled","liability"]},"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["automatic","phase_start"]},"billing_thresholds":{"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.","anyOf":[{"title":"billing_thresholds_param","type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to advance to a new billing period"},"reset_billing_cycle_anchor":{"type":"boolean","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."}},"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},{"type":"string","enum":[""]}]},"collection_method":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"default_payment_method":{"maxLength":5000,"type":"string","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."},"default_tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://docs.stripe.com/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"discounts":{"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.","anyOf":[{"type":"array","items":{"title":"schedule_discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"duration":{"title":"duration_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies phase duration. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The multiplier applied to the interval."}},"description":"The number of intervals the phase should last. If set, `end_date` must not be set.","x-stripeMostCommon":["interval","interval_count"]},"end_date":{"type":"integer","description":"The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.","format":"unix-time"},"invoice_settings":{"title":"invoice_settings","type":"object","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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"days_until_due":{"type":"integer","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`."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["account_tax_ids","custom_fields","days_until_due","description","footer","issuer","send_hosted_payment_email","supported_payment_methods"]},"items":{"type":"array","description":"List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.","items":{"title":"configuration_item_params","type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"schedule_discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"plan":{"maxLength":5000,"type":"string","description":"The plan ID to subscribe to. You may specify the same ID in `plan` and `price`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["billing_thresholds","discounts","metadata","plan","price","quantity","tax_rates","trial","trial_offer"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"on_behalf_of":{"type":"string","description":"The account on behalf of which to charge, for each of the associated subscription's invoices."},"proration_behavior":{"type":"string","description":"Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.","enum":["always_invoice","create_prorations","none"]},"transfer_data":{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"description":"The data with which to automatically create a Transfer for each of the associated subscription's invoices.","x-stripeMostCommon":["amount_percent","destination"]},"trial":{"type":"boolean","description":"If set to true the entire phase is counted as a trial and the customer will not be charged for any fees."},"trial_end":{"type":"integer","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"}},"x-stripeMostCommon":["add_invoice_items","application_fee_percent","automatic_tax","billing_cycle_anchor","billing_thresholds","cancel_at_period_end","collection_method","currency","default_payment_method","default_tax_rates","description","discounts","duration","effective_at","end_date","invoice_settings","items","metadata","on_behalf_of","pause_collection","proration_behavior","tax_filing_currency","transfer_data","trial","trial_continuation","trial_end","trial_settings"]}},"start_date":{"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.","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]}},"additionalProperties":false,"x-stripeMostCommon":["customer","metadata","phases","start_date"]},"encoding":{"billing_mode":{"style":"deepObject","explode":true},"default_settings":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"phases":{"style":"deepObject","explode":true},"start_date":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_schedule"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscription_schedules/{schedule}":{"get":{"summary":"Retrieve a schedule","description":"

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.

","operationId":"GetSubscriptionSchedulesSchedule","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"schedule","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_schedule"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a schedule","description":"

Updates an existing subscription schedule.

","operationId":"PostSubscriptionSchedulesSchedule","parameters":[{"name":"schedule","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"default_settings":{"title":"default_settings_params","type":"object","properties":{"application_fee_percent":{"type":"number","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":{"title":"automatic_tax_config","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Default settings for automatic tax computation.","x-stripeMostCommon":["enabled","liability"]},"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["automatic","phase_start"]},"billing_thresholds":{"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.","anyOf":[{"title":"billing_thresholds_param","type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to advance to a new billing period"},"reset_billing_cycle_anchor":{"type":"boolean","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."}},"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},{"type":"string","enum":[""]}]},"collection_method":{"type":"string","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"]},"default_payment_method":{"maxLength":5000,"type":"string","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."},"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"invoice_settings":{"title":"subscription_schedule_default_settings_param","type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"days_until_due":{"type":"integer","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`."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["account_tax_ids","custom_fields","days_until_due","description","footer","issuer","rendering","send_hosted_payment_email","supported_payment_methods"]},"on_behalf_of":{"description":"The account on behalf of which to charge, for each of the associated subscription's invoices.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"transfer_data":{"description":"The data with which to automatically create a Transfer for each of the associated subscription's invoices.","anyOf":[{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"x-stripeMostCommon":["amount_percent","destination"]},{"type":"string","enum":[""]}]}},"description":"Object representing the subscription schedule's default settings.","x-stripeMostCommon":["application_fee_percent","automatic_tax","billing_cycle_anchor","billing_thresholds","collection_method","default_payment_method","description","invoice_settings","on_behalf_of","phase_effective_at","transfer_data"]},"end_behavior":{"type":"string","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"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"phases":{"type":"array","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":{"title":"phase_configuration_params","required":["items"],"type":"object","properties":{"add_invoice_items":{"type":"array","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":{"title":"add_invoice_item_entry","type":"object","properties":{"discounts":{"type":"array","description":"The coupons to redeem into discounts for the item.","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"title":"invoice_item_period","required":["end","start"],"type":"object","properties":{"end":{"title":"invoice_item_period_end","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the end of the invoice item period.","enum":["min_item_period_end","phase_end","timestamp"],"x-stripeBypassValidation":true}},"description":"End of the invoice item period.","x-stripeMostCommon":["timestamp","type"]},"start":{"title":"invoice_item_period_start","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the start of the invoice item period.","enum":["max_item_period_start","phase_start","timestamp"],"x-stripeBypassValidation":true}},"description":"Start of the invoice item period.","x-stripeMostCommon":["timestamp","type"]}},"description":"The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.","x-stripeMostCommon":["end","start"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"one_time_price_data_with_negative_amounts","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item. Defaults to 1."},"tax_rates":{"description":"The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["price","quantity"],"x-stripeParam":{"class_name":"AddInvoiceItem"}}},"application_fee_percent":{"type":"number","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":{"title":"automatic_tax_config","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Automatic tax settings for this phase.","x-stripeMostCommon":["enabled","liability"]},"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["automatic","phase_start"]},"billing_thresholds":{"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.","anyOf":[{"title":"billing_thresholds_param","type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to advance to a new billing period"},"reset_billing_cycle_anchor":{"type":"boolean","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."}},"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},{"type":"string","enum":[""]}]},"collection_method":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"default_payment_method":{"maxLength":5000,"type":"string","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."},"default_tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://docs.stripe.com/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"discounts":{"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.","anyOf":[{"type":"array","items":{"title":"schedule_discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"duration":{"title":"duration_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies phase duration. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","description":"The multiplier applied to the interval."}},"description":"The number of intervals the phase should last. If set, `end_date` must not be set.","x-stripeMostCommon":["interval","interval_count"]},"end_date":{"description":"The date at which this phase of the subscription schedule ends. If set, `duration` must not be set.","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]},"invoice_settings":{"title":"invoice_settings","type":"object","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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"days_until_due":{"type":"integer","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`."},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["account_tax_ids","custom_fields","days_until_due","description","footer","issuer","send_hosted_payment_email","supported_payment_methods"]},"items":{"type":"array","description":"List of configuration items, each with an attached price, to apply during this phase of the subscription schedule.","items":{"title":"configuration_item_params","type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"schedule_discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"plan":{"maxLength":5000,"type":"string","description":"The plan ID to subscribe to. You may specify the same ID in `plan` and `price`."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["billing_thresholds","discounts","metadata","plan","price","quantity","tax_rates","trial","trial_offer"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"on_behalf_of":{"type":"string","description":"The account on behalf of which to charge, for each of the associated subscription's invoices."},"proration_behavior":{"type":"string","description":"Controls whether the subscription schedule should create [prorations](https://docs.stripe.com/billing/subscriptions/prorations) when transitioning to this phase if there is a difference in billing configuration. It's different from the request-level [proration_behavior](https://docs.stripe.com/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration (item price, quantity, etc.) of the current phase.","enum":["always_invoice","create_prorations","none"]},"start_date":{"description":"The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase.","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]},"transfer_data":{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"description":"The data with which to automatically create a Transfer for each of the associated subscription's invoices.","x-stripeMostCommon":["amount_percent","destination"]},"trial":{"type":"boolean","description":"If set to true the entire phase is counted as a trial and the customer will not be charged for any fees."},"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`","anyOf":[{"type":"integer","format":"unix-time"},{"maxLength":5000,"type":"string","enum":["now"]}]}},"x-stripeMostCommon":["add_invoice_items","application_fee_percent","automatic_tax","billing_cycle_anchor","billing_thresholds","collection_method","currency","default_payment_method","default_tax_rates","description","discounts","duration","effective_at","end_date","invoice_settings","items","metadata","on_behalf_of","pause_collection","proration_behavior","start_date","tax_filing_currency","transfer_data","trial","trial_continuation","trial_end","trial_settings"]}},"proration_behavior":{"type":"string","description":"If the update changes the billing configuration (item price, quantity, etc.) of the current phase, indicates how prorations from this change should be handled. The default value is `create_prorations`.","enum":["always_invoice","create_prorations","none"]}},"additionalProperties":false,"x-stripeMostCommon":["metadata","phases","proration_behavior"]},"encoding":{"default_settings":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"phases":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_schedule"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscription_schedules/{schedule}/cancel":{"post":{"summary":"Cancel a schedule","description":"

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 not_started or active.

","operationId":"PostSubscriptionSchedulesScheduleCancel","parameters":[{"name":"schedule","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_now":{"type":"boolean","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`."},"prorate":{"type":"boolean","description":"If the subscription schedule is `active`, indicates if the cancellation should be prorated. Defaults to `true`."}},"additionalProperties":false,"x-stripeMostCommon":["invoice_now"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_schedule"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscription_schedules/{schedule}/release":{"post":{"summary":"Release a schedule","description":"

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 not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription’s ID to the released_subscription property.

","operationId":"PostSubscriptionSchedulesScheduleRelease","parameters":[{"name":"schedule","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"preserve_cancel_date":{"type":"boolean","description":"Keep any cancellation on the subscription that the schedule has set"}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription_schedule"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscriptions":{"get":{"summary":"List subscriptions","description":"

By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled.

","operationId":"GetSubscriptions","parameters":[{"name":"automatic_tax","in":"query","description":"Filter subscriptions by their automatic tax settings.","required":false,"style":"deepObject","explode":true,"schema":{"title":"automatic_tax_filter_params","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."}},"x-stripeMostCommon":["enabled"]}},{"name":"collection_method","in":"query","description":"The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["charge_automatically","send_invoice"]}},{"name":"created","in":"query","description":"Only return subscriptions that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"current_period_end","in":"query","description":"Only return subscriptions whose minimum item current_period_end falls within the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"current_period_start","in":"query","description":"Only return subscriptions whose maximum item current_period_start falls within the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"The ID of the customer whose subscriptions you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"customer_account","in":"query","description":"The ID of the account representing the customer whose subscriptions you're retrieving.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"plan","in":"query","description":"The ID of the plan whose subscriptions will be retrieved.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"price","in":"query","description":"Filter for subscriptions that contain this recurring price ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","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://docs.stripe.com/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.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","all","canceled","ended","incomplete","incomplete_expired","past_due","paused","trialing","unpaid"]}},{"name":"test_clock","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SubscriptionsSubscriptionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/subscription"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/subscriptions","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a subscription","description":"

Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions.

\n\n

When you create a subscription with collection_method=charge_automatically, the first invoice is finalized as part of the request.\nThe payment_behavior parameter determines the exact behavior of the initial payment.

\n\n

To start subscriptions where the first invoice always begins in a draft status, use subscription schedules instead.\nSchedules provide the flexibility to model more complex billing configurations that change over time.

","operationId":"PostSubscriptions","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"add_invoice_items":{"type":"array","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":{"title":"add_invoice_item_entry","type":"object","properties":{"discounts":{"type":"array","description":"The coupons to redeem into discounts for the item.","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"title":"invoice_item_period","required":["end","start"],"type":"object","properties":{"end":{"title":"invoice_item_period_end","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the end of the invoice item period.","enum":["min_item_period_end","timestamp"],"x-stripeBypassValidation":true}},"description":"End of the invoice item period.","x-stripeMostCommon":["timestamp","type"]},"start":{"title":"invoice_item_period_start","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the start of the invoice item period.","enum":["max_item_period_start","now","timestamp"],"x-stripeBypassValidation":true}},"description":"Start of the invoice item period.","x-stripeMostCommon":["timestamp","type"]}},"description":"The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.","x-stripeMostCommon":["end","start"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"one_time_price_data_with_negative_amounts","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item. Defaults to 1."},"tax_rates":{"description":"The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["price","quantity"],"x-stripeParam":{"class_name":"AddInvoiceItem"}}},"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).","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"automatic_tax":{"title":"automatic_tax_config","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Automatic tax settings for this subscription.","x-stripeMostCommon":["enabled","liability"]},"backdate_start_date":{"type":"integer","description":"A past timestamp to backdate the subscription's start date to. If set, the first invoice will contain line items for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor.","format":"unix-time"},"billing_cycle_anchor":{"type":"integer","description":"A future timestamp in UTC format to anchor the subscription's [billing cycle](https://docs.stripe.com/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","x-stripeBypassValidation":true},"billing_cycle_anchor_config":{"title":"cycle_anchor_config_param","required":["day_of_month"],"type":"object","properties":{"day_of_month":{"type":"integer","description":"The day of the month the anchor should be. Ranges from 1 to 31."},"hour":{"type":"integer","description":"The hour of the day the anchor should be. Ranges from 0 to 23."},"minute":{"type":"integer","description":"The minute of the hour the anchor should be. Ranges from 0 to 59."},"month":{"type":"integer","description":"The month to start full cycle periods. Ranges from 1 to 12."},"second":{"type":"integer","description":"The second of the minute the anchor should be. Ranges from 0 to 59."}},"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 occurrence of the day_of_month at the hour, minute, and second UTC.","x-stripeMostCommon":["day_of_month","hour","minute","month","second"]},"billing_mode":{"title":"billing_mode","required":["type"],"type":"object","properties":{"flexible":{"title":"flexible_params","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"Configure behavior for flexible billing mode.","x-stripeMostCommon":["proration_discounts"]},"type":{"type":"string","description":"Controls the calculation and orchestration of prorations and invoices for subscriptions. If no value is passed, the default is `flexible`.","enum":["classic","flexible"]}},"description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","x-stripeMostCommon":["flexible","type"]},"billing_thresholds":{"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.","anyOf":[{"title":"billing_thresholds_param","type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to advance to a new billing period"},"reset_billing_cycle_anchor":{"type":"boolean","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."}},"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":["max_period_end","min_period_end"]}]},"cancel_at_period_end":{"type":"boolean","description":"Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`."},"collection_method":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","description":"The identifier of the customer to subscribe."},"customer_account":{"maxLength":5000,"type":"string","description":"The identifier of the account representing the customer to subscribe."},"days_until_due":{"type":"integer","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`."},"default_payment_method":{"maxLength":5000,"type":"string","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://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source)."},"default_source":{"maxLength":5000,"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://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_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.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"description":{"maxLength":500,"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":{"description":"The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_settings":{"title":"invoice_settings_param","type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["account_tax_ids","custom_fields","description","footer","issuer","rendering","send_hosted_payment_email","supported_payment_methods"]},"items":{"type":"array","description":"A list of up to 20 subscription items, each with an attached price.","items":{"title":"subscription_item_create_params","type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","description":"Plan ID for this item, as a string."},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["billing_thresholds","current_trial","discounts","metadata","plan","price","quantity","tax_rates","trial"]}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"off_session":{"type":"boolean","description":"Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session)."},"on_behalf_of":{"description":"The account on behalf of which to charge, for each of the subscription's invoices.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"payment_behavior":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/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"]},"payment_settings":{"title":"payment_settings","type":"object","properties":{"payment_method_options":{"title":"payment_method_options","type":"object","properties":{"acss_debit":{"description":"This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["transaction_type"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["mandate_options","verification_method"]},{"type":"string","enum":[""]}]},"bancontact":{"description":"This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]}},"x-stripeMostCommon":["preferred_language"]},{"type":"string","enum":[""]}]},"card":{"description":"This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","description"]},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"]}},"x-stripeMostCommon":["mandate_options","mit_exemption","network","network_options","request_three_d_secure"]},{"type":"string","enum":[""]}]},"customer_balance":{"description":"This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_param","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"type":{"type":"string","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`."}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_transfer","type"]},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`."}},"x-stripeMostCommon":["bank_transfer","funding_type"]},{"type":"string","enum":[""]}]},"konbini":{"description":"This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"type":"string","enum":[""]}]},"payto":{"description":"This sub-hash contains details about the PayTo payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"The maximum amount that can be collected in a single invoice. If you don't specify a maximum, then there is no limit."},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"Additional fields for Mandate creation.","x-stripeMostCommon":["amount","purpose"]}},"x-stripeMostCommon":["mandate_options"]},{"type":"string","enum":[""]}]},"sepa_debit":{"description":"This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["verification_method"]},{"type":"string","enum":[""]}]},"us_bank_account":{"description":"This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"invoice_linked_account_options_param","type":"object","properties":{"filters":{"title":"invoice_linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","permissions","prefetch"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","verification_method"]},{"type":"string","enum":[""]}]}},"description":"Payment-method-specific configuration to provide to invoices created by the subscription.","x-stripeMostCommon":["acss_debit","bancontact","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account"]},"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). Should not be specified with payment_method_configuration","anyOf":[{"type":"array","items":{"type":"string","enum":["ach_credit_transfer","ach_debit","acss_debit","affirm","amazon_pay","au_becs_debit","bacs_debit","bancontact","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","promptpay","revolut_pay","sepa_credit_transfer","sepa_debit","sofort","swish","us_bank_account","wechat_pay"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]},"save_default_payment_method":{"type":"string","description":"Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.","enum":["off","on_subscription"]}},"description":"Payment settings to pass to invoices created by the subscription.","x-stripeMostCommon":["payment_method_configuration","payment_method_options","payment_method_types","save_default_payment_method"]},"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](/api/invoices/create) for the given subscription at the specified interval.","anyOf":[{"title":"pending_invoice_item_interval_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"x-stripeMostCommon":["interval","interval_count"]},{"type":"string","enum":[""]}]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/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"]},"transfer_data":{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"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.","x-stripeMostCommon":["amount_percent","destination"]},"trial_end":{"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://docs.stripe.com/billing/subscriptions/trials) to learn more.","anyOf":[{"maxLength":5000,"type":"string","enum":["now"]},{"type":"integer","format":"unix-time"}]},"trial_from_plan":{"type":"boolean","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://docs.stripe.com/billing/subscriptions/trials) to learn more."},"trial_period_days":{"type":"integer","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://docs.stripe.com/billing/subscriptions/trials) to learn more."},"trial_settings":{"title":"trial_settings_config","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"title":"end_behavior","required":["missing_payment_method"],"type":"object","properties":{"missing_payment_method":{"type":"string","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"]}},"description":"Defines how the subscription should behave when the user's free trial ends.","x-stripeMostCommon":["billing_cycle_anchor","missing_payment_method"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"additionalProperties":false,"x-stripeMostCommon":["automatic_tax","currency","customer","customer_account","default_payment_method","description","items","metadata","payment_behavior"]},"encoding":{"add_invoice_items":{"style":"deepObject","explode":true},"application_fee_percent":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"billing_cycle_anchor_config":{"style":"deepObject","explode":true},"billing_mode":{"style":"deepObject","explode":true},"billing_thresholds":{"style":"deepObject","explode":true},"cancel_at":{"style":"deepObject","explode":true},"default_tax_rates":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"invoice_settings":{"style":"deepObject","explode":true},"items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"payment_settings":{"style":"deepObject","explode":true},"pending_invoice_item_interval":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true},"trial_end":{"style":"deepObject","explode":true},"trial_settings":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscriptions/search":{"get":{"summary":"Search subscriptions","description":"

Search for subscriptions you’ve previously created using Stripe’s Search Query Language.\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.

","operationId":"GetSubscriptionsSearch","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"page","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"query","in":"query","description":"The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for subscriptions](https://docs.stripe.com/search#query-fields-for-subscriptions).","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"SearchResult","required":["data","has_more","next_page","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/subscription"}},"has_more":{"type":"boolean"},"next_page":{"maxLength":5000,"type":"string","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["search_result"]},"total_count":{"type":"integer","description":"The total number of objects that match the query, only accurate up to 10,000."},"url":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","next_page","object","total_count","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscriptions/{subscription_exposed_id}":{"get":{"summary":"Retrieve a subscription","description":"

Retrieves the subscription with the given ID.

","operationId":"GetSubscriptionsSubscriptionExposedId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"subscription_exposed_id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a subscription","description":"

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 create preview endpoint.

\n\n

By default, we prorate subscription changes. For example, if a customer signs up on May 1 for a 100 price, they’ll be billed 100 immediately. If on May 15 they switch to a 200 price, then on June 1 they’ll be billed 250 (200 for a renewal of her subscription, plus a 50 prorating adjustment for half of the previous month’s 100 difference). Similarly, a downgrade generates a credit that is applied to the next invoice. We also prorate when you make quantity changes.

\n\n

Switching prices does not normally change the billing date or generate an immediate charge unless:

\n\n\n\n

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 Stripe immediately attempts payment for subscription changes.

\n\n

If you want to charge for an upgrade immediately, pass proration_behavior as always_invoice to create prorations, automatically invoice the customer for those proration adjustments, and attempt to collect payment. If you pass create_prorations, 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 invoice the customer.

\n\n

If you don’t want to prorate, set the proration_behavior option to none. With this option, the customer is billed 100 on May 1 and 200 on June 1. Similarly, if you set proration_behavior to none 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.

\n\n

Updating the quantity on a subscription many times in an hour may result in rate limiting. If you need to bill for a frequently changing quantity, consider integrating usage-based billing instead.

","operationId":"PostSubscriptionsSubscriptionExposedId","parameters":[{"name":"subscription_exposed_id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"add_invoice_items":{"type":"array","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":{"title":"add_invoice_item_entry","type":"object","properties":{"discounts":{"type":"array","description":"The coupons to redeem into discounts for the item.","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"title":"invoice_item_period","required":["end","start"],"type":"object","properties":{"end":{"title":"invoice_item_period_end","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the end of the invoice item period.","enum":["min_item_period_end","timestamp"],"x-stripeBypassValidation":true}},"description":"End of the invoice item period.","x-stripeMostCommon":["timestamp","type"]},"start":{"title":"invoice_item_period_start","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the start of the invoice item period.","enum":["max_item_period_start","now","timestamp"],"x-stripeBypassValidation":true}},"description":"Start of the invoice item period.","x-stripeMostCommon":["timestamp","type"]}},"description":"The period associated with this invoice item. If not set, `period.start.type` defaults to `max_item_period_start` and `period.end.type` defaults to `min_item_period_end`.","x-stripeMostCommon":["end","start"]},"price":{"maxLength":5000,"type":"string","description":"The ID of the price object. One of `price` or `price_data` is required."},"price_data":{"title":"one_time_price_data_with_negative_amounts","required":["currency","product"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","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."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item. Defaults to 1."},"tax_rates":{"description":"The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["price","quantity"],"x-stripeParam":{"class_name":"AddInvoiceItem"}}},"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).","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"automatic_tax":{"title":"automatic_tax_config","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enabled automatic tax calculation which will automatically compute tax rates on all invoices generated by the subscription."},"liability":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"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.","x-stripeMostCommon":["account","type"]}},"description":"Automatic tax settings for this subscription. We recommend you only include this parameter when the existing value is being changed.","x-stripeMostCommon":["enabled","liability"]},"billing_cycle_anchor":{"maxLength":5000,"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["now","unchanged"],"x-stripeBypassValidation":true},"billing_thresholds":{"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.","anyOf":[{"title":"billing_thresholds_param","type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to advance to a new billing period"},"reset_billing_cycle_anchor":{"type":"boolean","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."}},"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},{"type":"string","enum":[""]}]},"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.","anyOf":[{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]},{"type":"string","enum":["max_period_end","min_period_end"]}]},"cancel_at_period_end":{"type":"boolean","description":"Indicate whether this subscription should cancel at the end of the current period (`current_period_end`). Defaults to `false`."},"cancellation_details":{"title":"cancellation_details_param","type":"object","properties":{"comment":{"description":"Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"feedback":{"type":"string","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"]}},"description":"Details about why this subscription was cancelled","x-stripeMostCommon":["comment","feedback","feedback_option"]},"collection_method":{"type":"string","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"]},"days_until_due":{"type":"integer","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`."},"default_payment_method":{"maxLength":5000,"type":"string","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://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source)."},"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://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"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. Pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"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.","anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]},"discounts":{"description":"The coupons to redeem into discounts for the subscription. If not specified or empty, inherits the discount from the subscription's customer.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_settings":{"title":"invoice_settings_param","type":"object","properties":{"account_tax_ids":{"description":"The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"issuer":{"title":"param","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"The connected account being referenced when `type` is `account`."},"type":{"type":"string","description":"Type of the account referenced in the request.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","x-stripeMostCommon":["account","type"]}},"description":"All invoices will be billed using the specified settings.","x-stripeMostCommon":["account_tax_ids","custom_fields","description","footer","issuer","rendering","send_hosted_payment_email","supported_payment_methods"]},"items":{"type":"array","description":"A list of up to 20 subscription items, each with an attached price.","items":{"title":"subscription_item_update_params","type":"object","properties":{"billing_thresholds":{"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.","anyOf":[{"title":"item_billing_thresholds_param","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","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://docs.stripe.com/api/subscriptions/update#update_subscription-billing_thresholds-amount_gte))"}},"x-stripeMostCommon":["usage_gte"]},{"type":"string","enum":[""]}]},"clear_usage":{"type":"boolean","description":"Delete all usage for a given subscription item. You must pass this when deleting a usage records subscription item. `clear_usage` has no effect if the plan has a billing meter attached."},"deleted":{"type":"boolean","description":"A flag that, if set to `true`, will delete the specified item."},"discounts":{"description":"The coupons to redeem into discounts for the subscription item.","anyOf":[{"type":"array","items":{"title":"discounts_data_param","type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"ID of the coupon to create a new discount for."},"discount":{"maxLength":5000,"type":"string","description":"ID of an existing discount on the object (or one of its ancestors) to reuse."},"promotion_code":{"maxLength":5000,"type":"string","description":"ID of the promotion code to create a new discount for."}},"x-stripeMostCommon":["coupon","settings"]}},{"type":"string","enum":[""]}]},"id":{"maxLength":5000,"type":"string","description":"Subscription item to update."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"plan":{"maxLength":5000,"type":"string","description":"Plan ID for this item, as a string."},"price":{"maxLength":5000,"type":"string","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."},"price_data":{"title":"recurring_price_data","required":["currency","product","recurring"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"product":{"maxLength":5000,"type":"string","description":"The ID of the [Product](https://docs.stripe.com/api/products) that this [Price](https://docs.stripe.com/api/prices) will belong to."},"recurring":{"title":"recurring_adhoc","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies billing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"The recurring components of a price such as `interval` and `interval_count`.","x-stripeMostCommon":["interval"]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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"]},"unit_amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) (or 0 for a free price) representing how much to charge."},"unit_amount_decimal":{"type":"string","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"}},"description":"Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.","x-stripeMostCommon":["currency","product","recurring","unit_amount"]},"quantity":{"type":"integer","description":"Quantity for this item."},"tax_rates":{"description":"A list of [Tax Rate](https://docs.stripe.com/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://docs.stripe.com/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["billing_thresholds","clear_usage","current_trial","deleted","discounts","id","metadata","plan","price","quantity","service_starts_at","tax_rates"]}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"off_session":{"type":"boolean","description":"Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `false` (on-session)."},"on_behalf_of":{"description":"The account on behalf of which to charge, for each of the subscription's invoices.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"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://docs.stripe.com/billing/subscriptions/pause-payment).","anyOf":[{"title":"pause_collection_param","required":["behavior"],"type":"object","properties":{"behavior":{"type":"string","description":"The payment collection behavior for this subscription while paused.","enum":["keep_as_draft","mark_uncollectible","void"]},"resumes_at":{"type":"integer","description":"The time after which the subscription will resume collecting payments.","format":"unix-time"}},"x-stripeMostCommon":["behavior","resumes_at"]},{"type":"string","enum":[""]}]},"payment_behavior":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://docs.stripe.com/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://docs.stripe.com/changelog/2019-03-14) to learn more.","enum":["allow_incomplete","default_incomplete","error_if_incomplete","pending_if_incomplete"]},"payment_settings":{"title":"payment_settings","type":"object","properties":{"payment_method_options":{"title":"payment_method_options","type":"object","properties":{"acss_debit":{"description":"This sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"Additional fields for Mandate creation","x-stripeMostCommon":["transaction_type"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["mandate_options","verification_method"]},{"type":"string","enum":[""]}]},"bancontact":{"description":"This sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]}},"x-stripeMostCommon":["preferred_language"]},{"type":"string","enum":[""]}]},"card":{"description":"This sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"subscription_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."}},"description":"Configuration options for setting up an eMandate for cards issued in India.","x-stripeMostCommon":["amount","amount_type","description"]},"network":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"]}},"x-stripeMostCommon":["mandate_options","mit_exemption","network","network_options","request_three_d_secure"]},{"type":"string","enum":[""]}]},"customer_balance":{"description":"This sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"bank_transfer":{"title":"bank_transfer_param","type":"object","properties":{"eu_bank_transfer":{"title":"eu_bank_transfer_param","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`."}},"description":"Configuration for eu_bank_transfer funding type.","x-stripeMostCommon":["country"]},"type":{"type":"string","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`."}},"description":"Configuration for the bank transfer funding type, if the `funding_type` is set to `bank_transfer`.","x-stripeMostCommon":["eu_bank_transfer","id_bank_transfer","type"]},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`."}},"x-stripeMostCommon":["bank_transfer","funding_type"]},{"type":"string","enum":[""]}]},"konbini":{"description":"This sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{}},{"type":"string","enum":[""]}]},"payto":{"description":"This sub-hash contains details about the PayTo payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"mandate_options":{"title":"mandate_options_param","type":"object","properties":{"amount":{"type":"integer","description":"The maximum amount that can be collected in a single invoice. If you don't specify a maximum, then there is no limit."},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"Additional fields for Mandate creation.","x-stripeMostCommon":["amount","purpose"]}},"x-stripeMostCommon":["mandate_options"]},{"type":"string","enum":[""]}]},"sepa_debit":{"description":"This sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{},"x-stripeMostCommon":["verification_method"]},{"type":"string","enum":[""]}]},"us_bank_account":{"description":"This sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.","anyOf":[{"title":"invoice_payment_method_options_param","type":"object","properties":{"financial_connections":{"title":"invoice_linked_account_options_param","type":"object","properties":{"filters":{"title":"invoice_linked_account_options_filters_param","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.","items":{"type":"string","enum":["checking","savings"]}}},"description":"Provide filters for the linked accounts that the customer can select for the payment method.","x-stripeMostCommon":["account_subcategories","institution"]},"permissions":{"type":"array","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":{"maxLength":5000,"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"List of data features that you would like to retrieve upon account creation.","items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}}},"description":"Additional fields for Financial Connections Session creation","x-stripeMostCommon":["filters","permissions","prefetch"]},"verification_method":{"type":"string","description":"Verification method for the intent","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"x-stripeMostCommon":["financial_connections","verification_method"]},{"type":"string","enum":[""]}]}},"description":"Payment-method-specific configuration to provide to invoices created by the subscription.","x-stripeMostCommon":["acss_debit","bancontact","card","customer_balance","id_bank_transfer","konbini","payto","pix","sepa_debit","upi","us_bank_account"]},"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). Should not be specified with payment_method_configuration","anyOf":[{"type":"array","items":{"type":"string","enum":["ach_credit_transfer","ach_debit","acss_debit","affirm","amazon_pay","au_becs_debit","bacs_debit","bancontact","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","promptpay","revolut_pay","sepa_credit_transfer","sepa_debit","sofort","swish","us_bank_account","wechat_pay"],"x-stripeBypassValidation":true}},{"type":"string","enum":[""]}]},"save_default_payment_method":{"type":"string","description":"Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off` if unspecified.","enum":["off","on_subscription"]}},"description":"Payment settings to pass to invoices created by the subscription.","x-stripeMostCommon":["payment_method_configuration","payment_method_options","payment_method_types","save_default_payment_method"]},"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](/api/invoices/create) for the given subscription at the specified interval.","anyOf":[{"title":"pending_invoice_item_interval_params","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"x-stripeMostCommon":["interval","interval_count"]},{"type":"string","enum":[""]}]},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/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"]},"proration_date":{"type":"integer","description":"If set, prorations will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same prorations that were previewed with the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint. `proration_date` 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"},"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. This will be unset if you POST an empty value.","anyOf":[{"title":"transfer_data_specs","required":["destination"],"type":"object","properties":{"amount_percent":{"type":"number","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."},"destination":{"type":"string","description":"ID of an existing, connected Stripe account."}},"x-stripeMostCommon":["amount_percent","destination"]},{"type":"string","enum":[""]}]},"trial_end":{"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 `billing_cycle_anchor` will be updated to the `trial_end` value. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`.","anyOf":[{"maxLength":5000,"type":"string","enum":["now"]},{"type":"integer","format":"unix-time"}]},"trial_from_plan":{"type":"boolean","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://docs.stripe.com/billing/subscriptions/trials) to learn more."},"trial_settings":{"title":"trial_settings_config","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"title":"end_behavior","required":["missing_payment_method"],"type":"object","properties":{"missing_payment_method":{"type":"string","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"]}},"description":"Defines how the subscription should behave when the user's free trial ends.","x-stripeMostCommon":["billing_cycle_anchor","missing_payment_method"]}},"description":"Settings related to subscription trials.","x-stripeMostCommon":["end_behavior"]}},"additionalProperties":false,"x-stripeMostCommon":["automatic_tax","default_payment_method","description","items","metadata","payment_behavior","proration_behavior"]},"encoding":{"add_invoice_items":{"style":"deepObject","explode":true},"application_fee_percent":{"style":"deepObject","explode":true},"automatic_tax":{"style":"deepObject","explode":true},"billing_thresholds":{"style":"deepObject","explode":true},"cancel_at":{"style":"deepObject","explode":true},"cancellation_details":{"style":"deepObject","explode":true},"default_source":{"style":"deepObject","explode":true},"default_tax_rates":{"style":"deepObject","explode":true},"description":{"style":"deepObject","explode":true},"discounts":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"invoice_settings":{"style":"deepObject","explode":true},"items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"on_behalf_of":{"style":"deepObject","explode":true},"pause_collection":{"style":"deepObject","explode":true},"payment_settings":{"style":"deepObject","explode":true},"pending_invoice_item_interval":{"style":"deepObject","explode":true},"transfer_data":{"style":"deepObject","explode":true},"trial_end":{"style":"deepObject","explode":true},"trial_settings":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Cancel a subscription","description":"

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 metadata.

\n\n

Any pending invoice items that you’ve created are still charged at the end of the period, unless manually deleted. 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 if invoice_now and prorate are both set to true.

\n\n

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.

","operationId":"DeleteSubscriptionsSubscriptionExposedId","parameters":[{"name":"subscription_exposed_id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"cancellation_details":{"title":"cancellation_details_param","type":"object","properties":{"comment":{"description":"Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"feedback":{"type":"string","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"]}},"description":"Details about why this subscription was cancelled","x-stripeMostCommon":["comment","feedback","feedback_option"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"invoice_now":{"type":"boolean","description":"Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `false`."},"prorate":{"type":"boolean","description":"Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`."}},"additionalProperties":false},"encoding":{"cancellation_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscriptions/{subscription_exposed_id}/discount":{"delete":{"summary":"Delete a subscription discount","description":"

Removes the currently applied discount on a subscription.

","operationId":"DeleteSubscriptionsSubscriptionExposedIdDiscount","parameters":[{"name":"subscription_exposed_id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_discount"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscriptions/{subscription}/migrate":{"post":{"summary":"Migrate a subscription","description":"

Upgrade the billing_mode of an existing subscription.

","operationId":"PostSubscriptionsSubscriptionMigrate","parameters":[{"name":"subscription","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["billing_mode"],"type":"object","properties":{"billing_mode":{"title":"billing_mode_migrate","required":["type"],"type":"object","properties":{"flexible":{"title":"flexible_params","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"Configure behavior for flexible billing mode.","x-stripeMostCommon":["proration_discounts"]},"type":{"type":"string","description":"Controls the calculation and orchestration of prorations and invoices for subscriptions.","enum":["flexible"]}},"description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","x-stripeMostCommon":["flexible","type"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["billing_mode"]},"encoding":{"billing_mode":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/subscriptions/{subscription}/resume":{"post":{"summary":"Resume a subscription","description":"

Initiates resumption of a paused subscription, optionally resetting the billing cycle anchor and creating prorations. If no resumption invoice is generated, the subscription becomes active immediately. If a resumption invoice is generated, the subscription remains paused until the invoice is paid or marked uncollectible. If the invoice is not paid by the expiration date, it is voided and the subscription remains paused.

","operationId":"PostSubscriptionsSubscriptionResume","parameters":[{"name":"subscription","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["now","unchanged"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"proration_behavior":{"type":"string","description":"Determines how to handle [prorations](https://docs.stripe.com/billing/subscriptions/prorations) resulting from the `billing_cycle_anchor` being `unchanged`. When the `billing_cycle_anchor` is set to `now` (default value), no prorations are generated. If no value is passed, the default is `create_prorations`.","enum":["always_invoice","create_prorations","none"]},"proration_date":{"type":"integer","description":"If set, prorations will be calculated as though the subscription was resumed at the given time. This can be used to apply exactly the same prorations that were previewed with the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint.","format":"unix-time"}},"additionalProperties":false,"x-stripeMostCommon":["billing_cycle_anchor","proration_behavior"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/associations/find":{"get":{"summary":"Find a Tax Association","description":"

Finds a tax association object by PaymentIntent id.

","operationId":"GetTaxAssociationsFind","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"payment_intent","in":"query","description":"Valid [PaymentIntent](https://docs.stripe.com/api/payment_intents/object) id","required":true,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.association"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/calculations":{"post":{"summary":"Create a Tax Calculation","description":"

Calculates tax based on the input and returns a Tax Calculation object.

","operationId":"PostTaxCalculations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["currency","line_items"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","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`."},"customer_details":{"title":"customer_details","type":"object","properties":{"address":{"title":"postal_address","required":["country"],"type":"object","properties":{"city":{"description":"City, district, suburb, town, or village.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"description":"Address line 1, such as the street, PO Box, or company name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"line2":{"description":"Address line 2, such as the apartment, suite, unit, or building.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"postal_code":{"description":"ZIP or postal code.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"state":{"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.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"The customer's postal address (for example, home or business location).","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_source":{"type":"string","description":"The type of customer address provided.","enum":["billing","shipping"]},"ip_address":{"type":"string","description":"The customer's IP address (IPv4 or IPv6)."},"tax_ids":{"type":"array","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":{"title":"data_params","required":["type","value"],"type":"object","properties":{"type":{"maxLength":5000,"type":"string","description":"Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"],"x-stripeBypassValidation":true},"value":{"type":"string","description":"Value of the tax ID."}},"x-stripeMostCommon":["type","value"]}},"taxability_override":{"type":"string","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"]}},"description":"Details about the customer, including address and tax IDs.","x-stripeMostCommon":["address","address_source","ip_address","tax_ids","taxability_override"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"line_items":{"type":"array","description":"A list of items the customer is purchasing.","items":{"title":"calculation_line_item","required":["amount"],"type":"object","properties":{"amount":{"type":"integer","description":"A positive integer representing the line item's total price in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).\nIf `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"product":{"maxLength":5000,"type":"string","description":"If provided, the product's `tax_code` will be used as the line item's `tax_code`."},"quantity":{"type":"integer","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."},"reference":{"maxLength":500,"type":"string","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://docs.stripe.com/tax/reports)."},"tax_behavior":{"type":"string","description":"Specifies whether the `amount` includes taxes. Defaults to `exclusive`.","enum":["exclusive","inclusive"]},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/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."}},"x-stripeMostCommon":["amount","metadata","performance_location","product","quantity","reference","tax_behavior","tax_code"]}},"ship_from_details":{"title":"ship_from_details","required":["address"],"type":"object","properties":{"address":{"title":"merchant_postal_address","required":["country"],"type":"object","properties":{"city":{"description":"City, district, suburb, town, or village.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"description":"Address line 1, such as the street, PO Box, or company name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"line2":{"description":"Address line 2, such as the apartment, suite, unit, or building.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"postal_code":{"description":"ZIP or postal code.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"state":{"description":"State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix, such as \"NY\" or \"TX\".","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"The address from which the goods are being shipped from.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]}},"description":"Details about the address from which the goods are being shipped.","x-stripeMostCommon":["address"]},"shipping_cost":{"title":"shipping_cost","type":"object","properties":{"amount":{"type":"integer","description":"A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units) representing the shipping charge. If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes are calculated on top of this amount."},"shipping_rate":{"maxLength":5000,"type":"string","description":"If provided, the [shipping rate](https://docs.stripe.com/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."},"tax_behavior":{"type":"string","description":"Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes. Defaults to `exclusive`.","enum":["exclusive","inclusive"]},"tax_code":{"type":"string","description":"The [tax code](https://docs.stripe.com/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."}},"description":"Shipping cost details to be used for the calculation.","x-stripeMostCommon":["amount","shipping_rate","tax_behavior","tax_code"]},"tax_date":{"type":"integer","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."}},"additionalProperties":false,"x-stripeMostCommon":["currency","customer_details","line_items","shipping_cost"]},"encoding":{"customer_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"ship_from_details":{"style":"deepObject","explode":true},"shipping_cost":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.calculation"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/calculations/{calculation}":{"get":{"summary":"Retrieve a Tax Calculation","description":"

Retrieves a Tax Calculation object, if the calculation hasn’t expired.

","operationId":"GetTaxCalculationsCalculation","parameters":[{"name":"calculation","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.calculation"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/calculations/{calculation}/line_items":{"get":{"summary":"Retrieve a calculation's line items","description":"

Retrieves the line items of a tax calculation as a collection, if the calculation hasn’t expired.

","operationId":"GetTaxCalculationsCalculationLineItems","parameters":[{"name":"calculation","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":500,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":500,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TaxProductResourceTaxCalculationLineItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax.calculation_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/tax/calculations/[^/]+/line_items","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/registrations":{"get":{"summary":"List registrations","description":"

Returns a list of Tax Registration objects.

","operationId":"GetTaxRegistrations","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"The status of the Tax Registration.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["active","all","expired","scheduled"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TaxProductRegistrationsResourceTaxRegistrationList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/tax.registration"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/tax/registrations","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a registration","description":"

Creates a new Tax Registration object.

","operationId":"PostTaxRegistrations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["active_from","country","country_options"],"type":"object","properties":{"active_from":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["now"]},{"type":"integer","format":"unix-time"}]},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"country_options":{"title":"country_options","type":"object","properties":{"ae":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in AE.","x-stripeMostCommon":["standard","type"]},"al":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in AL.","x-stripeMostCommon":["standard","type"]},"am":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in AM.","x-stripeMostCommon":["type"]},"ao":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in AO.","x-stripeMostCommon":["standard","type"]},"at":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in AT.","x-stripeMostCommon":["standard","type"]},"au":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in AU.","x-stripeMostCommon":["standard","type"]},"aw":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in AW.","x-stripeMostCommon":["standard","type"]},"az":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in AZ.","x-stripeMostCommon":["type"]},"ba":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in BA.","x-stripeMostCommon":["standard","type"]},"bb":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in BB.","x-stripeMostCommon":["standard","type"]},"bd":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in BD.","x-stripeMostCommon":["standard","type"]},"be":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in BE.","x-stripeMostCommon":["standard","type"]},"bf":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in BF.","x-stripeMostCommon":["standard","type"]},"bg":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in BG.","x-stripeMostCommon":["standard","type"]},"bh":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in BH.","x-stripeMostCommon":["standard","type"]},"bj":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in BJ.","x-stripeMostCommon":["type"]},"bs":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in BS.","x-stripeMostCommon":["standard","type"]},"by":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in BY.","x-stripeMostCommon":["type"]},"ca":{"title":"canada","required":["type"],"type":"object","properties":{"province_standard":{"title":"province_standard","required":["province"],"type":"object","properties":{"province":{"maxLength":5000,"type":"string","description":"Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Options for the provincial tax registration.","x-stripeMostCommon":["province"]},"type":{"type":"string","description":"Type of registration to be created in Canada.","enum":["province_standard","simplified","standard"]}},"description":"Options for the registration in CA.","x-stripeMostCommon":["province_standard","type"]},"cd":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in CD.","x-stripeMostCommon":["standard","type"]},"ch":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in CH.","x-stripeMostCommon":["standard","type"]},"cl":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in CL.","x-stripeMostCommon":["type"]},"cm":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in CM.","x-stripeMostCommon":["type"]},"co":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in CO.","x-stripeMostCommon":["type"]},"cr":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in CR.","x-stripeMostCommon":["type"]},"cv":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in CV.","x-stripeMostCommon":["type"]},"cy":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in CY.","x-stripeMostCommon":["standard","type"]},"cz":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in CZ.","x-stripeMostCommon":["standard","type"]},"de":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in DE.","x-stripeMostCommon":["standard","type"]},"dk":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in DK.","x-stripeMostCommon":["standard","type"]},"ec":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in EC.","x-stripeMostCommon":["type"]},"ee":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in EE.","x-stripeMostCommon":["standard","type"]},"eg":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in EG.","x-stripeMostCommon":["type"]},"es":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in ES.","x-stripeMostCommon":["standard","type"]},"et":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in ET.","x-stripeMostCommon":["standard","type"]},"fi":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in FI.","x-stripeMostCommon":["standard","type"]},"fr":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in FR.","x-stripeMostCommon":["standard","type"]},"gb":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in GB.","x-stripeMostCommon":["standard","type"]},"ge":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in GE.","x-stripeMostCommon":["type"]},"gn":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in GN.","x-stripeMostCommon":["standard","type"]},"gr":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in GR.","x-stripeMostCommon":["standard","type"]},"hr":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in HR.","x-stripeMostCommon":["standard","type"]},"hu":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in HU.","x-stripeMostCommon":["standard","type"]},"id":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in ID.","x-stripeMostCommon":["type"]},"ie":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in IE.","x-stripeMostCommon":["standard","type"]},"in":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in IN.","x-stripeMostCommon":["type"]},"is":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in IS.","x-stripeMostCommon":["standard","type"]},"it":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in IT.","x-stripeMostCommon":["standard","type"]},"jp":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in JP.","x-stripeMostCommon":["standard","type"]},"ke":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in KE.","x-stripeMostCommon":["type"]},"kg":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in KG.","x-stripeMostCommon":["type"]},"kh":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in KH.","x-stripeMostCommon":["type"]},"kr":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in KR.","x-stripeMostCommon":["type"]},"kz":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in KZ.","x-stripeMostCommon":["type"]},"la":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in LA.","x-stripeMostCommon":["type"]},"lk":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in LK.","x-stripeMostCommon":["type"]},"lt":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in LT.","x-stripeMostCommon":["standard","type"]},"lu":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in LU.","x-stripeMostCommon":["standard","type"]},"lv":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in LV.","x-stripeMostCommon":["standard","type"]},"ma":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in MA.","x-stripeMostCommon":["type"]},"md":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in MD.","x-stripeMostCommon":["type"]},"me":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in ME.","x-stripeMostCommon":["standard","type"]},"mk":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in MK.","x-stripeMostCommon":["standard","type"]},"mr":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in MR.","x-stripeMostCommon":["standard","type"]},"mt":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in MT.","x-stripeMostCommon":["standard","type"]},"mx":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in MX.","x-stripeMostCommon":["type"]},"my":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in MY.","x-stripeMostCommon":["type"]},"ng":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in NG.","x-stripeMostCommon":["type"]},"nl":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in NL.","x-stripeMostCommon":["standard","type"]},"no":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in NO.","x-stripeMostCommon":["standard","type"]},"np":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in NP.","x-stripeMostCommon":["type"]},"nz":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in NZ.","x-stripeMostCommon":["standard","type"]},"om":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in OM.","x-stripeMostCommon":["standard","type"]},"pe":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in PE.","x-stripeMostCommon":["type"]},"ph":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in PH.","x-stripeMostCommon":["type"]},"pl":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in PL.","x-stripeMostCommon":["standard","type"]},"pt":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in PT.","x-stripeMostCommon":["standard","type"]},"ro":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in RO.","x-stripeMostCommon":["standard","type"]},"rs":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in RS.","x-stripeMostCommon":["standard","type"]},"ru":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in RU.","x-stripeMostCommon":["type"]},"sa":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in SA.","x-stripeMostCommon":["type"]},"se":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in SE.","x-stripeMostCommon":["standard","type"]},"sg":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in SG.","x-stripeMostCommon":["standard","type"]},"si":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in SI.","x-stripeMostCommon":["standard","type"]},"sk":{"title":"europe","required":["type"],"type":"object","properties":{"standard":{"title":"standard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"Options for the registration in SK.","x-stripeMostCommon":["standard","type"]},"sn":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in SN.","x-stripeMostCommon":["type"]},"sr":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in SR.","x-stripeMostCommon":["standard","type"]},"th":{"title":"thailand","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"],"x-stripeBypassValidation":true}},"description":"Options for the registration in TH.","x-stripeMostCommon":["standard","type"]},"tj":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in TJ.","x-stripeMostCommon":["type"]},"tr":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in TR.","x-stripeMostCommon":["type"]},"tw":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in TW.","x-stripeMostCommon":["type"]},"tz":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in TZ.","x-stripeMostCommon":["type"]},"ua":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in UA.","x-stripeMostCommon":["type"]},"ug":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in UG.","x-stripeMostCommon":["type"]},"us":{"title":"united_states","required":["state","type"],"type":"object","properties":{"local_amusement_tax":{"title":"local_amusement_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `02154` (Arlington Heights), `05248` (Bensenville), `06613` (Bloomington), `10906` (Campton Hills), `14000` (Chicago), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), `64421` (Riverside), `65806` (Roselle), and `68081` (Schiller Park)."}},"description":"Options for the local amusement tax registration.","x-stripeMostCommon":["jurisdiction"]},"local_lease_tax":{"title":"local_lease_tax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago)."}},"description":"Options for the local lease tax registration.","x-stripeMostCommon":["jurisdiction"]},"state":{"maxLength":5000,"type":"string","description":"Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."},"state_sales_tax":{"title":"state_sales_tax","required":["elections"],"type":"object","properties":{"elections":{"type":"array","description":"Elections for the state sales tax registration.","items":{"title":"state_sales_tax_election","required":["type"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","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)."},"type":{"type":"string","description":"The type of the election for the state sales tax registration.","enum":["local_use_tax","simplified_sellers_use_tax","single_local_use_tax"]}},"x-stripeMostCommon":["jurisdiction","type"]}}},"description":"Options for the state sales tax registration.","x-stripeMostCommon":["elections"]},"type":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"Options for the registration in US.","x-stripeMostCommon":["home_rule_tax","local_amusement_tax","local_lease_tax","state","state_sales_tax","type"]},"uy":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in UY.","x-stripeMostCommon":["standard","type"]},"uz":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in UZ.","x-stripeMostCommon":["type"]},"vn":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in VN.","x-stripeMostCommon":["type"]},"za":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in ZA.","x-stripeMostCommon":["standard","type"]},"zm":{"title":"simplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["simplified"]}},"description":"Options for the registration in ZM.","x-stripeMostCommon":["type"]},"zw":{"title":"default","required":["type"],"type":"object","properties":{"standard":{"title":"standard","type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an standard registration.","enum":["inbound_goods","standard"]}},"description":"Options for the standard registration.","x-stripeMostCommon":["place_of_supply_scheme"]},"type":{"type":"string","description":"Type of registration to be created in `country`.","enum":["standard"]}},"description":"Options for the registration in ZW.","x-stripeMostCommon":["standard","type"]}},"description":"Specific options for a registration in the specified `country`.","x-stripeMostCommon":["ae","al","am","ao","at","au","aw","az","ba","bb","bd","be","bf","bg","bh","bj","bs","by","ca","cd","ch","cl","cm","co","cr","cv","cy","cz","de","dk","ec","ee","eg","es","et","fi","fr","gb","ge","gn","gr","hr","hu","id","ie","in","is","it","jp","ke","kg","kh","kr","kz","la","lk","lt","lu","lv","ma","md","me","mk","mr","mt","mx","my","ng","nl","no","np","nz","om","pe","ph","pl","pt","ro","rs","ru","sa","se","sg","si","sk","sn","sr","th","tj","tr","tw","tz","ua","ug","us","uy","uz","vn","za","zm","zw"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","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"}},"additionalProperties":false,"x-stripeMostCommon":["active_from","country","country_options","expires_at"]},"encoding":{"active_from":{"style":"deepObject","explode":true},"country_options":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.registration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/registrations/{id}":{"get":{"summary":"Retrieve a registration","description":"

Returns a Tax Registration object.

","operationId":"GetTaxRegistrationsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.registration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a registration","description":"

Updates an existing Tax Registration object.

\n\n

A registration cannot be deleted after it has been created. If you wish to end a registration you may do so by setting expires_at.

","operationId":"PostTaxRegistrationsId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active_from":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["now"]},{"type":"integer","format":"unix-time"}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"expires_at":{"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.","anyOf":[{"maxLength":5000,"type":"string","enum":["now"]},{"type":"integer","format":"unix-time"},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["active_from","expires_at"]},"encoding":{"active_from":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"expires_at":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.registration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/settings":{"get":{"summary":"Retrieve settings","description":"

Retrieves Tax Settings for a merchant.

","operationId":"GetTaxSettings","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.settings"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update settings","description":"

Updates Tax Settings parameters used in tax calculations. All parameters are editable but none can be removed once set.

","operationId":"PostTaxSettings","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"defaults":{"title":"defaults_param","type":"object","properties":{"tax_behavior":{"type":"string","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"]},"tax_code":{"type":"string","description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID."}},"description":"Default configuration to be used on Stripe Tax calculations.","x-stripeMostCommon":["tax_behavior","tax_code"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"head_office":{"title":"head_office_param","required":["address"],"type":"object","properties":{"address":{"title":"validated_country_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix, such as \"NY\" or \"TX\"."}},"description":"The location of the business for tax purposes.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]}},"description":"The place where your business is located.","x-stripeMostCommon":["address"]}},"additionalProperties":false,"x-stripeMostCommon":["defaults","head_office"]},"encoding":{"defaults":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"head_office":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.settings"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/transactions/create_from_calculation":{"post":{"summary":"Create a transaction from a calculation","description":"

Creates a Tax Transaction from a calculation, if that calculation hasn’t expired. Calculations expire after 90 days.

","operationId":"PostTaxTransactionsCreateFromCalculation","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["calculation","reference"],"type":"object","properties":{"calculation":{"maxLength":5000,"type":"string","description":"Tax Calculation ID to be used as input when creating the transaction."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"posted_at":{"type":"integer","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"},"reference":{"maxLength":500,"type":"string","description":"A custom order or sale identifier, such as 'myOrder_123'. Must be unique across all transactions, including reversals."}},"additionalProperties":false,"x-stripeMostCommon":["calculation","metadata","reference"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/transactions/create_reversal":{"post":{"summary":"Create a reversal transaction","description":"

Partially or fully reverses a previously created Transaction.

","operationId":"PostTaxTransactionsCreateReversal","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["mode","original_transaction","reference"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"flat_amount":{"type":"integer","description":"A flat amount to reverse across the entire transaction, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units) in negative. This value represents the total amount to refund from the transaction, including taxes."},"line_items":{"type":"array","description":"The line item amounts to reverse.","items":{"title":"transaction_line_item_reversal","required":["amount","amount_tax","original_line_item","reference"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount to reverse, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units) in negative."},"amount_tax":{"type":"integer","description":"The amount of tax to reverse, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units) in negative."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"original_line_item":{"maxLength":5000,"type":"string","description":"The `id` of the line item to reverse in the original transaction."},"quantity":{"type":"integer","description":"The quantity reversed. Appears in [tax exports](https://docs.stripe.com/tax/reports), but does not affect the amount of tax reversed."},"reference":{"maxLength":500,"type":"string","description":"A custom identifier for this line item in the reversal transaction, such as 'L1-refund'."}},"x-stripeMostCommon":["amount","amount_tax","metadata","original_line_item","quantity","reference"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mode":{"type":"string","description":"If `partial`, the provided line item or shipping cost amounts are reversed. If `full`, the original transaction is fully reversed.","enum":["full","partial"]},"original_transaction":{"maxLength":5000,"type":"string","description":"The ID of the Transaction to partially or fully reverse."},"reference":{"maxLength":500,"type":"string","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://docs.stripe.com/tax/reports)."},"shipping_cost":{"title":"transaction_shipping_cost_reversal","required":["amount","amount_tax"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount to reverse, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units) in negative."},"amount_tax":{"type":"integer","description":"The amount of tax to reverse, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units) in negative."}},"description":"The shipping cost to reverse.","x-stripeMostCommon":["amount","amount_tax"]}},"additionalProperties":false,"x-stripeMostCommon":["flat_amount","line_items","metadata","mode","original_transaction","reference"]},"encoding":{"expand":{"style":"deepObject","explode":true},"line_items":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"shipping_cost":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/transactions/{transaction}":{"get":{"summary":"Retrieve a transaction","description":"

Retrieves a Tax Transaction object.

","operationId":"GetTaxTransactionsTransaction","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax/transactions/{transaction}/line_items":{"get":{"summary":"Retrieve a transaction's line items","description":"

Retrieves the line items of a committed standalone transaction as a collection.

","operationId":"GetTaxTransactionsTransactionLineItems","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":500,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":500,"type":"string"}},{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TaxProductResourceTaxTransactionLineItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax.transaction_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/tax/transactions/[^/]+/line_items","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax_codes":{"get":{"summary":"List all tax codes","description":"

A list of all tax codes available to add to Products in order to allow specific tax calculations.

","operationId":"GetTaxCodes","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TaxProductResourceTaxCodeList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/tax_code"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax_codes/{id}":{"get":{"summary":"Retrieve a tax code","description":"

Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.

","operationId":"GetTaxCodesId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_code"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax_ids":{"get":{"summary":"List all tax IDs","description":"

Returns a list of tax IDs.

","operationId":"GetTaxIds","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"owner","in":"query","description":"The account or customer the tax ID belongs to. Defaults to `owner[type]=self`.","required":false,"style":"deepObject","explode":true,"schema":{"title":"owner_params","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"Connected Account the tax ID belongs to. Required when `type=account`"},"customer":{"maxLength":5000,"type":"string","description":"Customer the tax ID belongs to. Required when `type=customer`"},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account representing the customer that the tax ID belongs to. Can be used in place of `customer` when `type=customer`"},"type":{"type":"string","description":"Type of owner referenced.","enum":["account","application","customer","self"]}},"x-stripeMostCommon":["account","customer","customer_account","type"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TaxIDsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax_id"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a tax ID","description":"

Creates a new account or customer tax_id object.

","operationId":"PostTaxIds","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["type","value"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"owner":{"title":"owner_params","required":["type"],"type":"object","properties":{"account":{"type":"string","description":"Connected Account the tax ID belongs to. Required when `type=account`"},"customer":{"maxLength":5000,"type":"string","description":"Customer the tax ID belongs to. Required when `type=customer`"},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account representing the customer that the tax ID belongs to. Can be used in place of `customer` when `type=customer`"},"type":{"type":"string","description":"Type of owner referenced.","enum":["account","application","customer","self"]}},"description":"The account or customer the tax ID belongs to. Defaults to `owner[type]=self`.","x-stripeMostCommon":["account","customer","customer_account","type"]},"type":{"maxLength":5000,"type":"string","description":"Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"],"x-stripeBypassValidation":true},"value":{"type":"string","description":"Value of the tax ID."}},"additionalProperties":false,"x-stripeMostCommon":["type","value"]},"encoding":{"expand":{"style":"deepObject","explode":true},"owner":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_id"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax_ids/{id}":{"get":{"summary":"Retrieve a tax ID","description":"

Retrieves an account or customer tax_id object.

","operationId":"GetTaxIdsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_id"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a tax ID","description":"

Deletes an existing account or customer tax_id object.

","operationId":"DeleteTaxIdsId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_tax_id"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax_rates":{"get":{"summary":"List all tax rates","description":"

Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first.

","operationId":"GetTaxRates","parameters":[{"name":"active","in":"query","description":"Optional flag to filter by tax rates that are either active or inactive (archived).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"created","in":"query","description":"Optional range for filtering created date.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"inclusive","in":"query","description":"Optional flag to filter by tax rates that are inclusive (or those that are not inclusive).","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TaxRatesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/tax_rate"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/tax_rates","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a tax rate","description":"

Creates a new tax rate.

","operationId":"PostTaxRates","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["display_name","inclusive","percentage"],"type":"object","properties":{"active":{"type":"boolean","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."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers."},"display_name":{"maxLength":50,"type":"string","description":"The display name of the tax rate, which will be shown to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"inclusive":{"type":"boolean","description":"This specifies if the tax rate is inclusive or exclusive."},"jurisdiction":{"maxLength":50,"type":"string","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."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"percentage":{"type":"number","description":"This represents the tax rate percent out of 100."},"state":{"maxLength":5000,"type":"string","description":"[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States."},"tax_type":{"type":"string","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"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["active","country","description","display_name","inclusive","jurisdiction","metadata","percentage","state"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tax_rates/{tax_rate}":{"get":{"summary":"Retrieve a tax rate","description":"

Retrieves a tax rate with the given ID

","operationId":"GetTaxRatesTaxRate","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"tax_rate","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a tax rate","description":"

Updates an existing tax rate.

","operationId":"PostTaxRatesTaxRate","parameters":[{"name":"tax_rate","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"active":{"type":"boolean","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."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers."},"display_name":{"maxLength":50,"type":"string","description":"The display name of the tax rate, which will be shown to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"jurisdiction":{"maxLength":50,"type":"string","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."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"state":{"maxLength":5000,"type":"string","description":"[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States."},"tax_type":{"type":"string","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"],"x-stripeBypassValidation":true}},"additionalProperties":false,"x-stripeMostCommon":["active","country","description","display_name","jurisdiction","metadata","state"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tax_rate"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/configurations":{"get":{"summary":"List all Configurations","description":"

Returns a list of Configuration objects.

","operationId":"GetTerminalConfigurations","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"is_account_default","in":"query","description":"if present, only return the account default or non-default configurations.","required":false,"style":"form","explode":true,"schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TerminalConfigurationConfigurationList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/terminal.configuration"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/terminal/configurations","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a Configuration","description":"

Creates a new Configuration object.

","operationId":"PostTerminalConfigurations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"bbpos_wisepad3":{"title":"bbpos_wise_pad3","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"An object containing device type specific settings for BBPOS WisePad 3 readers.","x-stripeMostCommon":["splashscreen"]},"bbpos_wisepos_e":{"title":"bbpos_wise_pose","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image to display on the reader","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"An object containing device type specific settings for BBPOS WisePOS E readers.","x-stripeMostCommon":["splashscreen"]},"cellular":{"description":"Configuration for cellular connectivity.","anyOf":[{"title":"cellular","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Determines whether to allow the reader to connect to a cellular network. Defaults to false."}},"x-stripeMostCommon":["enabled"]},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"name":{"maxLength":100,"type":"string","description":"Name of the configuration"},"offline":{"description":"Configurations for collecting transactions offline.","anyOf":[{"title":"offline","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Determines whether to allow transactions to be collected while reader is offline. Defaults to false."}},"x-stripeMostCommon":["enabled"]},{"type":"string","enum":[""]}]},"reboot_window":{"title":"reboot_window","required":["end_hour","start_hour"],"type":"object","properties":{"end_hour":{"type":"integer","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."},"start_hour":{"type":"integer","description":"Integer between 0 to 23 that represents the start hour of the reboot time window."}},"description":"Reboot time settings for readers. that support customized reboot time configuration.","x-stripeMostCommon":["end_hour","start_hour"]},"stripe_s700":{"title":"stripe_s700","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"An object containing device type specific settings for Stripe S700 readers.","x-stripeMostCommon":["splashscreen"]},"stripe_s710":{"title":"stripe_s710","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"An object containing device type specific settings for Stripe S710 readers.","x-stripeMostCommon":["splashscreen"]},"tipping":{"description":"Tipping configurations for readers that support on-reader tips.","anyOf":[{"title":"tipping","type":"object","properties":{"aed":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for AED","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"aud":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for AUD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"cad":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for CAD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"chf":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for CHF","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"czk":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for CZK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"dkk":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for DKK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"eur":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for EUR","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"gbp":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for GBP","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"gip":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for GIP","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"hkd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for HKD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"huf":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for HUF","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"jpy":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for JPY","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"mxn":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for MXN","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"myr":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for MYR","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"nok":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for NOK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"nzd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for NZD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"pln":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for PLN","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"ron":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for RON","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"sek":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for SEK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"sgd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for SGD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"usd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for USD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]}},"x-stripeMostCommon":["aed","aud","cad","chf","czk","dkk","eur","gbp","gip","hkd","huf","jpy","mxn","myr","nok","nzd","pln","ron","sek","sgd","usd"]},{"type":"string","enum":[""]}]},"verifone_p400":{"title":"verifone_p400","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"description":"An object containing device type specific settings for Verifone P400 readers.","x-stripeMostCommon":["splashscreen"]},"wifi":{"description":"Configurations for connecting to a WiFi network.","anyOf":[{"title":"wifi","required":["type"],"type":"object","properties":{"enterprise_eap_peap":{"title":"enterprise_peap_config","required":["password","ssid","username"],"type":"object","properties":{"ca_certificate_file":{"type":"string","description":"A File ID representing a PEM file containing the server certificate"},"password":{"maxLength":5000,"type":"string","description":"Password for connecting to the WiFi network"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"},"username":{"maxLength":5000,"type":"string","description":"Username for connecting to the WiFi network"}},"description":"Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.","x-stripeMostCommon":["ca_certificate_file","password","ssid","username"]},"enterprise_eap_tls":{"title":"enterprise_tls_config","required":["client_certificate_file","private_key_file","ssid"],"type":"object","properties":{"ca_certificate_file":{"type":"string","description":"A File ID representing a PEM file containing the server certificate"},"client_certificate_file":{"type":"string","description":"A File ID representing a PEM file containing the client certificate"},"private_key_file":{"type":"string","description":"A File ID representing a PEM file containing the client RSA private key"},"private_key_file_password":{"maxLength":5000,"type":"string","description":"Password for the private key file"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"}},"description":"Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.","x-stripeMostCommon":["ca_certificate_file","client_certificate_file","private_key_file","private_key_file_password","ssid"]},"personal_psk":{"title":"personal_psk_config","required":["password","ssid"],"type":"object","properties":{"password":{"maxLength":63,"type":"string","description":"Password for connecting to the WiFi network"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"}},"description":"Credentials for a WPA-Personal WiFi network.","x-stripeMostCommon":["password","ssid"]},"type":{"type":"string","description":"Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.","enum":["enterprise_eap_peap","enterprise_eap_tls","personal_psk"]}},"x-stripeMostCommon":["enterprise_eap_peap","enterprise_eap_tls","personal_psk","type"]},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["bbpos_wisepad3","bbpos_wisepos_e","stripe_s700","tipping","verifone_p400"]},"encoding":{"bbpos_wisepad3":{"style":"deepObject","explode":true},"bbpos_wisepos_e":{"style":"deepObject","explode":true},"cellular":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"offline":{"style":"deepObject","explode":true},"reboot_window":{"style":"deepObject","explode":true},"stripe_s700":{"style":"deepObject","explode":true},"stripe_s710":{"style":"deepObject","explode":true},"tipping":{"style":"deepObject","explode":true},"verifone_p400":{"style":"deepObject","explode":true},"wifi":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/configurations/{configuration}":{"get":{"summary":"Retrieve a Configuration","description":"

Retrieves a Configuration object.

","operationId":"GetTerminalConfigurationsConfiguration","parameters":[{"name":"configuration","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/terminal.configuration"},{"$ref":"#/components/schemas/deleted_terminal.configuration"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a Configuration","description":"

Updates a new Configuration object.

","operationId":"PostTerminalConfigurationsConfiguration","parameters":[{"name":"configuration","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"bbpos_wisepad3":{"description":"An object containing device type specific settings for BBPOS WisePad 3 readers.","anyOf":[{"title":"bbpos_wise_pad3","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["splashscreen"]},{"type":"string","enum":[""]}]},"bbpos_wisepos_e":{"description":"An object containing device type specific settings for BBPOS WisePOS E readers.","anyOf":[{"title":"bbpos_wise_pose","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image to display on the reader","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["splashscreen"]},{"type":"string","enum":[""]}]},"cellular":{"description":"Configuration for cellular connectivity.","anyOf":[{"title":"cellular","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Determines whether to allow the reader to connect to a cellular network. Defaults to false."}},"x-stripeMostCommon":["enabled"]},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"name":{"maxLength":100,"type":"string","description":"Name of the configuration"},"offline":{"description":"Configurations for collecting transactions offline.","anyOf":[{"title":"offline","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Determines whether to allow transactions to be collected while reader is offline. Defaults to false."}},"x-stripeMostCommon":["enabled"]},{"type":"string","enum":[""]}]},"reboot_window":{"description":"Reboot time settings for readers. that support customized reboot time configuration.","anyOf":[{"title":"reboot_window","required":["end_hour","start_hour"],"type":"object","properties":{"end_hour":{"type":"integer","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."},"start_hour":{"type":"integer","description":"Integer between 0 to 23 that represents the start hour of the reboot time window."}},"x-stripeMostCommon":["end_hour","start_hour"]},{"type":"string","enum":[""]}]},"stripe_s700":{"description":"An object containing device type specific settings for Stripe S700 readers.","anyOf":[{"title":"stripe_s700","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["splashscreen"]},{"type":"string","enum":[""]}]},"stripe_s710":{"description":"An object containing device type specific settings for Stripe S710 readers.","anyOf":[{"title":"stripe_s710","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["splashscreen"]},{"type":"string","enum":[""]}]},"tipping":{"description":"Tipping configurations for readers that support on-reader tips.","anyOf":[{"title":"tipping","type":"object","properties":{"aed":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for AED","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"aud":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for AUD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"cad":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for CAD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"chf":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for CHF","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"czk":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for CZK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"dkk":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for DKK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"eur":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for EUR","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"gbp":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for GBP","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"gip":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for GIP","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"hkd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for HKD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"huf":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for HUF","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"jpy":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for JPY","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"mxn":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for MXN","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"myr":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for MYR","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"nok":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for NOK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"nzd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for NZD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"pln":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for PLN","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"ron":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for RON","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"sek":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for SEK","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"sgd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for SGD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"usd":{"title":"currency_specific_config","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"Tipping configuration for USD","x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]}},"x-stripeMostCommon":["aed","aud","cad","chf","czk","dkk","eur","gbp","gip","hkd","huf","jpy","mxn","myr","nok","nzd","pln","ron","sek","sgd","usd"]},{"type":"string","enum":[""]}]},"verifone_p400":{"description":"An object containing device type specific settings for Verifone P400 readers.","anyOf":[{"title":"verifone_p400","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image you want to display on the reader.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"x-stripeMostCommon":["splashscreen"]},{"type":"string","enum":[""]}]},"wifi":{"description":"Configurations for connecting to a WiFi network.","anyOf":[{"title":"wifi","required":["type"],"type":"object","properties":{"enterprise_eap_peap":{"title":"enterprise_peap_config","required":["password","ssid","username"],"type":"object","properties":{"ca_certificate_file":{"type":"string","description":"A File ID representing a PEM file containing the server certificate"},"password":{"maxLength":5000,"type":"string","description":"Password for connecting to the WiFi network"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"},"username":{"maxLength":5000,"type":"string","description":"Username for connecting to the WiFi network"}},"description":"Credentials for a WPA-Enterprise WiFi network using the EAP-PEAP authentication method.","x-stripeMostCommon":["ca_certificate_file","password","ssid","username"]},"enterprise_eap_tls":{"title":"enterprise_tls_config","required":["client_certificate_file","private_key_file","ssid"],"type":"object","properties":{"ca_certificate_file":{"type":"string","description":"A File ID representing a PEM file containing the server certificate"},"client_certificate_file":{"type":"string","description":"A File ID representing a PEM file containing the client certificate"},"private_key_file":{"type":"string","description":"A File ID representing a PEM file containing the client RSA private key"},"private_key_file_password":{"maxLength":5000,"type":"string","description":"Password for the private key file"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"}},"description":"Credentials for a WPA-Enterprise WiFi network using the EAP-TLS authentication method.","x-stripeMostCommon":["ca_certificate_file","client_certificate_file","private_key_file","private_key_file_password","ssid"]},"personal_psk":{"title":"personal_psk_config","required":["password","ssid"],"type":"object","properties":{"password":{"maxLength":63,"type":"string","description":"Password for connecting to the WiFi network"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"}},"description":"Credentials for a WPA-Personal WiFi network.","x-stripeMostCommon":["password","ssid"]},"type":{"type":"string","description":"Security type of the WiFi network. Fill out the hash with the corresponding name to provide the set of credentials for this security type.","enum":["enterprise_eap_peap","enterprise_eap_tls","personal_psk"]}},"x-stripeMostCommon":["enterprise_eap_peap","enterprise_eap_tls","personal_psk","type"]},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["bbpos_wisepad3","bbpos_wisepos_e","stripe_s700","tipping","verifone_p400"]},"encoding":{"bbpos_wisepad3":{"style":"deepObject","explode":true},"bbpos_wisepos_e":{"style":"deepObject","explode":true},"cellular":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"offline":{"style":"deepObject","explode":true},"reboot_window":{"style":"deepObject","explode":true},"stripe_s700":{"style":"deepObject","explode":true},"stripe_s710":{"style":"deepObject","explode":true},"tipping":{"style":"deepObject","explode":true},"verifone_p400":{"style":"deepObject","explode":true},"wifi":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/terminal.configuration"},{"$ref":"#/components/schemas/deleted_terminal.configuration"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a Configuration","description":"

Deletes a Configuration object.

","operationId":"DeleteTerminalConfigurationsConfiguration","parameters":[{"name":"configuration","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_terminal.configuration"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/connection_tokens":{"post":{"summary":"Create a Connection Token","description":"

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.

","operationId":"PostTerminalConnectionTokens","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"location":{"maxLength":5000,"type":"string","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)."}},"additionalProperties":false,"x-stripeMostCommon":["location"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.connection_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/locations":{"get":{"summary":"List all Locations","description":"

Returns a list of Location objects.

","operationId":"GetTerminalLocations","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TerminalLocationLocationList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/terminal.location"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/terminal/locations","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a Location","description":"

Creates a new Location object.\nFor further details, including which address fields are required in each country, see the Manage locations guide.

","operationId":"PostTerminalLocations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"address":{"title":"create_location_address_param","required":["country"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The full address of the location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the full address of the location (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the full address of the location (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"configuration_overrides":{"maxLength":500,"type":"string","description":"The ID of a configuration that will be used to customize all readers in this location."},"display_name":{"maxLength":1000,"type":"string","description":"A name for the location. Maximum length is 1000 characters."},"display_name_kana":{"maxLength":1000,"type":"string","description":"The Kana variation of the name for the location (Japan only). Maximum length is 1000 characters."},"display_name_kanji":{"maxLength":1000,"type":"string","description":"The Kanji variation of the name for the location (Japan only). Maximum length is 1000 characters."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"phone":{"type":"string","description":"The phone number for the location."}},"additionalProperties":false,"x-stripeMostCommon":["address","display_name","metadata"]},"encoding":{"address":{"style":"deepObject","explode":true},"address_kana":{"style":"deepObject","explode":true},"address_kanji":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.location"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/locations/{location}":{"get":{"summary":"Retrieve a Location","description":"

Retrieves a Location object.

","operationId":"GetTerminalLocationsLocation","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"location","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/terminal.location"},{"$ref":"#/components/schemas/deleted_terminal.location"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a Location","description":"

Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostTerminalLocationsLocation","parameters":[{"name":"location","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The full address of the location. You can't change the location's `country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the full address of the location (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the full address of the location (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"configuration_overrides":{"description":"The ID of a configuration that will be used to customize all readers in this location.","anyOf":[{"maxLength":1000,"type":"string"},{"type":"string","enum":[""]}]},"display_name":{"description":"A name for the location.","anyOf":[{"maxLength":1000,"type":"string"},{"type":"string","enum":[""]}]},"display_name_kana":{"description":"The Kana variation of the name for the location (Japan only).","anyOf":[{"maxLength":1000,"type":"string"},{"type":"string","enum":[""]}]},"display_name_kanji":{"description":"The Kanji variation of the name for the location (Japan only).","anyOf":[{"maxLength":1000,"type":"string"},{"type":"string","enum":[""]}]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"phone":{"description":"The phone number for the location.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["address","display_name","metadata"]},"encoding":{"address":{"style":"deepObject","explode":true},"address_kana":{"style":"deepObject","explode":true},"address_kanji":{"style":"deepObject","explode":true},"configuration_overrides":{"style":"deepObject","explode":true},"display_name":{"style":"deepObject","explode":true},"display_name_kana":{"style":"deepObject","explode":true},"display_name_kanji":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"phone":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/terminal.location"},{"$ref":"#/components/schemas/deleted_terminal.location"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a Location","description":"

Deletes a Location object.

","operationId":"DeleteTerminalLocationsLocation","parameters":[{"name":"location","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_terminal.location"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/onboarding_links":{"post":{"summary":"Create an Onboarding Link","description":"

Creates a new OnboardingLink object that contains a redirect_url used for onboarding onto Tap to Pay on iPhone.

","operationId":"PostTerminalOnboardingLinks","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["link_options","link_type"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"link_options":{"title":"link_options_params","type":"object","properties":{"apple_terms_and_conditions":{"title":"apple_terms_and_conditions_params","required":["merchant_display_name"],"type":"object","properties":{"allow_relinking":{"type":"boolean","description":"Whether the link should also support users relinking their Apple account."},"merchant_display_name":{"maxLength":5000,"type":"string","description":"The business name of the merchant accepting Apple's Terms and Conditions."}},"description":"The options associated with the Apple Terms and Conditions link type.","x-stripeMostCommon":["allow_relinking","merchant_display_name"]}},"description":"Specific fields needed to generate the desired link type.","x-stripeMostCommon":["apple_terms_and_conditions"]},"link_type":{"type":"string","description":"The type of link being generated.","enum":["apple_terms_and_conditions"]},"on_behalf_of":{"maxLength":5000,"type":"string","description":"Stripe account ID to generate the link for."}},"additionalProperties":false,"x-stripeMostCommon":["link_options","link_type","on_behalf_of"]},"encoding":{"expand":{"style":"deepObject","explode":true},"link_options":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.onboarding_link"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers":{"get":{"summary":"List all Readers","description":"

Returns a list of Reader objects.

","operationId":"GetTerminalReaders","parameters":[{"name":"device_type","in":"query","description":"Filters readers by device type","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["bbpos_chipper2x","bbpos_wisepad3","bbpos_wisepos_e","mobile_phone_reader","simulated_stripe_s700","simulated_stripe_s710","simulated_wisepos_e","stripe_m2","stripe_s700","stripe_s710","verifone_P400"],"x-stripeBypassValidation":true}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"location","in":"query","description":"A location ID to filter the response list to only readers at the specific location","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"serial_number","in":"query","description":"Filters readers by serial number","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"A status filter to filter readers to only offline or online readers","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["offline","online"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TerminalReaderRetrieveReader","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"A list of readers","items":{"$ref":"#/components/schemas/terminal.reader"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a Reader","description":"

Creates a new Reader object.

","operationId":"PostTerminalReaders","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["registration_code"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"label":{"maxLength":5000,"type":"string","description":"Custom label given to the reader for easier identification. If no label is specified, the registration code will be used."},"location":{"maxLength":5000,"type":"string","description":"The location to assign the reader to."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"registration_code":{"maxLength":5000,"type":"string","description":"A code generated by the reader used for registering to an account."}},"additionalProperties":false,"x-stripeMostCommon":["label","location","metadata","registration_code"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}":{"get":{"summary":"Retrieve a Reader","description":"

Retrieves a Reader object.

","operationId":"GetTerminalReadersReader","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/terminal.reader"},{"$ref":"#/components/schemas/deleted_terminal.reader"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a Reader","description":"

Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

","operationId":"PostTerminalReadersReader","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"label":{"description":"The new label of the reader.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["label","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"label":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/terminal.reader"},{"$ref":"#/components/schemas/deleted_terminal.reader"}]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a Reader","description":"

Deletes a Reader object.

","operationId":"DeleteTerminalReadersReader","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/cancel_action":{"post":{"summary":"Cancel the current reader action","description":"

Cancels the current reader action. See Programmatic Cancellation for more details.

","operationId":"PostTerminalReadersReaderCancelAction","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/collect_inputs":{"post":{"summary":"Collect inputs using a Reader","description":"

Initiates an input collection flow on a Reader to display input forms and collect information from your customers.

","operationId":"PostTerminalReadersReaderCollectInputs","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["inputs"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"inputs":{"type":"array","description":"List of inputs to be collected from the customer using the Reader. Maximum 5 inputs.","items":{"title":"input_params","required":["custom_text","type"],"type":"object","properties":{"custom_text":{"title":"custom_text_params","required":["title"],"type":"object","properties":{"description":{"maxLength":500,"type":"string","description":"The description which will be displayed when collecting this input"},"skip_button":{"maxLength":14,"type":"string","description":"Custom text for the skip button. Maximum 14 characters."},"submit_button":{"maxLength":30,"type":"string","description":"Custom text for the submit button. Maximum 30 characters."},"title":{"maxLength":40,"type":"string","description":"The title which will be displayed when collecting this input"}},"description":"Customize the text which will be displayed while collecting this input","x-stripeMostCommon":["description","skip_button","submit_button","title"]},"required":{"type":"boolean","description":"Indicate that this input is required, disabling the skip button"},"selection":{"title":"selection_params","required":["choices"],"type":"object","properties":{"choices":{"type":"array","description":"List of choices for the `selection` input","items":{"title":"choice_params","required":["id","text"],"type":"object","properties":{"id":{"maxLength":50,"type":"string","description":"The unique identifier for this choice"},"style":{"type":"string","description":"The style of the button which will be shown for this choice. Can be `primary` or `secondary`.","enum":["primary","secondary"]},"text":{"maxLength":30,"type":"string","description":"The text which will be shown on the button for this choice"}},"x-stripeMostCommon":["id","style","text"]}}},"description":"Options for the `selection` input","x-stripeMostCommon":["choices"]},"toggles":{"type":"array","description":"List of toggles to be displayed and customization for the toggles","items":{"title":"toggle_params","type":"object","properties":{"default_value":{"type":"string","description":"The default value of the toggle. Can be `enabled` or `disabled`.","enum":["disabled","enabled"]},"description":{"maxLength":50,"type":"string","description":"The description which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided."},"title":{"maxLength":50,"type":"string","description":"The title which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided."}},"x-stripeMostCommon":["default_value","description","title"]}},"type":{"type":"string","description":"The type of input to collect","enum":["email","numeric","phone","selection","signature","text"]}},"x-stripeMostCommon":["custom_text","required","type"]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."}},"additionalProperties":false,"x-stripeMostCommon":["inputs","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"inputs":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/collect_payment_method":{"post":{"summary":"Hand off a PaymentIntent to a Reader and collect card details","description":"

Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See Collecting a Payment method for more details.

","operationId":"PostTerminalReadersReaderCollectPaymentMethod","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["payment_intent"],"type":"object","properties":{"collect_config":{"title":"collect_config","type":"object","properties":{"allow_redisplay":{"type":"string","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"]},"enable_customer_cancellation":{"type":"boolean","description":"Enables cancel button on transaction screens."},"skip_tipping":{"type":"boolean","description":"Override showing a tipping selection screen on this transaction."},"tipping":{"title":"tipping_config","type":"object","properties":{"amount_eligible":{"type":"integer","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)."}},"description":"Tipping configuration for this transaction.","x-stripeMostCommon":["amount_eligible"]}},"description":"Configuration overrides for this collection, such as tipping, surcharging, and customer cancellation settings.","x-stripeMostCommon":["allow_redisplay","enable_customer_cancellation","moto","moto_config","request_dynamic_currency_conversion","skip_donation","skip_tipping","surcharge_notice","tipping"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"payment_intent":{"maxLength":5000,"type":"string","description":"The ID of the PaymentIntent to collect a payment method for."}},"additionalProperties":false,"x-stripeMostCommon":["payment_intent"]},"encoding":{"collect_config":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/confirm_payment_intent":{"post":{"summary":"Confirm a PaymentIntent on the Reader","description":"

Finalizes a payment on a Reader. See Confirming a Payment for more details.

","operationId":"PostTerminalReadersReaderConfirmPaymentIntent","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["payment_intent"],"type":"object","properties":{"confirm_config":{"title":"confirm_config","type":"object","properties":{"return_url":{"type":"string","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."}},"description":"Configuration overrides for this confirmation, such as surcharge settings and return URL.","x-stripeMostCommon":["amount_surcharge","return_url","surcharge"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"payment_intent":{"maxLength":5000,"type":"string","description":"The ID of the PaymentIntent to confirm."}},"additionalProperties":false,"x-stripeMostCommon":["payment_intent"]},"encoding":{"confirm_config":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/process_payment_intent":{"post":{"summary":"Hand-off a PaymentIntent to a Reader","description":"

Initiates a payment flow on a Reader. See process the payment for more details.

","operationId":"PostTerminalReadersReaderProcessPaymentIntent","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["payment_intent"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"payment_intent":{"maxLength":5000,"type":"string","description":"The ID of the PaymentIntent to process on the reader."},"process_config":{"title":"process_config","type":"object","properties":{"allow_redisplay":{"type":"string","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"]},"enable_customer_cancellation":{"type":"boolean","description":"Enables cancel button on transaction screens."},"return_url":{"type":"string","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."},"skip_tipping":{"type":"boolean","description":"Override showing a tipping selection screen on this transaction."},"tipping":{"title":"tipping_config","type":"object","properties":{"amount_eligible":{"type":"integer","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)."}},"description":"Tipping configuration for this transaction.","x-stripeMostCommon":["amount_eligible"]}},"description":"Configuration overrides for this transaction, such as tipping and customer cancellation settings.","x-stripeMostCommon":["allow_redisplay","enable_customer_cancellation","moto","moto_config","return_url","skip_donation","skip_tipping","tipping"]}},"additionalProperties":false,"x-stripeMostCommon":["payment_intent"]},"encoding":{"expand":{"style":"deepObject","explode":true},"process_config":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/process_setup_intent":{"post":{"summary":"Hand-off a SetupIntent to a Reader","description":"

Initiates a SetupIntent flow on a Reader. See Save directly without charging for more details.

","operationId":"PostTerminalReadersReaderProcessSetupIntent","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["allow_redisplay","setup_intent"],"type":"object","properties":{"allow_redisplay":{"type":"string","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"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"process_config":{"title":"process_setup_config","type":"object","properties":{"enable_customer_cancellation":{"type":"boolean","description":"Enables cancel button on transaction screens."}},"description":"Configuration overrides for this setup, such as MOTO and customer cancellation settings.","x-stripeMostCommon":["enable_customer_cancellation","moto","moto_config"]},"setup_intent":{"maxLength":5000,"type":"string","description":"The ID of the SetupIntent to process on the reader."}},"additionalProperties":false,"x-stripeMostCommon":["allow_redisplay","setup_intent"]},"encoding":{"expand":{"style":"deepObject","explode":true},"process_config":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/refund_payment":{"post":{"summary":"Refund a Charge or a PaymentIntent in-person","description":"

Initiates an in-person refund on a Reader. See Refund an Interac Payment for more details.

","operationId":"PostTerminalReadersReaderRefundPayment","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","description":"A positive integer in __cents__ representing how much of this charge to refund."},"charge":{"maxLength":5000,"type":"string","description":"ID of the Charge to refund."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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_intent":{"maxLength":5000,"type":"string","description":"ID of the PaymentIntent to refund."},"refund_application_fee":{"type":"boolean","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."},"refund_payment_config":{"title":"refund_payment_config","type":"object","properties":{"enable_customer_cancellation":{"type":"boolean","description":"Enables cancel button on transaction screens."}},"description":"Configuration overrides for this refund, such as customer cancellation settings.","x-stripeMostCommon":["enable_customer_cancellation"]},"reverse_transfer":{"type":"boolean","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."}},"additionalProperties":false,"x-stripeMostCommon":["amount","charge","metadata","payment_intent","refund_application_fee","reverse_transfer"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"refund_payment_config":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/terminal/readers/{reader}/set_reader_display":{"post":{"summary":"Set reader display","description":"

Sets the reader display to show cart details.

","operationId":"PostTerminalReadersReaderSetReaderDisplay","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["type"],"type":"object","properties":{"cart":{"title":"cart","required":["currency","line_items","total"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"line_items":{"type":"array","description":"Array of line items to display.","items":{"title":"line_item","required":["amount","description","quantity"],"type":"object","properties":{"amount":{"type":"integer","description":"The price of the item in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"description":{"maxLength":5000,"type":"string","description":"The description or name of the item."},"quantity":{"type":"integer","description":"The quantity of the line item being purchased."}},"x-stripeMostCommon":["amount","description","quantity"]}},"tax":{"type":"integer","description":"The amount of tax in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"total":{"type":"integer","description":"Total balance of cart due in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."}},"description":"Cart details to display on the reader screen, including line items, amounts, and currency.","x-stripeMostCommon":["currency","line_items","tax","total"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"type":{"type":"string","description":"Type of information to display. Only `cart` is currently supported.","enum":["cart"]}},"additionalProperties":false,"x-stripeMostCommon":["cart","type"]},"encoding":{"cart":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/confirmation_tokens":{"post":{"summary":"Create a test Confirmation Token","description":"

Creates a test mode Confirmation Token server side for your integration tests.

","operationId":"PostTestHelpersConfirmationTokens","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"payment_method":{"maxLength":5000,"type":"string","description":"ID of an existing PaymentMethod."},"payment_method_data":{"title":"payment_method_data_params","required":["type"],"type":"object","properties":{"acss_debit":{"title":"payment_method_param","required":["account_number","institution_number","transit_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Customer's bank account number."},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the customer's bank."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the customer's bank."}},"description":"If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.","x-stripeMostCommon":["account_number","financial_connections_account","institution_number","transit_number"]},"affirm":{"title":"param","type":"object","properties":{},"description":"If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method."},"afterpay_clearpay":{"title":"param","type":"object","properties":{},"description":"If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method."},"alipay":{"title":"param","type":"object","properties":{},"description":"If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method."},"allow_redisplay":{"type":"string","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"]},"alma":{"title":"param","type":"object","properties":{},"description":"If this is a Alma PaymentMethod, this hash contains details about the Alma payment method."},"amazon_pay":{"title":"param","type":"object","properties":{},"description":"If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method."},"au_becs_debit":{"title":"param","required":["account_number","bsb_number"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."}},"description":"If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.","x-stripeMostCommon":["account_number","bsb_number"]},"bacs_debit":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account that the funds will be debited from."},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)"}},"description":"If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.","x-stripeMostCommon":["account_number","sort_code"]},"bancontact":{"title":"param","type":"object","properties":{},"description":"If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method."},"billie":{"title":"param","type":"object","properties":{},"description":"If this is a `billie` PaymentMethod, this hash contains details about the Billie payment method."},"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers."}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone","tax_id"]},"blik":{"title":"param","type":"object","properties":{},"description":"If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method."},"boleto":{"title":"param","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)"}},"description":"If this is a `boleto` PaymentMethod, this hash contains details about the Boleto payment method.","x-stripeMostCommon":["tax_id"]},"cashapp":{"title":"param","type":"object","properties":{},"description":"If this is a `cashapp` PaymentMethod, this hash contains details about the Cash App Pay payment method."},"crypto":{"title":"param","type":"object","properties":{},"description":"If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method."},"customer_balance":{"title":"param","type":"object","properties":{},"description":"If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method."},"eps":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","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"]}},"description":"If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.","x-stripeMostCommon":["bank"]},"fpx":{"title":"param","required":["bank"],"type":"object","properties":{"account_holder_type":{"maxLength":5000,"type":"string","description":"Account holder type for FPX transaction","enum":["company","individual"]},"bank":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method.","x-stripeMostCommon":["account_holder_type","bank"]},"giropay":{"title":"param","type":"object","properties":{},"description":"If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method."},"grabpay":{"title":"param","type":"object","properties":{},"description":"If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method."},"ideal":{"title":"param","type":"object","properties":{"bank":{"maxLength":5000,"type":"string","description":"The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.","enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]}},"description":"If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.","x-stripeMostCommon":["bank"]},"interac_present":{"title":"param","type":"object","properties":{},"description":"If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.","x-stripeMostCommon":["device_identifier","device_type","emv","location"]},"kakao_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `kakao_pay` PaymentMethod, this hash contains details about the Kakao Pay payment method."},"klarna":{"title":"param","type":"object","properties":{"dob":{"title":"date_of_birth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"Customer's date of birth","x-stripeMostCommon":["day","month","year"]}},"description":"If this is a `klarna` PaymentMethod, this hash contains details about the Klarna payment method.","x-stripeMostCommon":["dob"]},"konbini":{"title":"param","type":"object","properties":{},"description":"If this is a `konbini` PaymentMethod, this hash contains details about the Konbini payment method."},"kr_card":{"title":"param","type":"object","properties":{},"description":"If this is a `kr_card` PaymentMethod, this hash contains details about the Korean Card payment method."},"link":{"title":"param","type":"object","properties":{},"description":"If this is an `Link` PaymentMethod, this hash contains details about the Link payment method."},"mb_way":{"title":"param","type":"object","properties":{},"description":"If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"mobilepay":{"title":"param","type":"object","properties":{},"description":"If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method."},"multibanco":{"title":"param","type":"object","properties":{},"description":"If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method."},"naver_pay":{"title":"param","type":"object","properties":{"funding":{"type":"string","description":"Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"If this is a `naver_pay` PaymentMethod, this hash contains details about the Naver Pay payment method.","x-stripeMostCommon":["funding"]},"nz_bank_account":{"title":"param","required":["account_number","bank_code","branch_code","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details."},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"reference":{"maxLength":128,"type":"string"},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number."}},"description":"If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.","x-stripeMostCommon":["account_holder_name","account_number","bank_code","branch_code","reference","suffix"]},"oxxo":{"title":"param","type":"object","properties":{},"description":"If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method."},"p24":{"title":"param","type":"object","properties":{"bank":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method.","x-stripeMostCommon":["bank"]},"pay_by_bank":{"title":"param","type":"object","properties":{},"description":"If this is a `pay_by_bank` PaymentMethod, this hash contains details about the PayByBank payment method."},"payco":{"title":"param","type":"object","properties":{},"description":"If this is a `payco` PaymentMethod, this hash contains details about the PAYCO payment method."},"paynow":{"title":"param","type":"object","properties":{},"description":"If this is a `paynow` PaymentMethod, this hash contains details about the PayNow payment method."},"paypal":{"title":"param","type":"object","properties":{},"description":"If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method."},"payto":{"title":"param","type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account."},"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account."}},"description":"If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.","x-stripeMostCommon":["account_number","bsb_number","pay_id"]},"pix":{"title":"param","type":"object","properties":{},"description":"If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.","x-stripeMostCommon":["tax_id"]},"promptpay":{"title":"param","type":"object","properties":{},"description":"If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method."},"radar_options":{"title":"radar_options_with_hidden_options","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-stripeMostCommon":["session","skip_rules"]},"revolut_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method."},"samsung_pay":{"title":"param","type":"object","properties":{},"description":"If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method."},"satispay":{"title":"param","type":"object","properties":{},"description":"If this is a `satispay` PaymentMethod, this hash contains details about the Satispay payment method."},"sepa_debit":{"title":"param","required":["iban"],"type":"object","properties":{"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account."}},"description":"If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.","x-stripeMostCommon":["iban"]},"sofort":{"title":"param","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","enum":["AT","BE","DE","ES","IT","NL"]}},"description":"If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.","x-stripeMostCommon":["country"]},"swish":{"title":"param","type":"object","properties":{},"description":"If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method."},"twint":{"title":"param","type":"object","properties":{},"description":"If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method."},"type":{"type":"string","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","billie","blik","boleto","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"title":"param","type":"object","properties":{"mandate_options":{"title":"mandate_options","type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments."},"amount_type":{"type":"string","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"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer."},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time"}},"description":"Configuration options for setting up an eMandate","x-stripeMostCommon":["amount","amount_type","description","end_date"]}},"description":"If this is a `upi` PaymentMethod, this hash contains details about the UPI payment method.","x-stripeMostCommon":["mandate_options","vpa"]},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]},"wechat_pay":{"title":"param","type":"object","properties":{},"description":"If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method."},"zip":{"title":"param","type":"object","properties":{},"description":"If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method."}},"description":"If provided, this hash will be used to create a PaymentMethod.","x-stripeMostCommon":["billing_details","metadata","type"]},"payment_method_options":{"title":"test_payment_method_options_param","type":"object","properties":{"card":{"title":"card_param","type":"object","properties":{"installments":{"title":"installments_param","required":["plan"],"type":"object","properties":{"plan":{"title":"installment_plan","required":["type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is required. It represents the number of installment payments your customer will make to their credit card."},"interval":{"type":"string","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":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.","enum":["bonus","fixed_count","revolving"]}},"description":"The selected installment plan to use for this payment attempt.\nThis parameter can only be provided during confirmation.","x-stripeMostCommon":["count","interval","type"]}},"description":"Installment configuration for payments confirmed using this ConfirmationToken.","x-stripeMostCommon":["plan"]}},"description":"Configuration for any card payments confirmed using this ConfirmationToken.","x-stripeMostCommon":["installments"]}},"description":"Payment-method-specific configuration for this ConfirmationToken.","x-stripeMostCommon":["card"]},"return_url":{"type":"string","description":"Return URL used to confirm the Intent."},"setup_future_usage":{"type":"string","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://docs.stripe.com/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"]},"shipping":{"title":"recipient_shipping_with_optional_fields_address","required":["address","name"],"type":"object","properties":{"address":{"title":"optional_fields_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"Shipping address","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"description":"Recipient phone (including extension)","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Shipping information for this ConfirmationToken.","x-stripeMostCommon":["address","name","phone"]}},"additionalProperties":false,"x-stripeMostCommon":["payment_method","payment_method_data","payment_method_options","return_url","setup_future_usage","shipping"]},"encoding":{"expand":{"style":"deepObject","explode":true},"payment_method_data":{"style":"deepObject","explode":true},"payment_method_options":{"style":"deepObject","explode":true},"shipping":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/confirmation_token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/customers/{customer}/fund_cash_balance":{"post":{"summary":"Fund a test mode cash balance","description":"

Create an incoming testmode bank transfer

","operationId":"PostTestHelpersCustomersCustomerFundCashBalance","parameters":[{"name":"customer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency)."},"currency":{"type":"string","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).","format":"currency"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"reference":{"maxLength":5000,"type":"string","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://docs.stripe.com/payments/customer-balance/reconciliation) applies to different user inputs."}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/customer_cash_balance_transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/authorizations":{"post":{"summary":"Create a test-mode authorization","description":"

Create a test-mode authorization.

","operationId":"PostTestHelpersIssuingAuthorizations","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["card"],"type":"object","properties":{"amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal)."},"amount_details":{"title":"amount_details_specs","type":"object","properties":{"atm_fee":{"type":"integer","description":"The ATM withdrawal fee."},"cashback_amount":{"type":"integer","description":"The amount of cash requested by the cardholder."}},"description":"Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).","x-stripeMostCommon":["atm_fee","cashback_amount"]},"authorization_method":{"type":"string","description":"How the card details were provided. Defaults to online.","enum":["chip","contactless","keyed_in","online","swipe"]},"card":{"maxLength":5000,"type":"string","description":"Card associated with this authorization."},"currency":{"type":"string","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).","format":"currency"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"fleet":{"title":"fleet_testmode_authorization_specs","type":"object","properties":{"cardholder_prompt_data":{"title":"fleet_cardholder_prompt_data_specs","type":"object","properties":{"driver_id":{"maxLength":5000,"type":"string","description":"Driver ID."},"odometer":{"type":"integer","description":"Odometer reading."},"unspecified_id":{"maxLength":5000,"type":"string","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."},"user_id":{"maxLength":5000,"type":"string","description":"User ID."},"vehicle_number":{"maxLength":5000,"type":"string","description":"Vehicle number."}},"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.","x-stripeMostCommon":["driver_id","odometer","unspecified_id","user_id","vehicle_number"]},"purchase_type":{"maxLength":5000,"type":"string","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"]},"reported_breakdown":{"title":"fleet_reported_breakdown_specs","type":"object","properties":{"fuel":{"title":"fleet_reported_breakdown_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"non_fuel":{"title":"fleet_reported_breakdown_non_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of non-fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"tax":{"title":"fleet_reported_breakdown_tax_specs","type":"object","properties":{"local_amount_decimal":{"type":"string","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"},"national_amount_decimal":{"type":"string","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"}},"description":"Information about tax included in this transaction.","x-stripeMostCommon":["local_amount_decimal","national_amount_decimal"]}},"description":"More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.","x-stripeMostCommon":["fuel","non_fuel","tax"]},"service_type":{"maxLength":5000,"type":"string","description":"The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.","enum":["full_service","non_fuel_transaction","self_service"]}},"description":"Fleet-specific information for authorizations using Fleet cards.","x-stripeMostCommon":["cardholder_prompt_data","dynamic_purchase_controls_supported","purchase_type","reported_breakdown","service_type"]},"fraud_disputability_likelihood":{"type":"string","description":"Probability that this transaction can be disputed in the event of fraud. Assessed by comparing the characteristics of the authorization to card network rules.","enum":["neutral","unknown","very_likely","very_unlikely"]},"fuel":{"title":"fuel_specs","type":"object","properties":{"industry_product_code":{"maxLength":5000,"type":"string","description":"[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased."},"quantity_decimal":{"type":"string","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":{"maxLength":5000,"type":"string","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"]},"unit":{"maxLength":5000,"type":"string","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"]},"unit_cost_decimal":{"type":"string","description":"The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.","format":"decimal"}},"description":"Information about fuel that was purchased with this transaction.","x-stripeMostCommon":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"]},"is_amount_controllable":{"type":"boolean","description":"If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization."},"merchant_amount":{"type":"integer","description":"The total amount to attempt to authorize. This amount is in the provided merchant currency, and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"merchant_currency":{"type":"string","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).","format":"currency"},"merchant_data":{"title":"merchant_data_specs","type":"object","properties":{"category":{"maxLength":5000,"type":"string","description":"A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/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"]},"city":{"maxLength":5000,"type":"string","description":"City where the seller is located"},"country":{"maxLength":5000,"type":"string","description":"Country where the seller is located"},"name":{"maxLength":5000,"type":"string","description":"Name of the seller"},"network_id":{"maxLength":5000,"type":"string","description":"Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code where the seller is located"},"state":{"maxLength":5000,"type":"string","description":"State where the seller is located"},"terminal_id":{"maxLength":5000,"type":"string","description":"An ID assigned by the seller to the location of the sale."},"url":{"maxLength":5000,"type":"string","description":"URL provided by the merchant on a 3DS request"}},"description":"Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.","x-stripeMostCommon":["category","city","country","name","network_id","postal_code","state","terminal_id","url"]},"network_data":{"title":"network_data_specs","type":"object","properties":{"acquiring_institution_id":{"maxLength":5000,"type":"string","description":"Identifier assigned to the acquirer by the card network."}},"description":"Details about the authorization, such as identifiers, set by the card network.","x-stripeMostCommon":["acquiring_institution_id","routed_network"]},"risk_assessment":{"title":"risk_assessment_specs","type":"object","properties":{"card_testing_risk":{"title":"card_testing_risk_specs","required":["level"],"type":"object","properties":{"invalid_account_number_decline_rate_past_hour":{"type":"integer","description":"The % of declines due to a card number not existing in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of card testing activity, meaning bad actors may be attempting different card number combinations to guess a correct one. Takes on values between 0 and 100."},"invalid_credentials_decline_rate_past_hour":{"type":"integer","description":"The % of declines due to incorrect verification data (like CVV or expiry) in the past hour, taking place at the same merchant. Higher rates correspond to a greater probability of bad actors attempting to utilize valid card credentials at merchants with verification requirements. Takes on values between 0 and 100."},"level":{"type":"string","description":"The likelihood that this authorization is associated with card testing activity. This is assessed by evaluating decline activity over the last hour.","enum":["elevated","highest","low","normal","not_assessed","unknown"],"x-stripeBypassValidation":true}},"description":"Stripe's assessment of this authorization's likelihood of being card testing activity.","x-stripeMostCommon":["invalid_account_number_decline_rate_past_hour","invalid_credentials_decline_rate_past_hour","level"]},"fraud_risk":{"title":"fraud_risk_specs","required":["level"],"type":"object","properties":{"level":{"type":"string","description":"Stripe’s assessment of the likelihood of fraud on an authorization.","enum":["elevated","highest","low","normal","not_assessed","unknown"],"x-stripeBypassValidation":true},"score":{"type":"number","description":"Stripe’s numerical model score assessing the likelihood of fraudulent activity. A higher score means a higher likelihood of fraudulent activity, and anything above 25 is considered high risk."}},"description":"Stripe’s assessment of this authorization’s likelihood to be fraudulent.","x-stripeMostCommon":["level","score"]},"merchant_dispute_risk":{"title":"merchant_dispute_risk_specs","required":["level"],"type":"object","properties":{"dispute_rate":{"type":"integer","description":"The dispute rate observed across all Stripe Issuing authorizations for this merchant. For example, a value of 50 means 50% of authorizations from this merchant on Stripe Issuing have resulted in a dispute. Higher values mean a higher likelihood the authorization is disputed. Takes on values between 0 and 100."},"level":{"type":"string","description":"The likelihood that authorizations from this merchant will result in a dispute based on their history on Stripe Issuing.","enum":["elevated","highest","low","normal","not_assessed","unknown"],"x-stripeBypassValidation":true}},"description":"The dispute risk of the merchant (the seller on a purchase) on an authorization based on all Stripe Issuing activity.","x-stripeMostCommon":["dispute_rate","level"]}},"description":"Stripe’s assessment of the fraud risk for this authorization.","x-stripeMostCommon":["card_testing_risk","fraud_risk","merchant_dispute_risk"]},"verification_data":{"title":"verification_data_specs","type":"object","properties":{"address_line1_check":{"type":"string","description":"Whether the cardholder provided an address first line and if it matched the cardholder’s `billing.address.line1`.","enum":["match","mismatch","not_provided"]},"address_postal_code_check":{"type":"string","description":"Whether the cardholder provided a postal code and if it matched the cardholder’s `billing.address.postal_code`.","enum":["match","mismatch","not_provided"]},"authentication_exemption":{"title":"authentication_exemption_specs","required":["claimed_by","type"],"type":"object","properties":{"claimed_by":{"type":"string","description":"The entity that requested the exemption, either the acquiring merchant or the Issuing user.","enum":["acquirer","issuer"]},"type":{"type":"string","description":"The specific exemption claimed for this authorization.","enum":["low_value_transaction","transaction_risk_analysis","unknown"],"x-stripeBypassValidation":true}},"description":"The exemption applied to this authorization.","x-stripeMostCommon":["claimed_by","type"]},"cvc_check":{"type":"string","description":"Whether the cardholder provided a CVC and if it matched Stripe’s record.","enum":["match","mismatch","not_provided"]},"expiry_check":{"type":"string","description":"Whether the cardholder provided an expiry date and if it matched Stripe’s record.","enum":["match","mismatch","not_provided"]},"three_d_secure":{"title":"three_d_secure_specs","required":["result"],"type":"object","properties":{"result":{"type":"string","description":"The outcome of the 3D Secure authentication request.","enum":["attempt_acknowledged","authenticated","failed","required"],"x-stripeBypassValidation":true}},"description":"3D Secure details.","x-stripeMostCommon":["result"]}},"description":"Verifications that Stripe performed on information that the cardholder provided to the merchant.","x-stripeMostCommon":["address_line1_check","address_postal_code_check","authentication_exemption","cvc_check","expiry_check","three_d_secure"]},"wallet":{"type":"string","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"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","card","currency"]},"encoding":{"amount_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"fleet":{"style":"deepObject","explode":true},"fuel":{"style":"deepObject","explode":true},"merchant_data":{"style":"deepObject","explode":true},"network_data":{"style":"deepObject","explode":true},"risk_assessment":{"style":"deepObject","explode":true},"verification_data":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/authorizations/{authorization}/capture":{"post":{"summary":"Capture a test-mode authorization","description":"

Capture a test-mode authorization.

","operationId":"PostTestHelpersIssuingAuthorizationsAuthorizationCapture","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"capture_amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal)."},"close_authorization":{"type":"boolean","description":"Whether to close the authorization after capture. Defaults to true. Set to false to enable multi-capture flows."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"purchase_details":{"title":"purchase_details_specs","type":"object","properties":{"fleet":{"title":"fleet_specs","type":"object","properties":{"cardholder_prompt_data":{"title":"fleet_cardholder_prompt_data_specs","type":"object","properties":{"driver_id":{"maxLength":5000,"type":"string","description":"Driver ID."},"odometer":{"type":"integer","description":"Odometer reading."},"unspecified_id":{"maxLength":5000,"type":"string","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."},"user_id":{"maxLength":5000,"type":"string","description":"User ID."},"vehicle_number":{"maxLength":5000,"type":"string","description":"Vehicle number."}},"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.","x-stripeMostCommon":["driver_id","odometer","unspecified_id","user_id","vehicle_number"]},"purchase_type":{"maxLength":5000,"type":"string","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"]},"reported_breakdown":{"title":"fleet_reported_breakdown_specs","type":"object","properties":{"fuel":{"title":"fleet_reported_breakdown_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"non_fuel":{"title":"fleet_reported_breakdown_non_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of non-fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"tax":{"title":"fleet_reported_breakdown_tax_specs","type":"object","properties":{"local_amount_decimal":{"type":"string","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"},"national_amount_decimal":{"type":"string","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"}},"description":"Information about tax included in this transaction.","x-stripeMostCommon":["local_amount_decimal","national_amount_decimal"]}},"description":"More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.","x-stripeMostCommon":["fuel","non_fuel","tax"]},"service_type":{"maxLength":5000,"type":"string","description":"The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.","enum":["full_service","non_fuel_transaction","self_service"]}},"description":"Fleet-specific information for transactions using Fleet cards.","x-stripeMostCommon":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"]},"flight":{"title":"flight_specs","type":"object","properties":{"departure_at":{"type":"integer","description":"The time that the flight departed.","format":"unix-time"},"passenger_name":{"maxLength":5000,"type":"string","description":"The name of the passenger."},"refundable":{"type":"boolean","description":"Whether the ticket is refundable."},"segments":{"type":"array","description":"The legs of the trip.","items":{"title":"flight_segment_specs","type":"object","properties":{"arrival_airport_code":{"maxLength":3,"type":"string","description":"The three-letter IATA airport code of the flight's destination."},"carrier":{"maxLength":5000,"type":"string","description":"The airline carrier code."},"departure_airport_code":{"maxLength":3,"type":"string","description":"The three-letter IATA airport code that the flight departed from."},"flight_number":{"maxLength":5000,"type":"string","description":"The flight number."},"service_class":{"maxLength":5000,"type":"string","description":"The flight's service class."},"stopover_allowed":{"type":"boolean","description":"Whether a stopover is allowed on this flight."}},"x-stripeMostCommon":["arrival_airport_code","carrier","departure_airport_code","flight_number","service_class","stopover_allowed"]}},"travel_agency":{"maxLength":5000,"type":"string","description":"The travel agency that issued the ticket."}},"description":"Information about the flight that was purchased with this transaction.","x-stripeMostCommon":["departure_at","passenger_name","refundable","segments","travel_agency"]},"fuel":{"title":"fuel_specs","type":"object","properties":{"industry_product_code":{"maxLength":5000,"type":"string","description":"[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased."},"quantity_decimal":{"type":"string","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":{"maxLength":5000,"type":"string","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"]},"unit":{"maxLength":5000,"type":"string","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"]},"unit_cost_decimal":{"type":"string","description":"The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.","format":"decimal"}},"description":"Information about fuel that was purchased with this transaction.","x-stripeMostCommon":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"]},"lodging":{"title":"lodging_specs","type":"object","properties":{"check_in_at":{"type":"integer","description":"The time of checking into the lodging.","format":"unix-time"},"nights":{"type":"integer","description":"The number of nights stayed at the lodging."}},"description":"Information about lodging that was purchased with this transaction.","x-stripeMostCommon":["check_in_at","nights"]},"receipt":{"type":"array","description":"The line items in the purchase.","items":{"title":"receipt_specs","type":"object","properties":{"description":{"maxLength":26,"type":"string"},"quantity":{"type":"string","format":"decimal"},"total":{"type":"integer"},"unit_cost":{"type":"integer"}},"x-stripeMostCommon":["description","quantity","total","unit_cost"]}},"reference":{"maxLength":5000,"type":"string","description":"A merchant-specific order number."}},"description":"Additional purchase information that is optionally provided by the merchant.","x-stripeMostCommon":["fleet","flight","fuel","lodging","receipt","reference"]}},"additionalProperties":false,"x-stripeMostCommon":["capture_amount","close_authorization","purchase_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"purchase_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/authorizations/{authorization}/expire":{"post":{"summary":"Expire a test-mode authorization","description":"

Expire a test-mode Authorization.

","operationId":"PostTestHelpersIssuingAuthorizationsAuthorizationExpire","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount":{"post":{"summary":"Finalize a test-mode authorization's amount","description":"

Finalize the amount on an Authorization prior to capture, when the initial authorization was for an estimated amount.

","operationId":"PostTestHelpersIssuingAuthorizationsAuthorizationFinalizeAmount","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["final_amount"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"final_amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal)."},"fleet":{"title":"fleet_specs","type":"object","properties":{"cardholder_prompt_data":{"title":"fleet_cardholder_prompt_data_specs","type":"object","properties":{"driver_id":{"maxLength":5000,"type":"string","description":"Driver ID."},"odometer":{"type":"integer","description":"Odometer reading."},"unspecified_id":{"maxLength":5000,"type":"string","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."},"user_id":{"maxLength":5000,"type":"string","description":"User ID."},"vehicle_number":{"maxLength":5000,"type":"string","description":"Vehicle number."}},"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.","x-stripeMostCommon":["driver_id","odometer","unspecified_id","user_id","vehicle_number"]},"purchase_type":{"maxLength":5000,"type":"string","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"]},"reported_breakdown":{"title":"fleet_reported_breakdown_specs","type":"object","properties":{"fuel":{"title":"fleet_reported_breakdown_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"non_fuel":{"title":"fleet_reported_breakdown_non_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of non-fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"tax":{"title":"fleet_reported_breakdown_tax_specs","type":"object","properties":{"local_amount_decimal":{"type":"string","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"},"national_amount_decimal":{"type":"string","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"}},"description":"Information about tax included in this transaction.","x-stripeMostCommon":["local_amount_decimal","national_amount_decimal"]}},"description":"More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.","x-stripeMostCommon":["fuel","non_fuel","tax"]},"service_type":{"maxLength":5000,"type":"string","description":"The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.","enum":["full_service","non_fuel_transaction","self_service"]}},"description":"Fleet-specific information for authorizations using Fleet cards.","x-stripeMostCommon":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"]},"fuel":{"title":"fuel_specs","type":"object","properties":{"industry_product_code":{"maxLength":5000,"type":"string","description":"[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased."},"quantity_decimal":{"type":"string","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":{"maxLength":5000,"type":"string","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"]},"unit":{"maxLength":5000,"type":"string","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"]},"unit_cost_decimal":{"type":"string","description":"The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.","format":"decimal"}},"description":"Information about fuel that was purchased with this transaction.","x-stripeMostCommon":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"]}},"additionalProperties":false,"x-stripeMostCommon":["final_amount"]},"encoding":{"expand":{"style":"deepObject","explode":true},"fleet":{"style":"deepObject","explode":true},"fuel":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond":{"post":{"summary":"Respond to fraud challenge","description":"

Respond to a fraud challenge on a testmode Issuing authorization, simulating either a confirmation of fraud or a correction of legitimacy.

","operationId":"PostTestHelpersIssuingAuthorizationsAuthorizationFraudChallengesRespond","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["confirmed"],"type":"object","properties":{"confirmed":{"type":"boolean","description":"Whether to simulate the user confirming that the transaction was legitimate (true) or telling Stripe that it was fraudulent (false)."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["confirmed"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/authorizations/{authorization}/increment":{"post":{"summary":"Increment a test-mode authorization","description":"

Increment a test-mode Authorization.

","operationId":"PostTestHelpersIssuingAuthorizationsAuthorizationIncrement","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["increment_amount"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"increment_amount":{"type":"integer","description":"The amount to increment the authorization by. This amount is in the authorization currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"is_amount_controllable":{"type":"boolean","description":"If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization."}},"additionalProperties":false,"x-stripeMostCommon":["increment_amount","is_amount_controllable"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/authorizations/{authorization}/reverse":{"post":{"summary":"Reverse a test-mode authorization","description":"

Reverse a test-mode Authorization.

","operationId":"PostTestHelpersIssuingAuthorizationsAuthorizationReverse","parameters":[{"name":"authorization","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"reverse_amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal)."}},"additionalProperties":false,"x-stripeMostCommon":["reverse_amount"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.authorization"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/cards/{card}/shipping/deliver":{"post":{"summary":"Deliver a testmode card","description":"

Updates the shipping status of the specified Issuing Card object to delivered.

","operationId":"PostTestHelpersIssuingCardsCardShippingDeliver","parameters":[{"name":"card","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/cards/{card}/shipping/fail":{"post":{"summary":"Fail a testmode card","description":"

Updates the shipping status of the specified Issuing Card object to failure.

","operationId":"PostTestHelpersIssuingCardsCardShippingFail","parameters":[{"name":"card","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/cards/{card}/shipping/return":{"post":{"summary":"Return a testmode card","description":"

Updates the shipping status of the specified Issuing Card object to returned.

","operationId":"PostTestHelpersIssuingCardsCardShippingReturn","parameters":[{"name":"card","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/cards/{card}/shipping/ship":{"post":{"summary":"Ship a testmode card","description":"

Updates the shipping status of the specified Issuing Card object to shipped.

","operationId":"PostTestHelpersIssuingCardsCardShippingShip","parameters":[{"name":"card","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/cards/{card}/shipping/submit":{"post":{"summary":"Submit a testmode card","description":"

Updates the shipping status of the specified Issuing Card object to submitted. This method requires Stripe Version ‘2024-09-30.acacia’ or later.

","operationId":"PostTestHelpersIssuingCardsCardShippingSubmit","parameters":[{"name":"card","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.card"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/activate":{"post":{"summary":"Activate a testmode personalization design","description":"

Updates the status of the specified testmode personalization design object to active.

","operationId":"PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignActivate","parameters":[{"name":"personalization_design","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.personalization_design"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/deactivate":{"post":{"summary":"Deactivate a testmode personalization design","description":"

Updates the status of the specified testmode personalization design object to inactive.

","operationId":"PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignDeactivate","parameters":[{"name":"personalization_design","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.personalization_design"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/personalization_designs/{personalization_design}/reject":{"post":{"summary":"Reject a testmode personalization design","description":"

Updates the status of the specified testmode personalization design object to rejected.

","operationId":"PostTestHelpersIssuingPersonalizationDesignsPersonalizationDesignReject","parameters":[{"name":"personalization_design","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["rejection_reasons"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"rejection_reasons":{"title":"rejection_reasons_param","type":"object","properties":{"card_logo":{"type":"array","description":"The reason(s) the card logo was rejected.","items":{"type":"string","enum":["geographic_location","inappropriate","network_name","non_binary_image","non_fiat_currency","other","other_entity","promotional_material"]}},"carrier_text":{"type":"array","description":"The reason(s) the carrier text was rejected.","items":{"type":"string","enum":["geographic_location","inappropriate","network_name","non_fiat_currency","other","other_entity","promotional_material"]}}},"description":"The reason(s) the personalization design was rejected.","x-stripeMostCommon":["card_logo","carrier_text"]}},"additionalProperties":false,"x-stripeMostCommon":["rejection_reasons"]},"encoding":{"expand":{"style":"deepObject","explode":true},"rejection_reasons":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.personalization_design"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/transactions/create_force_capture":{"post":{"summary":"Create a test-mode force capture","description":"

Allows the user to capture an arbitrary amount, also known as a forced capture.

","operationId":"PostTestHelpersIssuingTransactionsCreateForceCapture","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","card"],"type":"object","properties":{"amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal)."},"card":{"maxLength":5000,"type":"string","description":"Card associated with this transaction."},"currency":{"type":"string","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).","format":"currency"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"merchant_data":{"title":"merchant_data_specs","type":"object","properties":{"category":{"maxLength":5000,"type":"string","description":"A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/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"]},"city":{"maxLength":5000,"type":"string","description":"City where the seller is located"},"country":{"maxLength":5000,"type":"string","description":"Country where the seller is located"},"name":{"maxLength":5000,"type":"string","description":"Name of the seller"},"network_id":{"maxLength":5000,"type":"string","description":"Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code where the seller is located"},"state":{"maxLength":5000,"type":"string","description":"State where the seller is located"},"terminal_id":{"maxLength":5000,"type":"string","description":"An ID assigned by the seller to the location of the sale."},"url":{"maxLength":5000,"type":"string","description":"URL provided by the merchant on a 3DS request"}},"description":"Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.","x-stripeMostCommon":["category","city","country","name","network_id","postal_code","state","terminal_id","url"]},"purchase_details":{"title":"purchase_details_specs","type":"object","properties":{"fleet":{"title":"fleet_specs","type":"object","properties":{"cardholder_prompt_data":{"title":"fleet_cardholder_prompt_data_specs","type":"object","properties":{"driver_id":{"maxLength":5000,"type":"string","description":"Driver ID."},"odometer":{"type":"integer","description":"Odometer reading."},"unspecified_id":{"maxLength":5000,"type":"string","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."},"user_id":{"maxLength":5000,"type":"string","description":"User ID."},"vehicle_number":{"maxLength":5000,"type":"string","description":"Vehicle number."}},"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.","x-stripeMostCommon":["driver_id","odometer","unspecified_id","user_id","vehicle_number"]},"purchase_type":{"maxLength":5000,"type":"string","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"]},"reported_breakdown":{"title":"fleet_reported_breakdown_specs","type":"object","properties":{"fuel":{"title":"fleet_reported_breakdown_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"non_fuel":{"title":"fleet_reported_breakdown_non_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of non-fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"tax":{"title":"fleet_reported_breakdown_tax_specs","type":"object","properties":{"local_amount_decimal":{"type":"string","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"},"national_amount_decimal":{"type":"string","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"}},"description":"Information about tax included in this transaction.","x-stripeMostCommon":["local_amount_decimal","national_amount_decimal"]}},"description":"More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.","x-stripeMostCommon":["fuel","non_fuel","tax"]},"service_type":{"maxLength":5000,"type":"string","description":"The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.","enum":["full_service","non_fuel_transaction","self_service"]}},"description":"Fleet-specific information for transactions using Fleet cards.","x-stripeMostCommon":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"]},"flight":{"title":"flight_specs","type":"object","properties":{"departure_at":{"type":"integer","description":"The time that the flight departed.","format":"unix-time"},"passenger_name":{"maxLength":5000,"type":"string","description":"The name of the passenger."},"refundable":{"type":"boolean","description":"Whether the ticket is refundable."},"segments":{"type":"array","description":"The legs of the trip.","items":{"title":"flight_segment_specs","type":"object","properties":{"arrival_airport_code":{"maxLength":3,"type":"string","description":"The three-letter IATA airport code of the flight's destination."},"carrier":{"maxLength":5000,"type":"string","description":"The airline carrier code."},"departure_airport_code":{"maxLength":3,"type":"string","description":"The three-letter IATA airport code that the flight departed from."},"flight_number":{"maxLength":5000,"type":"string","description":"The flight number."},"service_class":{"maxLength":5000,"type":"string","description":"The flight's service class."},"stopover_allowed":{"type":"boolean","description":"Whether a stopover is allowed on this flight."}},"x-stripeMostCommon":["arrival_airport_code","carrier","departure_airport_code","flight_number","service_class","stopover_allowed"]}},"travel_agency":{"maxLength":5000,"type":"string","description":"The travel agency that issued the ticket."}},"description":"Information about the flight that was purchased with this transaction.","x-stripeMostCommon":["departure_at","passenger_name","refundable","segments","travel_agency"]},"fuel":{"title":"fuel_specs","type":"object","properties":{"industry_product_code":{"maxLength":5000,"type":"string","description":"[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased."},"quantity_decimal":{"type":"string","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":{"maxLength":5000,"type":"string","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"]},"unit":{"maxLength":5000,"type":"string","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"]},"unit_cost_decimal":{"type":"string","description":"The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.","format":"decimal"}},"description":"Information about fuel that was purchased with this transaction.","x-stripeMostCommon":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"]},"lodging":{"title":"lodging_specs","type":"object","properties":{"check_in_at":{"type":"integer","description":"The time of checking into the lodging.","format":"unix-time"},"nights":{"type":"integer","description":"The number of nights stayed at the lodging."}},"description":"Information about lodging that was purchased with this transaction.","x-stripeMostCommon":["check_in_at","nights"]},"receipt":{"type":"array","description":"The line items in the purchase.","items":{"title":"receipt_specs","type":"object","properties":{"description":{"maxLength":26,"type":"string"},"quantity":{"type":"string","format":"decimal"},"total":{"type":"integer"},"unit_cost":{"type":"integer"}},"x-stripeMostCommon":["description","quantity","total","unit_cost"]}},"reference":{"maxLength":5000,"type":"string","description":"A merchant-specific order number."}},"description":"Additional purchase information that is optionally provided by the merchant.","x-stripeMostCommon":["fleet","flight","fuel","lodging","receipt","reference"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","card","currency"]},"encoding":{"expand":{"style":"deepObject","explode":true},"merchant_data":{"style":"deepObject","explode":true},"purchase_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/transactions/create_unlinked_refund":{"post":{"summary":"Create a test-mode unlinked refund","description":"

Allows the user to refund an arbitrary amount, also known as a unlinked refund.

","operationId":"PostTestHelpersIssuingTransactionsCreateUnlinkedRefund","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","card"],"type":"object","properties":{"amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal)."},"card":{"maxLength":5000,"type":"string","description":"Card associated with this unlinked refund transaction."},"currency":{"type":"string","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).","format":"currency"},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"merchant_data":{"title":"merchant_data_specs","type":"object","properties":{"category":{"maxLength":5000,"type":"string","description":"A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/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"]},"city":{"maxLength":5000,"type":"string","description":"City where the seller is located"},"country":{"maxLength":5000,"type":"string","description":"Country where the seller is located"},"name":{"maxLength":5000,"type":"string","description":"Name of the seller"},"network_id":{"maxLength":5000,"type":"string","description":"Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code where the seller is located"},"state":{"maxLength":5000,"type":"string","description":"State where the seller is located"},"terminal_id":{"maxLength":5000,"type":"string","description":"An ID assigned by the seller to the location of the sale."},"url":{"maxLength":5000,"type":"string","description":"URL provided by the merchant on a 3DS request"}},"description":"Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.","x-stripeMostCommon":["category","city","country","name","network_id","postal_code","state","terminal_id","url"]},"purchase_details":{"title":"purchase_details_specs","type":"object","properties":{"fleet":{"title":"fleet_specs","type":"object","properties":{"cardholder_prompt_data":{"title":"fleet_cardholder_prompt_data_specs","type":"object","properties":{"driver_id":{"maxLength":5000,"type":"string","description":"Driver ID."},"odometer":{"type":"integer","description":"Odometer reading."},"unspecified_id":{"maxLength":5000,"type":"string","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."},"user_id":{"maxLength":5000,"type":"string","description":"User ID."},"vehicle_number":{"maxLength":5000,"type":"string","description":"Vehicle number."}},"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.","x-stripeMostCommon":["driver_id","odometer","unspecified_id","user_id","vehicle_number"]},"purchase_type":{"maxLength":5000,"type":"string","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"]},"reported_breakdown":{"title":"fleet_reported_breakdown_specs","type":"object","properties":{"fuel":{"title":"fleet_reported_breakdown_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"non_fuel":{"title":"fleet_reported_breakdown_non_fuel_specs","type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.","format":"decimal"}},"description":"Breakdown of non-fuel portion of the purchase.","x-stripeMostCommon":["gross_amount_decimal"]},"tax":{"title":"fleet_reported_breakdown_tax_specs","type":"object","properties":{"local_amount_decimal":{"type":"string","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"},"national_amount_decimal":{"type":"string","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"}},"description":"Information about tax included in this transaction.","x-stripeMostCommon":["local_amount_decimal","national_amount_decimal"]}},"description":"More information about the total amount. This information is not guaranteed to be accurate as some merchants may provide unreliable data.","x-stripeMostCommon":["fuel","non_fuel","tax"]},"service_type":{"maxLength":5000,"type":"string","description":"The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.","enum":["full_service","non_fuel_transaction","self_service"]}},"description":"Fleet-specific information for transactions using Fleet cards.","x-stripeMostCommon":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"]},"flight":{"title":"flight_specs","type":"object","properties":{"departure_at":{"type":"integer","description":"The time that the flight departed.","format":"unix-time"},"passenger_name":{"maxLength":5000,"type":"string","description":"The name of the passenger."},"refundable":{"type":"boolean","description":"Whether the ticket is refundable."},"segments":{"type":"array","description":"The legs of the trip.","items":{"title":"flight_segment_specs","type":"object","properties":{"arrival_airport_code":{"maxLength":3,"type":"string","description":"The three-letter IATA airport code of the flight's destination."},"carrier":{"maxLength":5000,"type":"string","description":"The airline carrier code."},"departure_airport_code":{"maxLength":3,"type":"string","description":"The three-letter IATA airport code that the flight departed from."},"flight_number":{"maxLength":5000,"type":"string","description":"The flight number."},"service_class":{"maxLength":5000,"type":"string","description":"The flight's service class."},"stopover_allowed":{"type":"boolean","description":"Whether a stopover is allowed on this flight."}},"x-stripeMostCommon":["arrival_airport_code","carrier","departure_airport_code","flight_number","service_class","stopover_allowed"]}},"travel_agency":{"maxLength":5000,"type":"string","description":"The travel agency that issued the ticket."}},"description":"Information about the flight that was purchased with this transaction.","x-stripeMostCommon":["departure_at","passenger_name","refundable","segments","travel_agency"]},"fuel":{"title":"fuel_specs","type":"object","properties":{"industry_product_code":{"maxLength":5000,"type":"string","description":"[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased."},"quantity_decimal":{"type":"string","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":{"maxLength":5000,"type":"string","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"]},"unit":{"maxLength":5000,"type":"string","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"]},"unit_cost_decimal":{"type":"string","description":"The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.","format":"decimal"}},"description":"Information about fuel that was purchased with this transaction.","x-stripeMostCommon":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"]},"lodging":{"title":"lodging_specs","type":"object","properties":{"check_in_at":{"type":"integer","description":"The time of checking into the lodging.","format":"unix-time"},"nights":{"type":"integer","description":"The number of nights stayed at the lodging."}},"description":"Information about lodging that was purchased with this transaction.","x-stripeMostCommon":["check_in_at","nights"]},"receipt":{"type":"array","description":"The line items in the purchase.","items":{"title":"receipt_specs","type":"object","properties":{"description":{"maxLength":26,"type":"string"},"quantity":{"type":"string","format":"decimal"},"total":{"type":"integer"},"unit_cost":{"type":"integer"}},"x-stripeMostCommon":["description","quantity","total","unit_cost"]}},"reference":{"maxLength":5000,"type":"string","description":"A merchant-specific order number."}},"description":"Additional purchase information that is optionally provided by the merchant.","x-stripeMostCommon":["fleet","flight","fuel","lodging","receipt","reference"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","card","currency"]},"encoding":{"expand":{"style":"deepObject","explode":true},"merchant_data":{"style":"deepObject","explode":true},"purchase_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/issuing/transactions/{transaction}/refund":{"post":{"summary":"Refund a test-mode transaction","description":"

Refund a test-mode Transaction.

","operationId":"PostTestHelpersIssuingTransactionsTransactionRefund","parameters":[{"name":"transaction","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"refund_amount":{"type":"integer","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://docs.stripe.com/currencies#zero-decimal)."}},"additionalProperties":false,"x-stripeMostCommon":["refund_amount"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/issuing.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/refunds/{refund}/expire":{"post":{"summary":"Expire a pending refund.","description":"

Expire a refund with a status of requires_action.

","operationId":"PostTestHelpersRefundsRefundExpire","parameters":[{"name":"refund","in":"path","required":true,"style":"simple","explode":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/refund"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/terminal/readers/{reader}/present_payment_method":{"post":{"summary":"Simulate presenting a payment method","description":"

Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction.

","operationId":"PostTestHelpersTerminalReadersReaderPresentPaymentMethod","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount_tip":{"type":"integer","description":"Simulated on-reader tip amount."},"card":{"title":"card","required":["exp_month","exp_year","number"],"type":"object","properties":{"cvc":{"maxLength":5000,"type":"string","description":"Card security code."},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Two- or four-digit number representing the card's expiration year."},"number":{"maxLength":5000,"type":"string","description":"The card number, as a string without any separators."}},"description":"Simulated data for the card payment method.","x-stripeMostCommon":["cvc","exp_month","exp_year","number"]},"card_present":{"title":"card_present","type":"object","properties":{"number":{"maxLength":5000,"type":"string","description":"The card number, as a string without any separators."}},"description":"Simulated data for the card_present payment method.","x-stripeMostCommon":["number"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"interac_present":{"title":"interac_present","type":"object","properties":{"number":{"maxLength":5000,"type":"string","description":"The Interac card number."}},"description":"Simulated data for the interac_present payment method.","x-stripeMostCommon":["number"]},"type":{"type":"string","description":"Simulated payment type.","enum":["card","card_present","interac_present"]}},"additionalProperties":false,"x-stripeMostCommon":["card_present","type"]},"encoding":{"card":{"style":"deepObject","explode":true},"card_present":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"interac_present":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection":{"post":{"summary":"Simulate a successful input collection","description":"

Use this endpoint to trigger a successful input collection on a simulated reader.

","operationId":"PostTestHelpersTerminalReadersReaderSucceedInputCollection","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"skip_non_required_inputs":{"type":"string","description":"This parameter defines the skip behavior for input collection.","enum":["all","none"]}},"additionalProperties":false,"x-stripeMostCommon":["skip_non_required_inputs"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection":{"post":{"summary":"Simulate an input collection timeout","description":"

Use this endpoint to complete an input collection with a timeout error on a simulated reader.

","operationId":"PostTestHelpersTerminalReadersReaderTimeoutInputCollection","parameters":[{"name":"reader","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/terminal.reader"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/test_clocks":{"get":{"summary":"List all test clocks","description":"

Returns a list of your test clocks.

","operationId":"GetTestHelpersTestClocks","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"BillingClocksResourceBillingClockList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/test_helpers.test_clock"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/test_helpers/test_clocks","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a test clock","description":"

Creates a new test clock that can be attached to new customers and quotes.

","operationId":"PostTestHelpersTestClocks","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["frozen_time"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"frozen_time":{"type":"integer","description":"The initial frozen time for this test clock.","format":"unix-time"},"name":{"maxLength":300,"type":"string","description":"The name for this test clock."}},"additionalProperties":false,"x-stripeMostCommon":["frozen_time","name"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/test_helpers.test_clock"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/test_clocks/{test_clock}":{"get":{"summary":"Retrieve a test clock","description":"

Retrieves a test clock.

","operationId":"GetTestHelpersTestClocksTestClock","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"test_clock","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/test_helpers.test_clock"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a test clock","description":"

Deletes a test clock.

","operationId":"DeleteTestHelpersTestClocksTestClock","parameters":[{"name":"test_clock","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_test_helpers.test_clock"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/test_clocks/{test_clock}/advance":{"post":{"summary":"Advance a test clock","description":"

Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to Ready.

","operationId":"PostTestHelpersTestClocksTestClockAdvance","parameters":[{"name":"test_clock","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["frozen_time"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"frozen_time":{"type":"integer","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"}},"additionalProperties":false,"x-stripeMostCommon":["frozen_time"]},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/test_helpers.test_clock"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/inbound_transfers/{id}/fail":{"post":{"summary":"Test mode: Fail an InboundTransfer","description":"

Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.

","operationId":"PostTestHelpersTreasuryInboundTransfersIdFail","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"failure_details":{"title":"failure_details_param","type":"object","properties":{"code":{"type":"string","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"]}},"description":"Details about a failed InboundTransfer.","x-stripeMostCommon":["code","network_details"]}},"additionalProperties":false,"x-stripeMostCommon":["failure_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"failure_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.inbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/inbound_transfers/{id}/return":{"post":{"summary":"Test mode: Return an InboundTransfer","description":"

Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.

","operationId":"PostTestHelpersTreasuryInboundTransfersIdReturn","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.inbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/inbound_transfers/{id}/succeed":{"post":{"summary":"Test mode: Succeed an InboundTransfer","description":"

Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.

","operationId":"PostTestHelpersTreasuryInboundTransfersIdSucceed","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.inbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_payments/{id}":{"post":{"summary":"Test mode: Update an OutboundPayment","description":"

Updates a test mode created OutboundPayment with tracking details. The OutboundPayment must not be cancelable, and cannot be in the canceled or failed states.

","operationId":"PostTestHelpersTreasuryOutboundPaymentsId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["tracking_details"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"tracking_details":{"title":"tracking_details_params","required":["type"],"type":"object","properties":{"ach":{"title":"ach_tracking_details_params","required":["trace_id"],"type":"object","properties":{"trace_id":{"maxLength":5000,"type":"string","description":"ACH trace ID for funds sent over the `ach` network."}},"description":"ACH network tracking details.","x-stripeMostCommon":["trace_id"]},"type":{"type":"string","description":"The US bank account network used to send funds.","enum":["ach","us_domestic_wire"]},"us_domestic_wire":{"title":"us_domestic_wire_tracking_details_params","type":"object","properties":{"chips":{"maxLength":5000,"type":"string","description":"CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network."},"imad":{"maxLength":5000,"type":"string","description":"IMAD for funds sent over the `us_domestic_wire` network."},"omad":{"maxLength":5000,"type":"string","description":"OMAD for funds sent over the `us_domestic_wire` network."}},"description":"US domestic wire network tracking details.","x-stripeMostCommon":["chips","imad","omad"]}},"description":"Details about network-specific tracking information.","x-stripeMostCommon":["ach","type","us_domestic_wire"]}},"additionalProperties":false,"x-stripeMostCommon":["tracking_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"tracking_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_payments/{id}/fail":{"post":{"summary":"Test mode: Fail an OutboundPayment","description":"

Transitions a test mode created OutboundPayment to the failed status. The OutboundPayment must already be in the processing state.

","operationId":"PostTestHelpersTreasuryOutboundPaymentsIdFail","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_payments/{id}/post":{"post":{"summary":"Test mode: Post an OutboundPayment","description":"

Transitions a test mode created OutboundPayment to the posted status. The OutboundPayment must already be in the processing state.

","operationId":"PostTestHelpersTreasuryOutboundPaymentsIdPost","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_payments/{id}/return":{"post":{"summary":"Test mode: Return an OutboundPayment","description":"

Transitions a test mode created OutboundPayment to the returned status. The OutboundPayment must already be in the processing state.

","operationId":"PostTestHelpersTreasuryOutboundPaymentsIdReturn","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"returned_details":{"title":"returned_details_params","type":"object","properties":{"code":{"type":"string","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"]}},"description":"Optional hash to set the return code.","x-stripeMostCommon":["code"]}},"additionalProperties":false,"x-stripeMostCommon":["returned_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"returned_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}":{"post":{"summary":"Test mode: Update an OutboundTransfer","description":"

Updates a test mode created OutboundTransfer with tracking details. The OutboundTransfer must not be cancelable, and cannot be in the canceled or failed states.

","operationId":"PostTestHelpersTreasuryOutboundTransfersOutboundTransfer","parameters":[{"name":"outbound_transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["tracking_details"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"tracking_details":{"title":"tracking_details_params","required":["type"],"type":"object","properties":{"ach":{"title":"ach_tracking_details_params","required":["trace_id"],"type":"object","properties":{"trace_id":{"maxLength":5000,"type":"string","description":"ACH trace ID for funds sent over the `ach` network."}},"description":"ACH network tracking details.","x-stripeMostCommon":["trace_id"]},"type":{"type":"string","description":"The US bank account network used to send funds.","enum":["ach","us_domestic_wire"]},"us_domestic_wire":{"title":"us_domestic_wire_tracking_details_params","type":"object","properties":{"chips":{"maxLength":5000,"type":"string","description":"CHIPS System Sequence Number (SSN) for funds sent over the `us_domestic_wire` network."},"imad":{"maxLength":5000,"type":"string","description":"IMAD for funds sent over the `us_domestic_wire` network."},"omad":{"maxLength":5000,"type":"string","description":"OMAD for funds sent over the `us_domestic_wire` network."}},"description":"US domestic wire network tracking details.","x-stripeMostCommon":["chips","imad","omad"]}},"description":"Details about network-specific tracking information.","x-stripeMostCommon":["ach","type","us_domestic_wire"]}},"additionalProperties":false,"x-stripeMostCommon":["tracking_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"tracking_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/fail":{"post":{"summary":"Test mode: Fail an OutboundTransfer","description":"

Transitions a test mode created OutboundTransfer to the failed status. The OutboundTransfer must already be in the processing state.

","operationId":"PostTestHelpersTreasuryOutboundTransfersOutboundTransferFail","parameters":[{"name":"outbound_transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/post":{"post":{"summary":"Test mode: Post an OutboundTransfer","description":"

Transitions a test mode created OutboundTransfer to the posted status. The OutboundTransfer must already be in the processing state.

","operationId":"PostTestHelpersTreasuryOutboundTransfersOutboundTransferPost","parameters":[{"name":"outbound_transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/outbound_transfers/{outbound_transfer}/return":{"post":{"summary":"Test mode: Return an OutboundTransfer","description":"

Transitions a test mode created OutboundTransfer to the returned status. The OutboundTransfer must already be in the processing state.

","operationId":"PostTestHelpersTreasuryOutboundTransfersOutboundTransferReturn","parameters":[{"name":"outbound_transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"returned_details":{"title":"returned_details_params","type":"object","properties":{"code":{"type":"string","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"]}},"description":"Details about a returned OutboundTransfer.","x-stripeMostCommon":["code"]}},"additionalProperties":false,"x-stripeMostCommon":["returned_details"]},"encoding":{"expand":{"style":"deepObject","explode":true},"returned_details":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/received_credits":{"post":{"summary":"Test mode: Create a ReceivedCredit","description":"

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.

","operationId":"PostTestHelpersTreasuryReceivedCredits","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency","financial_account","network"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) to be transferred."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"financial_account":{"type":"string","description":"The FinancialAccount to send funds to."},"initiating_payment_method_details":{"title":"source_params","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The source type.","enum":["us_bank_account"]},"us_bank_account":{"title":"us_bank_account_source_params","type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The bank account holder's name."},"account_number":{"maxLength":5000,"type":"string","description":"The bank account number."},"routing_number":{"maxLength":5000,"type":"string","description":"The bank account's routing number."}},"description":"Optional fields for `us_bank_account`.","x-stripeMostCommon":["account_holder_name","account_number","routing_number"]}},"description":"Initiating payment method details for the object.","x-stripeMostCommon":["type","us_bank_account"]},"network":{"type":"string","description":"Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.","enum":["ach","us_domestic_wire"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","financial_account","initiating_payment_method_details","network"]},"encoding":{"expand":{"style":"deepObject","explode":true},"initiating_payment_method_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.received_credit"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/test_helpers/treasury/received_debits":{"post":{"summary":"Test mode: Create a ReceivedDebit","description":"

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.

","operationId":"PostTestHelpersTreasuryReceivedDebits","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency","financial_account","network"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) to be transferred."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"financial_account":{"type":"string","description":"The FinancialAccount to pull funds from."},"initiating_payment_method_details":{"title":"source_params","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The source type.","enum":["us_bank_account"]},"us_bank_account":{"title":"us_bank_account_source_params","type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The bank account holder's name."},"account_number":{"maxLength":5000,"type":"string","description":"The bank account number."},"routing_number":{"maxLength":5000,"type":"string","description":"The bank account's routing number."}},"description":"Optional fields for `us_bank_account`.","x-stripeMostCommon":["account_holder_name","account_number","routing_number"]}},"description":"Initiating payment method details for the object.","x-stripeMostCommon":["type","us_bank_account"]},"network":{"type":"string","description":"Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.","enum":["ach"]}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","financial_account","initiating_payment_method_details","network"]},"encoding":{"expand":{"style":"deepObject","explode":true},"initiating_payment_method_details":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.received_debit"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tokens":{"post":{"summary":"Create a CVC update token","description":"

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 connected account where controller.requirement_collection is application, which includes Custom accounts.

","operationId":"PostTokens","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"account":{"title":"connect_js_account_token_specs","type":"object","properties":{"business_type":{"type":"string","description":"The business type.","enum":["company","government_entity","individual","non_profit"],"x-stripeBypassValidation":true},"company":{"title":"connect_js_account_token_company_specs","type":"object","properties":{"address":{"title":"legal_entity_and_kyc_address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The company's primary address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the company's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the company's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"directors_provided":{"type":"boolean","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."},"directorship_declaration":{"title":"company_directorship_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the directorship declaration attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the directorship declaration attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the directorship declaration attestation was made."}},"description":"This hash is used to attest that the directors information provided to Stripe is both current and correct.","x-stripeMostCommon":["date","ip","user_agent"]},"executives_provided":{"type":"boolean","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."},"export_license_id":{"maxLength":5000,"type":"string","description":"The export license ID number of the company, also referred as Import Export Code (India only)."},"export_purpose_code":{"maxLength":5000,"type":"string","description":"The purpose code to use for export transactions (India only)."},"name":{"maxLength":100,"type":"string","description":"The company's legal name."},"name_kana":{"maxLength":100,"type":"string","description":"The Kana variation of the company's legal name (Japan only)."},"name_kanji":{"maxLength":100,"type":"string","description":"The Kanji variation of the company's legal name (Japan only)."},"owners_provided":{"type":"boolean","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."},"ownership_declaration":{"title":"company_ownership_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the beneficial owner attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the beneficial owner attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the beneficial owner attestation was made."}},"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.","x-stripeMostCommon":["date","ip","user_agent"]},"ownership_declaration_shown_and_signed":{"type":"boolean","description":"Whether the user described by the data in the token has been shown the Ownership Declaration and indicated that it is correct."},"ownership_exemption_reason":{"type":"string","description":"This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.","enum":["","qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"]},"phone":{"maxLength":5000,"type":"string","description":"The company's phone number (used for verification)."},"registration_date":{"description":"When the business was incorporated or registered.","anyOf":[{"title":"registration_date_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31."},"month":{"type":"integer","description":"The month of registration, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of registration."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"registration_number":{"maxLength":5000,"type":"string","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)."},"representative_declaration":{"title":"company_representative_declaration","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the representative declaration attestation was made.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the representative declaration attestation was made."},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the representative declaration attestation was made."}},"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity.","x-stripeMostCommon":["date","ip","user_agent"]},"structure":{"type":"string","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"],"x-stripeBypassValidation":true},"tax_id":{"maxLength":5000,"type":"string","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.)"},"tax_id_registrar":{"maxLength":5000,"type":"string","description":"The jurisdiction in which the `tax_id` is registered (Germany-based companies only)."},"vat_id":{"maxLength":5000,"type":"string","description":"The VAT number of the company."},"verification":{"title":"verification_specs","type":"object","properties":{"document":{"title":"verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of a document returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of a document returned by a [file upload](https://api.stripe.com#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."}},"description":"A document verifying the business.","x-stripeMostCommon":["back","front"]}},"description":"Information on the verification state of the company.","x-stripeMostCommon":["document"]}},"description":"Information about the company or business.","x-stripeMostCommon":["address","address_kana","address_kanji","contact_point_verification_address","cross_border_transaction_classifications","directors_provided","directorship_declaration","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","trust_owned","vat_id","vat_registration_status","verification"]},"individual":{"title":"individual_specs","type":"object","properties":{"address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The individual's primary address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the individual's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the individual's primary address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"dob":{"description":"The individual's date of birth.","anyOf":[{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"email":{"type":"string","description":"The individual's email address."},"first_name":{"maxLength":100,"type":"string","description":"The individual's first name."},"first_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the individual's first name (Japan only)."},"first_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the individual's first name (Japan only)."},"full_name_aliases":{"description":"A list of alternate names or aliases that the individual is known by.","anyOf":[{"type":"array","items":{"maxLength":300,"type":"string"}},{"type":"string","enum":[""]}]},"gender":{"type":"string","description":"The individual's gender"},"id_number":{"maxLength":5000,"type":"string","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)."},"id_number_secondary":{"maxLength":5000,"type":"string","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)."},"last_name":{"maxLength":100,"type":"string","description":"The individual's last name."},"last_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the individual's last name (Japan only)."},"last_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the individual's last name (Japan only)."},"maiden_name":{"maxLength":5000,"type":"string","description":"The individual's maiden name."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"phone":{"type":"string","description":"The individual's phone number."},"political_exposure":{"type":"string","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"]},"registered_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The individual's registered address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"relationship":{"title":"individual_relationship_specs","type":"object","properties":{"director":{"type":"boolean","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."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s legal entity."},"percent_ownership":{"description":"The percent owned by the person of the account's legal entity.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"title":{"maxLength":5000,"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"Describes the person’s relationship to the account.","x-stripeMostCommon":["controller","director","executive","officer","owner","partner","percent_ownership","title"]},"ssn_last_4":{"maxLength":5000,"type":"string","description":"The last four digits of the individual's Social Security Number (U.S. only)."},"verification":{"title":"person_verification_specs","type":"object","properties":{"additional_document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.","x-stripeMostCommon":["back","electronic_id","front"]},"document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","electronic_id","front"]}},"description":"The individual's verification document information.","x-stripeMostCommon":["additional_document","document","proof_of_liveness"]}},"description":"Information about the person represented by the account.","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","self_reported_income","self_reported_monthly_housing_payment","ssn_last_4","verification"]},"tos_shown_and_accepted":{"type":"boolean","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`."}},"description":"Information for the account this token represents.","x-stripeMostCommon":["business_type","company","individual","tos_shown_and_accepted"]},"bank_account":{"title":"token_create_bank_account","required":["account_number","country"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","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."},"account_holder_type":{"maxLength":5000,"type":"string","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"]},"account_number":{"maxLength":5000,"type":"string","description":"The account number for the bank account, in string form. Must be a checking account."},"account_type":{"maxLength":5000,"type":"string","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"]},"country":{"maxLength":5000,"type":"string","description":"The country in which the bank account is located."},"currency":{"type":"string","description":"The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](https://docs.stripe.com/payouts)","format":"currency"},"payment_method":{"maxLength":5000,"type":"string","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`."},"routing_number":{"maxLength":5000,"type":"string","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."}},"description":"The bank account this token will represent.","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":{"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.","anyOf":[{"title":"credit_card_specs","required":["exp_month","exp_year","number"],"type":"object","properties":{"address_city":{"maxLength":5000,"type":"string","description":"City / District / Suburb / Town / Village."},"address_country":{"maxLength":5000,"type":"string","description":"Billing address country, if provided."},"address_line1":{"maxLength":5000,"type":"string","description":"Address line 1 (Street address / PO Box / Company name)."},"address_line2":{"maxLength":5000,"type":"string","description":"Address line 2 (Apartment / Suite / Unit / Building)."},"address_state":{"maxLength":5000,"type":"string","description":"State / County / Province / Region."},"address_zip":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"currency":{"maxLength":5000,"type":"string","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."},"cvc":{"maxLength":5000,"type":"string","description":"Card security code. Highly recommended to always include this value."},"exp_month":{"maxLength":5000,"type":"string","description":"Two-digit number representing the card's expiration month."},"exp_year":{"maxLength":5000,"type":"string","description":"Two- or four-digit number representing the card's expiration year."},"name":{"maxLength":5000,"type":"string","description":"Cardholder's full name."},"networks":{"title":"networks_param_specs","type":"object","properties":{"preferred":{"type":"string","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"]}},"description":"Contains information about card networks used to process the payment.","x-stripeMostCommon":["preferred"]},"number":{"maxLength":5000,"type":"string","description":"The card number, as a string without any separators."}},"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"}],"x-stripeBypassValidation":true},"customer":{"maxLength":5000,"type":"string","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://docs.stripe.com/connect/standard-accounts) or [Stripe-Account header](https://docs.stripe.com/connect/authentication). Learn more about [cloning saved payment methods](https://docs.stripe.com/connect/cloning-saved-payment-methods)."},"cvc_update":{"title":"cvc_params","required":["cvc"],"type":"object","properties":{"cvc":{"maxLength":5000,"type":"string","description":"The CVC value, in string form."}},"description":"The updated CVC value this token represents.","x-stripeMostCommon":["cvc"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"person":{"title":"person_token_specs","type":"object","properties":{"additional_tos_acceptances":{"title":"person_additional_tos_acceptances_specs","type":"object","properties":{"account":{"title":"settings_terms_of_service_specs","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","format":"unix-time"},"ip":{"type":"string","description":"The IP address from which the account representative accepted the service agreement."},"user_agent":{"description":"The user agent of the browser from which the account representative accepted the service agreement.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Details on the legal guardian's acceptance of the main Stripe service agreement.","x-stripeMostCommon":["date","ip","user_agent"]}},"description":"Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.","x-stripeMostCommon":["account","representative"]},"address":{"title":"legal_entity_and_kyc_address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The person's address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"address_kana":{"title":"japan_address_kana_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kana variation of the person's address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"address_kanji":{"title":"japan_address_kanji_specs","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City or ward."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Block or building number."},"line2":{"maxLength":5000,"type":"string","description":"Building details."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code."},"state":{"maxLength":5000,"type":"string","description":"Prefecture."},"town":{"maxLength":5000,"type":"string","description":"Town or cho-me."}},"description":"The Kanji variation of the person's address (Japan only).","x-stripeMostCommon":["city","country","db_code","line1","line2","postal_code","state","town"]},"dob":{"description":"The person's date of birth.","anyOf":[{"title":"date_of_birth_specs","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"x-stripeMostCommon":["day","month","year"]},{"type":"string","enum":[""]}]},"documents":{"title":"person_documents_specs","type":"object","properties":{"company_authorization":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company.","x-stripeMostCommon":["files"]},"passport":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents showing the person's passport page with photo and personal data.","x-stripeMostCommon":["files"]},"visa":{"title":"documents_param","type":"object","properties":{"files":{"type":"array","description":"One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.","items":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"string","enum":[""]}]}}},"description":"One or more documents showing the person's visa required for living in the country where they are residing.","x-stripeMostCommon":["files"]}},"description":"Documents that may be submitted to satisfy various informational requests.","x-stripeMostCommon":["DASHBOARD_proof_of_liveness","company_authorization","passport","visa"]},"email":{"type":"string","description":"The person's email address."},"first_name":{"maxLength":5000,"type":"string","description":"The person's first name."},"first_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's first name (Japan only)."},"first_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's first name (Japan only)."},"full_name_aliases":{"description":"A list of alternate names or aliases that the person is known by.","anyOf":[{"type":"array","items":{"maxLength":5000,"type":"string"}},{"type":"string","enum":[""]}]},"gender":{"type":"string","description":"The person's gender (International regulations require either \"male\" or \"female\")."},"id_number":{"maxLength":5000,"type":"string","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)."},"id_number_secondary":{"maxLength":5000,"type":"string","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)."},"last_name":{"maxLength":5000,"type":"string","description":"The person's last name."},"last_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's last name (Japan only)."},"last_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's last name (Japan only)."},"maiden_name":{"maxLength":5000,"type":"string","description":"The person's maiden name."},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"nationality":{"maxLength":5000,"type":"string","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."},"phone":{"type":"string","description":"The person's phone number."},"political_exposure":{"type":"string","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"]},"registered_address":{"title":"address_specs","type":"object","properties":{"city":{"maxLength":100,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":200,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":200,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"The person's registered address.","x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"relationship":{"title":"relationship_specs","type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the person is the authorizer of the account's representative."},"director":{"type":"boolean","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."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"legal_guardian":{"type":"boolean","description":"Whether the person is the legal guardian of the account's representative."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s legal entity."},"percent_ownership":{"description":"The percent owned by the person of the account's legal entity.","anyOf":[{"type":"number"},{"type":"string","enum":[""]}]},"representative":{"type":"boolean","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."},"title":{"maxLength":5000,"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this person has with the account's legal entity.","x-stripeMostCommon":["authorizer","controller","director","executive","legal_guardian","officer","owner","partner","percent_ownership","representative","title"]},"ssn_last_4":{"type":"string","description":"The last four digits of the person's Social Security number (U.S. only)."},"us_cfpb_data":{"title":"us_cfpb_data_specs","type":"object","properties":{"ethnicity_details":{"title":"us_cfpb_ethnicity_details_specs","type":"object","properties":{"ethnicity":{"type":"array","description":"The persons ethnicity","items":{"type":"string","enum":["cuban","hispanic_or_latino","mexican","not_hispanic_or_latino","other_hispanic_or_latino","prefer_not_to_answer","puerto_rican"]}},"ethnicity_other":{"maxLength":5000,"type":"string","description":"Please specify your origin, when other is selected."}},"description":"The persons ethnicity details","x-stripeMostCommon":["ethnicity","ethnicity_other"]},"race_details":{"title":"us_cfpb_race_details_specs","type":"object","properties":{"race":{"type":"array","description":"The persons race.","items":{"type":"string","enum":["african_american","american_indian_or_alaska_native","asian","asian_indian","black_or_african_american","chinese","ethiopian","filipino","guamanian_or_chamorro","haitian","jamaican","japanese","korean","native_hawaiian","native_hawaiian_or_other_pacific_islander","nigerian","other_asian","other_black_or_african_american","other_pacific_islander","prefer_not_to_answer","samoan","somali","vietnamese","white"]}},"race_other":{"maxLength":5000,"type":"string","description":"Please specify your race, when other is selected."}},"description":"The persons race details","x-stripeMostCommon":["race","race_other"]},"self_identified_gender":{"maxLength":5000,"type":"string","description":"The persons self-identified gender"}},"description":"Demographic data related to the person.","x-stripeMostCommon":["ethnicity_details","race_details","self_identified_gender"]},"verification":{"title":"person_verification_specs","type":"object","properties":{"additional_document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.","x-stripeMostCommon":["back","electronic_id","front"]},"document":{"title":"person_verification_document_specs","type":"object","properties":{"back":{"maxLength":500,"type":"string","description":"The back of an ID returned by a [file upload](https://api.stripe.com#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."},"front":{"maxLength":500,"type":"string","description":"The front of an ID returned by a [file upload](https://api.stripe.com#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."}},"description":"An identifying document, either a passport or local ID card.","x-stripeMostCommon":["back","electronic_id","front"]}},"description":"The person's verification status.","x-stripeMostCommon":["additional_document","document","proof_of_liveness"]}},"description":"Information for the person this token represents.","x-stripeMostCommon":["address","dob","email","first_name","id_number","last_name","metadata","phone","relationship","ssn_last_4"]},"pii":{"title":"pii_token_specs","type":"object","properties":{"id_number":{"maxLength":5000,"type":"string","description":"The `id_number` for the PII, in string form."}},"description":"The PII this token represents.","x-stripeMostCommon":["id_number"]}},"additionalProperties":false,"x-stripeMostCommon":["account","bank_account","card","cvc_update","person","pii"]},"encoding":{"account":{"style":"deepObject","explode":true},"bank_account":{"style":"deepObject","explode":true},"card":{"style":"deepObject","explode":true},"cvc_update":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"person":{"style":"deepObject","explode":true},"pii":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/tokens/{token}":{"get":{"summary":"Retrieve a token","description":"

Retrieves the token with the given ID.

","operationId":"GetTokensToken","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"token","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/token"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/topups":{"get":{"summary":"List all top-ups","description":"

Returns a list of top-ups.

","operationId":"GetTopups","parameters":[{"name":"amount","in":"query","description":"A positive integer representing how much to transfer.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"created","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return top-ups that have the given status. One of `canceled`, `failed`, `pending` or `succeeded`.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string","enum":["canceled","failed","pending","succeeded"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TopupList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/topup"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/topups","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a top-up","description":"

Top up the balance of an account

","operationId":"PostTopups","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A positive integer representing how much to transfer."},"currency":{"type":"string","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)."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"source":{"maxLength":5000,"type":"string","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://docs.stripe.com/connect/testing#testing-top-ups))."},"statement_descriptor":{"maxLength":15,"type":"string","description":"Extra information about a top-up for the source's bank statement. Limited to 15 ASCII characters."},"transfer_group":{"type":"string","description":"A string that identifies this top-up as part of a group."}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/topup"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/topups/{topup}":{"get":{"summary":"Retrieve a top-up","description":"

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.

","operationId":"GetTopupsTopup","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"topup","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/topup"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a top-up","description":"

Updates the metadata of a top-up. Other top-up details are not editable by design.

","operationId":"PostTopupsTopup","parameters":[{"name":"topup","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["description","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/topup"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/topups/{topup}/cancel":{"post":{"summary":"Cancel a top-up","description":"

Cancels a top-up. Only pending top-ups can be canceled.

","operationId":"PostTopupsTopupCancel","parameters":[{"name":"topup","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/topup"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/transfers":{"get":{"summary":"List all transfers","description":"

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.

","operationId":"GetTransfers","parameters":[{"name":"created","in":"query","description":"Only return transfers that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"destination","in":"query","description":"Only return transfers for the destination specified by this account ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"transfer_group","in":"query","description":"Only return transfers with the specified transfer group.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TransferList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/transfer"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/transfers","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a transfer","description":"

To send funds from your Stripe account to a connected account, you create a new transfer object. Your Stripe balance must be able to cover the transfer amount, or you’ll receive an “Insufficient Funds” error.

","operationId":"PostTransfers","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["currency","destination"],"type":"object","properties":{"amount":{"type":"integer","description":"A positive integer in cents (or local equivalent) representing how much to transfer."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"destination":{"type":"string","description":"The ID of a connected Stripe account. See the Connect documentation for details."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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_transaction":{"type":"string","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://docs.stripe.com/connect/separate-charges-and-transfers#transfer-availability) for details."},"source_type":{"maxLength":5000,"type":"string","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"],"x-stripeBypassValidation":true},"transfer_group":{"type":"string","description":"A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details."}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","destination","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/transfers/{id}/reversals":{"get":{"summary":"List all reversals","description":"

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 limit and starting_after parameters to page through additional reversals.

","operationId":"GetTransfersIdReversals","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TransferReversalList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/transfer_reversal"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a transfer reversal","description":"

When you create a new reversal, you must specify a transfer to create it on.

\n\n

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.

\n\n

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.

","operationId":"PostTransfersIdReversals","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"amount":{"type":"integer","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."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string which you can attach to a reversal object. This will be unset if you POST an empty value."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"refund_application_fee":{"type":"boolean","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."}},"additionalProperties":false,"x-stripeMostCommon":["amount","description","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/transfer_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/transfers/{transfer}":{"get":{"summary":"Retrieve a transfer","description":"

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.

","operationId":"GetTransfersTransfer","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a transfer","description":"

Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

\n\n

This request accepts only metadata as an argument.

","operationId":"PostTransfersTransfer","parameters":[{"name":"transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["description","metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/transfers/{transfer}/reversals/{id}":{"get":{"summary":"Retrieve a reversal","description":"

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.

","operationId":"GetTransfersTransferReversalsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/transfer_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a reversal","description":"

Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

\n\n

This request only accepts metadata and description as arguments.

","operationId":"PostTransfersTransferReversalsId","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]}},"additionalProperties":false,"x-stripeMostCommon":["metadata"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/transfer_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/credit_reversals":{"get":{"summary":"List all CreditReversals","description":"

Returns a list of CreditReversals.

","operationId":"GetTreasuryCreditReversals","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"Returns objects associated with this FinancialAccount.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"received_credit","in":"query","description":"Only return CreditReversals for the ReceivedCredit ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return CreditReversals for a given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","posted","processing"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryReceivedCreditsResourceCreditReversalList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.credit_reversal"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a CreditReversal","description":"

Reverses a ReceivedCredit and creates a CreditReversal object.

","operationId":"PostTreasuryCreditReversals","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["received_credit"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"received_credit":{"maxLength":5000,"type":"string","description":"The ReceivedCredit to reverse."}},"additionalProperties":false,"x-stripeMostCommon":["metadata","received_credit"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.credit_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/credit_reversals/{credit_reversal}":{"get":{"summary":"Retrieve a CreditReversal","description":"

Retrieves the details of an existing CreditReversal by passing the unique CreditReversal ID from either the CreditReversal creation request or CreditReversal list

","operationId":"GetTreasuryCreditReversalsCreditReversal","parameters":[{"name":"credit_reversal","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.credit_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/debit_reversals":{"get":{"summary":"List all DebitReversals","description":"

Returns a list of DebitReversals.

","operationId":"GetTreasuryDebitReversals","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"Returns objects associated with this FinancialAccount.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"received_debit","in":"query","description":"Only return DebitReversals for the ReceivedDebit ID.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"resolution","in":"query","description":"Only return DebitReversals for a given resolution.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["lost","won"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return DebitReversals for a given status.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","completed","processing"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryReceivedDebitsResourceDebitReversalList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.debit_reversal"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a DebitReversal","description":"

Reverses a ReceivedDebit and creates a DebitReversal object.

","operationId":"PostTreasuryDebitReversals","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["received_debit"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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`."},"received_debit":{"maxLength":5000,"type":"string","description":"The ReceivedDebit to reverse."}},"additionalProperties":false,"x-stripeMostCommon":["metadata","received_debit"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.debit_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/debit_reversals/{debit_reversal}":{"get":{"summary":"Retrieve a DebitReversal","description":"

Retrieves a DebitReversal object.

","operationId":"GetTreasuryDebitReversalsDebitReversal","parameters":[{"name":"debit_reversal","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.debit_reversal"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/financial_accounts":{"get":{"summary":"List all FinancialAccounts","description":"

Returns a list of FinancialAccounts.

","operationId":"GetTreasuryFinancialAccounts","parameters":[{"name":"created","in":"query","description":"Only return FinancialAccounts that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","description":"An object ID cursor for use in pagination.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit ranging from 1 to 100 (defaults to 10).","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","description":"An object ID cursor for use in pagination.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return FinancialAccounts that have the given status: `open` or `closed`","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["closed","open"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryFinancialAccountsResourceFinancialAccountList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/treasury.financial_account"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/treasury/financial_accounts","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a FinancialAccount","description":"

Creates a new FinancialAccount. Each connected account can have up to three FinancialAccounts by default.

","operationId":"PostTreasuryFinancialAccounts","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["supported_currencies"],"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"features":{"title":"feature_access","type":"object","properties":{"card_issuing":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.","x-stripeMostCommon":["requested"]},"deposit_insurance":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.","x-stripeMostCommon":["requested"]},"financial_addresses":{"title":"financial_addresses","type":"object","properties":{"aba":{"title":"aba_access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Adds an ABA FinancialAddress to the FinancialAccount.","x-stripeMostCommon":["bank","forwarding","requested"]}},"description":"Contains Features that add FinancialAddresses to the FinancialAccount.","x-stripeMostCommon":["aba"]},"inbound_transfers":{"title":"inbound_transfers","type":"object","properties":{"ach":{"title":"access_with_ach_details_inbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH Debits via the InboundTransfers API.","x-stripeMostCommon":["platform_review","requested","same_day"]}},"description":"Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.","x-stripeMostCommon":["ach","us_check"]},"intra_stripe_flows":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).","x-stripeMostCommon":["requested"]},"outbound_payments":{"title":"outbound_payments","type":"object","properties":{"ach":{"title":"access_with_ach_details_outbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH transfers via the OutboundPayments API.","x-stripeMostCommon":["requested","same_day"]},"us_domestic_wire":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables US domestic wire transfers via the OutboundPayments API.","x-stripeMostCommon":["requested"]}},"description":"Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.","x-stripeMostCommon":["ach","us_check","us_domestic_wire"]},"outbound_transfers":{"title":"outbound_transfers","type":"object","properties":{"ach":{"title":"access_with_ach_details_outbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH transfers via the OutboundTransfers API.","x-stripeMostCommon":["requested","same_day"]},"us_domestic_wire":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables US domestic wire transfers via the OutboundTransfers API.","x-stripeMostCommon":["requested"]}},"description":"Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.","x-stripeMostCommon":["ach","us_domestic_wire"]}},"description":"Encodes whether a FinancialAccount has access to a particular feature. Stripe or the platform can control features via the requested field.","x-stripeMostCommon":["card_issuing","deposit_insurance","financial_addresses","inbound_transfers","intra_stripe_flows","outbound_payments","outbound_transfers"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":"The nickname for the FinancialAccount.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"platform_restrictions":{"title":"platform_restrictions","type":"object","properties":{"inbound_flows":{"type":"string","description":"Restricts all inbound money movement.","enum":["restricted","unrestricted"]},"outbound_flows":{"type":"string","description":"Restricts all outbound money movement.","enum":["restricted","unrestricted"]}},"description":"The set of functionalities that the platform can restrict on the FinancialAccount.","x-stripeMostCommon":["inbound_flows","outbound_flows","received_credits","received_debits"]},"supported_currencies":{"type":"array","description":"The currencies the FinancialAccount can hold a balance in.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false,"x-stripeMostCommon":["features","metadata","nickname","platform_restrictions","supported_currencies"]},"encoding":{"expand":{"style":"deepObject","explode":true},"features":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"nickname":{"style":"deepObject","explode":true},"platform_restrictions":{"style":"deepObject","explode":true},"supported_currencies":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.financial_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/financial_accounts/{financial_account}":{"get":{"summary":"Retrieve a FinancialAccount","description":"

Retrieves the details of a FinancialAccount.

","operationId":"GetTreasuryFinancialAccountsFinancialAccount","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.financial_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a FinancialAccount","description":"

Updates the details of a FinancialAccount.

","operationId":"PostTreasuryFinancialAccountsFinancialAccount","parameters":[{"name":"financial_account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"features":{"title":"feature_access","type":"object","properties":{"card_issuing":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.","x-stripeMostCommon":["requested"]},"deposit_insurance":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.","x-stripeMostCommon":["requested"]},"financial_addresses":{"title":"financial_addresses","type":"object","properties":{"aba":{"title":"aba_access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Adds an ABA FinancialAddress to the FinancialAccount.","x-stripeMostCommon":["bank","forwarding","requested"]}},"description":"Contains Features that add FinancialAddresses to the FinancialAccount.","x-stripeMostCommon":["aba"]},"inbound_transfers":{"title":"inbound_transfers","type":"object","properties":{"ach":{"title":"access_with_ach_details_inbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH Debits via the InboundTransfers API.","x-stripeMostCommon":["platform_review","requested","same_day"]}},"description":"Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.","x-stripeMostCommon":["ach","us_check"]},"intra_stripe_flows":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).","x-stripeMostCommon":["requested"]},"outbound_payments":{"title":"outbound_payments","type":"object","properties":{"ach":{"title":"access_with_ach_details_outbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH transfers via the OutboundPayments API.","x-stripeMostCommon":["requested","same_day"]},"us_domestic_wire":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables US domestic wire transfers via the OutboundPayments API.","x-stripeMostCommon":["requested"]}},"description":"Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.","x-stripeMostCommon":["ach","us_check","us_domestic_wire"]},"outbound_transfers":{"title":"outbound_transfers","type":"object","properties":{"ach":{"title":"access_with_ach_details_outbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH transfers via the OutboundTransfers API.","x-stripeMostCommon":["requested","same_day"]},"us_domestic_wire":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables US domestic wire transfers via the OutboundTransfers API.","x-stripeMostCommon":["requested"]}},"description":"Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.","x-stripeMostCommon":["ach","us_domestic_wire"]}},"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.","x-stripeMostCommon":["card_issuing","deposit_insurance","financial_addresses","inbound_transfers","intra_stripe_flows","outbound_payments","outbound_transfers"]},"forwarding_settings":{"title":"forwarding_settings","required":["type"],"type":"object","properties":{"financial_account":{"type":"string","description":"The financial_account id"},"payment_method":{"maxLength":5000,"type":"string","description":"The payment_method or bank account id. This needs to be a verified bank account."},"type":{"type":"string","description":"The type of the bank account provided. This can be either \"financial_account\" or \"payment_method\"","enum":["financial_account","payment_method"]}},"description":"A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0","x-stripeMostCommon":["financial_account","payment_method","type"]},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":"The nickname for the FinancialAccount.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"platform_restrictions":{"title":"platform_restrictions","type":"object","properties":{"inbound_flows":{"type":"string","description":"Restricts all inbound money movement.","enum":["restricted","unrestricted"]},"outbound_flows":{"type":"string","description":"Restricts all outbound money movement.","enum":["restricted","unrestricted"]}},"description":"The set of functionalities that the platform can restrict on the FinancialAccount.","x-stripeMostCommon":["inbound_flows","outbound_flows","received_credits","received_debits"]}},"additionalProperties":false,"x-stripeMostCommon":["features","forwarding_settings","metadata","nickname","platform_restrictions"]},"encoding":{"expand":{"style":"deepObject","explode":true},"features":{"style":"deepObject","explode":true},"forwarding_settings":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true},"nickname":{"style":"deepObject","explode":true},"platform_restrictions":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.financial_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/financial_accounts/{financial_account}/close":{"post":{"summary":"Close a FinancialAccount","description":"

Closes a FinancialAccount. A FinancialAccount can only be closed if it has a zero balance, has no pending InboundTransfers, and has canceled all attached Issuing cards.

","operationId":"PostTreasuryFinancialAccountsFinancialAccountClose","parameters":[{"name":"financial_account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"forwarding_settings":{"title":"forwarding_settings","required":["type"],"type":"object","properties":{"financial_account":{"type":"string","description":"The financial_account id"},"payment_method":{"maxLength":5000,"type":"string","description":"The payment_method or bank account id. This needs to be a verified bank account."},"type":{"type":"string","description":"The type of the bank account provided. This can be either \"financial_account\" or \"payment_method\"","enum":["financial_account","payment_method"]}},"description":"A different bank account where funds can be deposited/debited in order to get the closing FA's balance to $0","x-stripeMostCommon":["financial_account","payment_method","type"]}},"additionalProperties":false,"x-stripeMostCommon":["forwarding_settings"]},"encoding":{"expand":{"style":"deepObject","explode":true},"forwarding_settings":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.financial_account"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/financial_accounts/{financial_account}/features":{"get":{"summary":"Retrieve FinancialAccount Features","description":"

Retrieves Features information associated with the FinancialAccount.

","operationId":"GetTreasuryFinancialAccountsFinancialAccountFeatures","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.financial_account_features"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update FinancialAccount Features","description":"

Updates the Features associated with a FinancialAccount.

","operationId":"PostTreasuryFinancialAccountsFinancialAccountFeatures","parameters":[{"name":"financial_account","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"card_issuing":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.","x-stripeMostCommon":["requested"]},"deposit_insurance":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.","x-stripeMostCommon":["requested"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"financial_addresses":{"title":"financial_addresses","type":"object","properties":{"aba":{"title":"aba_access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Adds an ABA FinancialAddress to the FinancialAccount.","x-stripeMostCommon":["bank","forwarding","requested"]}},"description":"Contains Features that add FinancialAddresses to the FinancialAccount.","x-stripeMostCommon":["aba"]},"inbound_transfers":{"title":"inbound_transfers","type":"object","properties":{"ach":{"title":"access_with_ach_details_inbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH Debits via the InboundTransfers API.","x-stripeMostCommon":["platform_review","requested","same_day"]}},"description":"Contains settings related to adding funds to a FinancialAccount from another Account with the same owner.","x-stripeMostCommon":["ach","us_check"]},"intra_stripe_flows":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Represents the ability for the FinancialAccount to send money to, or receive money from other FinancialAccounts (for example, via OutboundPayment).","x-stripeMostCommon":["requested"]},"outbound_payments":{"title":"outbound_payments","type":"object","properties":{"ach":{"title":"access_with_ach_details_outbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH transfers via the OutboundPayments API.","x-stripeMostCommon":["requested","same_day"]},"us_domestic_wire":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables US domestic wire transfers via the OutboundPayments API.","x-stripeMostCommon":["requested"]}},"description":"Includes Features related to initiating money movement out of the FinancialAccount to someone else's bucket of money.","x-stripeMostCommon":["ach","us_check","us_domestic_wire"]},"outbound_transfers":{"title":"outbound_transfers","type":"object","properties":{"ach":{"title":"access_with_ach_details_outbound","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables ACH transfers via the OutboundTransfers API.","x-stripeMostCommon":["requested","same_day"]},"us_domestic_wire":{"title":"access","required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."}},"description":"Enables US domestic wire transfers via the OutboundTransfers API.","x-stripeMostCommon":["requested"]}},"description":"Contains a Feature and settings related to moving money out of the FinancialAccount into another Account with the same owner.","x-stripeMostCommon":["ach","us_domestic_wire"]}},"additionalProperties":false,"x-stripeMostCommon":["card_issuing","deposit_insurance","financial_addresses","inbound_transfers","intra_stripe_flows","outbound_payments","outbound_transfers"]},"encoding":{"card_issuing":{"style":"deepObject","explode":true},"deposit_insurance":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"financial_addresses":{"style":"deepObject","explode":true},"inbound_transfers":{"style":"deepObject","explode":true},"intra_stripe_flows":{"style":"deepObject","explode":true},"outbound_payments":{"style":"deepObject","explode":true},"outbound_transfers":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.financial_account_features"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/inbound_transfers":{"get":{"summary":"List all InboundTransfers","description":"

Returns a list of InboundTransfers sent from the specified FinancialAccount.

","operationId":"GetTreasuryInboundTransfers","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"Returns objects associated with this FinancialAccount.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return InboundTransfers that have the given status: `processing`, `succeeded`, `failed` or `canceled`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","failed","processing","succeeded"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryInboundTransfersResourceInboundTransferList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.inbound_transfer"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an InboundTransfer","description":"

Creates an InboundTransfer.

","operationId":"PostTreasuryInboundTransfers","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency","financial_account","origin_payment_method"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) to be transferred."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"financial_account":{"type":"string","description":"The FinancialAccount to send funds to."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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_payment_method":{"maxLength":5000,"type":"string","description":"The origin payment method to be debited for the InboundTransfer."},"statement_descriptor":{"maxLength":10,"type":"string","description":"The complete description that appears on your customers' statements. Maximum 10 characters. Can only include -#.$&*, spaces, and alphanumeric characters."}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","financial_account","metadata","origin_payment_method","statement_descriptor"]},"encoding":{"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.inbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/inbound_transfers/{id}":{"get":{"summary":"Retrieve an InboundTransfer","description":"

Retrieves the details of an existing InboundTransfer.

","operationId":"GetTreasuryInboundTransfersId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.inbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/inbound_transfers/{inbound_transfer}/cancel":{"post":{"summary":"Cancel an InboundTransfer","description":"

Cancels an InboundTransfer.

","operationId":"PostTreasuryInboundTransfersInboundTransferCancel","parameters":[{"name":"inbound_transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.inbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/outbound_payments":{"get":{"summary":"List all OutboundPayments","description":"

Returns a list of OutboundPayments sent from the specified FinancialAccount.

","operationId":"GetTreasuryOutboundPayments","parameters":[{"name":"created","in":"query","description":"Only return OutboundPayments that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"customer","in":"query","description":"Only return OutboundPayments sent to this customer.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"Returns objects associated with this FinancialAccount.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return OutboundPayments that have the given status: `processing`, `failed`, `posted`, `returned`, or `canceled`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","failed","posted","processing","returned"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryOutboundPaymentsResourceOutboundPaymentList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/treasury/outbound_payments","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an OutboundPayment","description":"

Creates an OutboundPayment.

","operationId":"PostTreasuryOutboundPayments","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency","financial_account"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) to be transferred."},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","description":"ID of the customer to whom the OutboundPayment is sent. Must match the Customer attached to the `destination_payment_method` passed in."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"destination_payment_method":{"maxLength":5000,"type":"string","description":"The PaymentMethod to use as the payment instrument for the OutboundPayment. Exclusive with `destination_payment_method_data`."},"destination_payment_method_data":{"title":"payment_method_data","required":["type"],"type":"object","properties":{"billing_details":{"title":"billing_details_inner_params","type":"object","properties":{"address":{"description":"Billing address.","anyOf":[{"title":"billing_details_address","type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name."},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building."},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code."},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},{"type":"string","enum":[""]}]},"email":{"description":"Email address.","anyOf":[{"type":"string"},{"type":"string","enum":[""]}]},"name":{"description":"Full name.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"phone":{"description":"Billing phone number (including extension).","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]}},"description":"Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.","x-stripeMostCommon":["address","email","name","phone"]},"financial_account":{"type":"string","description":"Required if type is set to `financial_account`. The FinancialAccount ID to send funds to."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."},"type":{"type":"string","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"],"x-stripeBypassValidation":true},"us_bank_account":{"title":"payment_method_param","type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","enum":["company","individual"]},"account_number":{"maxLength":5000,"type":"string","description":"Account number of the bank account."},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","enum":["checking","savings"]},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of a Financial Connections Account to use as a payment method."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account."}},"description":"Required hash if type is set to `us_bank_account`.","x-stripeMostCommon":["account_holder_type","account_number","account_type","financial_connections_account","routing_number","token"]}},"description":"Hash used to generate the PaymentMethod to be used for this OutboundPayment. Exclusive with `destination_payment_method`.","x-stripeMostCommon":["billing_details","metadata","type"]},"destination_payment_method_options":{"title":"payment_method_options","type":"object","properties":{"us_bank_account":{"description":"Optional fields for `us_bank_account`.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"network":{"type":"string","description":"Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.","enum":["ach","us_domestic_wire"]}},"x-stripeMostCommon":["ach","network"]},{"type":"string","enum":[""]}]}},"description":"Payment method-specific configuration for this OutboundPayment.","x-stripeMostCommon":["us_bank_account"]},"end_user_details":{"title":"end_user_details_params","required":["present"],"type":"object","properties":{"ip_address":{"type":"string","description":"IP address of the user initiating the OutboundPayment. Must be supplied if `present` is set to `true`."},"present":{"type":"boolean","description":"`True` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`."}},"description":"End user details.","x-stripeMostCommon":["ip_address","present"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"financial_account":{"type":"string","description":"The FinancialAccount to pull funds from."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","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. Can only include -#.$&*, spaces, and alphanumeric characters. The default value is \"payment\"."}},"additionalProperties":false,"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"]},"encoding":{"destination_payment_method_data":{"style":"deepObject","explode":true},"destination_payment_method_options":{"style":"deepObject","explode":true},"end_user_details":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/outbound_payments/{id}":{"get":{"summary":"Retrieve an OutboundPayment","description":"

Retrieves the details of an existing OutboundPayment by passing the unique OutboundPayment ID from either the OutboundPayment creation request or OutboundPayment list.

","operationId":"GetTreasuryOutboundPaymentsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/outbound_payments/{id}/cancel":{"post":{"summary":"Cancel an OutboundPayment","description":"

Cancel an OutboundPayment.

","operationId":"PostTreasuryOutboundPaymentsIdCancel","parameters":[{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_payment"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/outbound_transfers":{"get":{"summary":"List all OutboundTransfers","description":"

Returns a list of OutboundTransfers sent from the specified FinancialAccount.

","operationId":"GetTreasuryOutboundTransfers","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"Returns objects associated with this FinancialAccount.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return OutboundTransfers that have the given status: `processing`, `canceled`, `failed`, `posted`, or `returned`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["canceled","failed","posted","processing","returned"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryOutboundTransfersResourceOutboundTransferList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create an OutboundTransfer","description":"

Creates an OutboundTransfer.

","operationId":"PostTreasuryOutboundTransfers","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["amount","currency","financial_account"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) to be transferred."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"destination_payment_method":{"maxLength":5000,"type":"string","description":"The PaymentMethod to use as the payment instrument for the OutboundTransfer."},"destination_payment_method_data":{"title":"payment_method_data","required":["type"],"type":"object","properties":{"financial_account":{"type":"string","description":"Required if type is set to `financial_account`. The FinancialAccount ID to send funds to."},"type":{"type":"string","description":"The type of the destination.","enum":["financial_account"]}},"description":"Hash used to generate the PaymentMethod to be used for this OutboundTransfer. Exclusive with `destination_payment_method`.","x-stripeMostCommon":["type"]},"destination_payment_method_options":{"title":"payment_method_options","type":"object","properties":{"us_bank_account":{"description":"Optional fields for `us_bank_account`.","anyOf":[{"title":"payment_method_options_param","type":"object","properties":{"network":{"type":"string","description":"Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.","enum":["ach","us_domestic_wire"]}},"x-stripeMostCommon":["ach","network"]},{"type":"string","enum":[""]}]}},"description":"Hash describing payment method configuration details.","x-stripeMostCommon":["us_bank_account"]},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"financial_account":{"type":"string","description":"The FinancialAccount to pull funds from."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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":{"maxLength":5000,"type":"string","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\". Can only include -#.$&*, spaces, and alphanumeric characters."}},"additionalProperties":false,"x-stripeMostCommon":["amount","currency","description","destination_payment_method","destination_payment_method_data","destination_payment_method_options","financial_account","metadata","statement_descriptor"]},"encoding":{"destination_payment_method_data":{"style":"deepObject","explode":true},"destination_payment_method_options":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/outbound_transfers/{outbound_transfer}":{"get":{"summary":"Retrieve an OutboundTransfer","description":"

Retrieves the details of an existing OutboundTransfer by passing the unique OutboundTransfer ID from either the OutboundTransfer creation request or OutboundTransfer list.

","operationId":"GetTreasuryOutboundTransfersOutboundTransfer","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"outbound_transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/outbound_transfers/{outbound_transfer}/cancel":{"post":{"summary":"Cancel an OutboundTransfer","description":"

An OutboundTransfer can be canceled if the funds have not yet been paid out.

","operationId":"PostTreasuryOutboundTransfersOutboundTransferCancel","parameters":[{"name":"outbound_transfer","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}}},"additionalProperties":false},"encoding":{"expand":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.outbound_transfer"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/received_credits":{"get":{"summary":"List all ReceivedCredits","description":"

Returns a list of ReceivedCredits.

","operationId":"GetTreasuryReceivedCredits","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"The FinancialAccount that received the funds.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"linked_flows","in":"query","description":"Only return ReceivedCredits described by the flow.","required":false,"style":"deepObject","explode":true,"schema":{"title":"linked_flows_param","required":["source_flow_type"],"type":"object","properties":{"source_flow_type":{"type":"string","description":"The source flow type.","enum":["credit_reversal","other","outbound_payment","outbound_transfer","payout"]}},"x-stripeMostCommon":["source_flow_type"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return ReceivedCredits that have the given status: `succeeded` or `failed`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["failed","succeeded"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryReceivedCreditsResourceReceivedCreditList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.received_credit"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/received_credits/{id}":{"get":{"summary":"Retrieve a ReceivedCredit","description":"

Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.

","operationId":"GetTreasuryReceivedCreditsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.received_credit"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/received_debits":{"get":{"summary":"List all ReceivedDebits","description":"

Returns a list of ReceivedDebits.

","operationId":"GetTreasuryReceivedDebits","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"The FinancialAccount that funds were pulled from.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return ReceivedDebits that have the given status: `succeeded` or `failed`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["failed","succeeded"],"x-stripeBypassValidation":true}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryReceivedDebitsResourceReceivedDebitList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.received_debit"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/received_debits/{id}":{"get":{"summary":"Retrieve a ReceivedDebit","description":"

Retrieves the details of an existing ReceivedDebit by passing the unique ReceivedDebit ID from the ReceivedDebit list

","operationId":"GetTreasuryReceivedDebitsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.received_debit"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/transaction_entries":{"get":{"summary":"List all TransactionEntries","description":"

Retrieves a list of TransactionEntry objects.

","operationId":"GetTreasuryTransactionEntries","parameters":[{"name":"created","in":"query","description":"Only return TransactionEntries that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"effective_at","in":"query","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"Returns objects associated with this FinancialAccount.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"order_by","in":"query","description":"The results are in reverse chronological order by `created` or `effective_at`. The default is `created`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["created","effective_at"]}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"transaction","in":"query","description":"Only return TransactionEntries associated with this Transaction.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryTransactionsResourceTransactionEntryList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.transaction_entry"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/treasury/transaction_entries","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/transaction_entries/{id}":{"get":{"summary":"Retrieve a TransactionEntry","description":"

Retrieves a TransactionEntry object.

","operationId":"GetTreasuryTransactionEntriesId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.transaction_entry"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/transactions":{"get":{"summary":"List all Transactions","description":"

Retrieves a list of Transaction objects.

","operationId":"GetTreasuryTransactions","parameters":[{"name":"created","in":"query","description":"Only return Transactions that were created during the given date interval.","required":false,"style":"deepObject","explode":true,"schema":{"anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"financial_account","in":"query","description":"Returns objects associated with this FinancialAccount.","required":true,"style":"form","explode":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"order_by","in":"query","description":"The results are in reverse chronological order by `created` or `posted_at`. The default is `created`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["created","posted_at"],"x-stripeBypassValidation":true}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"status","in":"query","description":"Only return Transactions that have the given status: `open`, `posted`, or `void`.","required":false,"style":"form","explode":true,"schema":{"type":"string","enum":["open","posted","void"]}},{"name":"status_transitions","in":"query","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.","required":false,"style":"deepObject","explode":true,"schema":{"title":"status_transition_timestamp_specs","type":"object","properties":{"posted_at":{"description":"Returns Transactions with `posted_at` within the specified range.","anyOf":[{"title":"range_query_specs","type":"object","properties":{"gt":{"type":"integer","description":"Minimum value to filter by (exclusive)"},"gte":{"type":"integer","description":"Minimum value to filter by (inclusive)"},"lt":{"type":"integer","description":"Maximum value to filter by (exclusive)"},"lte":{"type":"integer","description":"Maximum value to filter by (inclusive)"}},"x-stripeMostCommon":["gt","gte","lt","lte"]},{"type":"integer"}]}},"x-stripeMostCommon":["posted_at"]}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"TreasuryTransactionsResourceTransactionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.transaction"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/treasury/transactions/{id}":{"get":{"summary":"Retrieve a Transaction","description":"

Retrieves the details of an existing Transaction.

","operationId":"GetTreasuryTransactionsId","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"id","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/treasury.transaction"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/webhook_endpoints":{"get":{"summary":"List all webhook endpoints","description":"

Returns a list of your webhook endpoints.

","operationId":"GetWebhookEndpoints","parameters":[{"name":"ending_before","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}},{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"limit","in":"query","description":"A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.","required":false,"style":"form","explode":true,"schema":{"type":"integer"}},{"name":"starting_after","in":"query","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.","required":false,"style":"form","explode":true,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"title":"NotificationWebhookEndpointList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/webhook_endpoint"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/webhook_endpoints","type":"string","description":"The URL where this list can be accessed."}},"description":"","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Create a webhook endpoint","description":"

A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the webhooks settings section of the Dashboard.

","operationId":"PostWebhookEndpoints","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"required":["enabled_events","url"],"type":"object","properties":{"api_version":{"maxLength":5000,"type":"string","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","2024-12-18.acacia","2025-01-27.acacia","2025-02-24.acacia","2025-03-01.dashboard","2025-03-31.basil","2025-04-30.basil","2025-05-28.basil","2025-06-30.basil","2025-07-30.basil","2025-08-27.basil","2025-09-30.clover","2025-10-29.clover","2025-11-17.clover","2025-12-15.clover","2026-01-28.clover","2026-02-25.clover","2026-03-25.dahlia"],"x-stripeBypassValidation":true},"connect":{"type":"boolean","description":"Whether this endpoint should receive events from connected accounts (`true`), or from your account (`false`). Defaults to `false`."},"description":{"description":"An optional description of what the webhook is used for.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"enabled_events":{"type":"array","description":"The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection.","items":{"type":"string","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","balance_settings.updated","billing.alert.triggered","billing.credit_grant.created","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.account_numbers_updated","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","financial_connections.account.upcoming_account_number_expiry","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.overpaid","invoice.paid","invoice.payment_action_required","invoice.payment_attempt_required","invoice.payment_failed","invoice.payment_succeeded","invoice.sent","invoice.upcoming","invoice.updated","invoice.voided","invoice.will_be_due","invoice_payment.paid","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","reserve.hold.created","reserve.hold.updated","reserve.plan.created","reserve.plan.disabled","reserve.plan.expired","reserve.plan.updated","reserve.release.created","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","terminal.reader.action_updated","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"],"x-stripeBypassValidation":true}},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"url":{"type":"string","description":"The URL of the webhook endpoint."}},"additionalProperties":false,"x-stripeMostCommon":["api_version","description","enabled_events","metadata","url"]},"encoding":{"description":{"style":"deepObject","explode":true},"enabled_events":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":true},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/webhook_endpoint"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v1/webhook_endpoints/{webhook_endpoint}":{"get":{"summary":"Retrieve a webhook endpoint","description":"

Retrieves the webhook endpoint with the given ID.

","operationId":"GetWebhookEndpointsWebhookEndpoint","parameters":[{"name":"expand","in":"query","description":"Specifies which fields in the response should be expanded.","required":false,"style":"deepObject","explode":true,"schema":{"type":"array","items":{"maxLength":5000,"type":"string"}}},{"name":"webhook_endpoint","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/webhook_endpoint"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"post":{"summary":"Update a webhook endpoint","description":"

Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint.

","operationId":"PostWebhookEndpointsWebhookEndpoint","parameters":[{"name":"webhook_endpoint","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"description":{"description":"An optional description of what the webhook is used for.","anyOf":[{"maxLength":5000,"type":"string"},{"type":"string","enum":[""]}]},"disabled":{"type":"boolean","description":"Disable the webhook endpoint if set to true."},"enabled_events":{"type":"array","description":"The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection.","items":{"type":"string","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","balance_settings.updated","billing.alert.triggered","billing.credit_grant.created","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.account_numbers_updated","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","financial_connections.account.upcoming_account_number_expiry","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.overpaid","invoice.paid","invoice.payment_action_required","invoice.payment_attempt_required","invoice.payment_failed","invoice.payment_succeeded","invoice.sent","invoice.upcoming","invoice.updated","invoice.voided","invoice.will_be_due","invoice_payment.paid","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","reserve.hold.created","reserve.hold.updated","reserve.plan.created","reserve.plan.disabled","reserve.plan.expired","reserve.plan.updated","reserve.release.created","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","terminal.reader.action_updated","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"],"x-stripeBypassValidation":true}},"expand":{"type":"array","description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"}},"metadata":{"description":"Set of [key-value pairs](https://docs.stripe.com/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`.","anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string","enum":[""]}]},"url":{"type":"string","description":"The URL of the webhook endpoint."}},"additionalProperties":false,"x-stripeMostCommon":["description","enabled_events","metadata","url"]},"encoding":{"description":{"style":"deepObject","explode":true},"enabled_events":{"style":"deepObject","explode":true},"expand":{"style":"deepObject","explode":true},"metadata":{"style":"deepObject","explode":true}}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/webhook_endpoint"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}},"delete":{"summary":"Delete a webhook endpoint","description":"

You can also delete webhook endpoints via the webhook endpoint management page of the Stripe dashboard.

","operationId":"DeleteWebhookEndpointsWebhookEndpoint","parameters":[{"name":"webhook_endpoint","in":"path","required":true,"style":"simple","explode":false,"schema":{"maxLength":5000,"type":"string"}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{},"additionalProperties":false},"encoding":{}}},"required":false},"responses":{"200":{"description":"Successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/deleted_webhook_endpoint"}}}},"default":{"description":"Error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}}}},"/v2/billing/meter_event_adjustments":{"post":{"summary":"Create a Meter Event Adjustment","description":"Creates a meter event adjustment to cancel a previously sent meter event.","operationId":"PostV2BillingMeterEventAdjustments","requestBody":{"content":{"application/json":{"schema":{"required":["cancel","event_name","type"],"type":"object","properties":{"cancel":{"required":["identifier"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them."}},"description":"Specifies which event to cancel."},"event_name":{"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"type":{"type":"string","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"],"x-stripeEnum":[{"description":"Cancel a single meter event by identifier.","value":"cancel"}]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.meter_event_adjustment"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.invalid_cancel_configuration"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_usage_adjustment_v2_synchronous","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"event_name":"ai_search_api","type":"cancel","cancel":{"identifier":"idmp_12345678"}}},"response":{"object":"v2.billing.meter_event_adjustment","id":"mtr_event_adj_12345678","livemode":false,"created":"2024-06-01T12:00:00.000Z","status":"pending","event_name":"ai_search_api","type":"cancel","cancel":{"identifier":"idmp_12345678"}}}],"x-stripeErrors":[{"code":"invalid_cancel_configuration","description":"The adjustment configuration is invalid for the adjustment type.","httpStatusCode":400}]}},"/v2/billing/meter_event_session":{"post":{"summary":"Create a Meter Event Stream Authentication Session","description":"Creates a meter event session to send usage on the high-throughput meter event stream. Authentication tokens are only valid for 15 minutes, so you will need to create a new meter event session when your token expires.","operationId":"PostV2BillingMeterEventSession","responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.meter_event_session"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_auth_session","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{}},"response":{"id":"","livemode":"false","object":"v2.billing.meter_event_session","authentication_token":"token_12345678","created":"2024-06-01T12:00:00.000Z","expires_at":"2024-06-01T12:15:00.000Z"}}],"x-stripeErrors":[]}},"/v2/billing/meter_event_stream":{"post":{"summary":"Create a Meter Event with asynchronous validation","description":"Creates meter events. Events are processed asynchronously, including validation. Requires a meter event session for authentication. Supports up to 10,000 requests per second in livemode. For even higher rate-limits, contact sales.","operationId":"PostV2BillingMeterEventStream","requestBody":{"content":{"application/json":{"schema":{"required":["events"],"type":"object","properties":{"events":{"type":"array","description":"List of meter events to include in the request. Supports up to 100 events per request.","items":{"required":["event_name","payload"],"type":"object","properties":{"event_name":{"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"identifier":{"type":"string","description":"A unique identifier for the event. If not provided, one will be generated.\nWe recommend using a globally unique identifier for this. We’ll enforce\nuniqueness within a rolling 24 hour period."},"payload":{"type":"object","additionalProperties":{"type":"string"},"description":"The payload of the event. This must contain the fields corresponding to a meter’s\n`customer_mapping.event_payload_key` (default is `stripe_customer_id`) and\n`value_settings.event_payload_key` (default is `value`). Read more about\nthe\n[payload](https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides)."},"timestamp":{"type":"string","description":"The time of the event. Must be within the past 35 calendar days or up to\n5 minutes in the future. Defaults to current timestamp if not specified.","format":"date-time"}}}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.billing_meter_event_session_expired"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"servers":[{"url":"https://meter-events.stripe.com/"}],"x-stableId":"v2_method_create_usage_high_throughput","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"events":[{"identifier":"idmp_12345678","event_name":"ai_search_api","timestamp":"2024-06-01T12:00:00.000Z","payload":{"stripe_customer_id":"cus_12345678","value":"25"}}]}},"response":{}}],"x-stripeErrors":[{"code":"billing_meter_event_session_expired","description":"The temporary session token has expired.","httpStatusCode":401,"type":"temporary_session_expired"}]}},"/v2/billing/meter_events":{"post":{"summary":"Create a Meter Event with synchronous validation","description":"Creates a meter event. Events are validated synchronously, but are processed asynchronously. Supports up to 1,000 events per second in livemode. For higher rate-limits, please use meter event streams instead.","operationId":"PostV2BillingMeterEvents","requestBody":{"content":{"application/json":{"schema":{"required":["event_name","payload"],"type":"object","properties":{"event_name":{"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"identifier":{"type":"string","description":"A unique identifier for the event. If not provided, one will be generated.\nWe recommend using a globally unique identifier for this. We’ll enforce\nuniqueness within a rolling 24 hour period."},"payload":{"type":"object","additionalProperties":{"type":"string"},"description":"The payload of the event. This must contain the fields corresponding to a meter’s\n`customer_mapping.event_payload_key` (default is `stripe_customer_id`) and\n`value_settings.event_payload_key` (default is `value`). Read more about\nthe\n[payload](https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides)."},"timestamp":{"type":"string","description":"The time of the event. Must be within the past 35 calendar days or up to\n5 minutes in the future. Defaults to current timestamp if not specified.","format":"date-time"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.billing.meter_event"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.archived_meter"},{"$ref":"#/components/schemas/v2.error.duplicate_meter_event"},{"$ref":"#/components/schemas/v2.error.no_meter"},{"$ref":"#/components/schemas/v2.error.payload_invalid_value"},{"$ref":"#/components/schemas/v2.error.payload_no_customer_defined"},{"$ref":"#/components/schemas/v2.error.payload_no_value_defined"},{"$ref":"#/components/schemas/v2.error.too_many_concurrent_requests"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_usage_v2_synchronous","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"identifier":"idmp_12345678","event_name":"ai_search_api","timestamp":"2024-06-01T12:00:00.000Z","payload":{"stripe_customer_id":"cus_12345678","value":"25"}}},"response":{"object":"v2.billing.meter_event","created":"2024-06-01T12:10:00.000Z","livemode":false,"identifier":"idmp_12345678","event_name":"ai_search_api","timestamp":"2024-06-01T12:00:00.000Z","payload":{"stripe_customer_id":"cus_12345678","value":"25"}}}],"x-stripeErrors":[{"code":"archived_meter","description":"The meter must be Active to submit events.","httpStatusCode":400},{"code":"duplicate_meter_event","description":"A meter event with a duplicate identifier has already been submitted.","httpStatusCode":400},{"code":"no_meter","description":"A meter must exist to submit events.","httpStatusCode":400},{"code":"payload_invalid_value","description":"The value must be a positive integer.","httpStatusCode":400},{"code":"payload_no_customer_defined","description":"The payload must have a reference to the customer.","httpStatusCode":400},{"code":"payload_no_value_defined","description":"The payload must have a value.","httpStatusCode":400},{"code":"too_many_concurrent_requests","description":"Cannot create multiple usage events for the same customer, meter concurrently.","httpStatusCode":409}]}},"/v2/core/account_links":{"post":{"summary":"Create an account link","description":"Creates an AccountLink object that includes a single-use URL that an account can use to access a Stripe-hosted flow for collecting or updating required information.","operationId":"PostV2CoreAccountLinks","requestBody":{"content":{"application/json":{"schema":{"required":["account","use_case"],"type":"object","properties":{"account":{"type":"string","description":"The ID of the Account to create link for.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}},"use_case":{"required":["type"],"type":"object","properties":{"account_onboarding":{"required":["configurations","refresh_url"],"type":"object","properties":{"collection_options":{"type":"object","properties":{"fields":{"type":"string","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"],"x-stripeEnum":[{"description":"Collect currently_due requirements.","value":"currently_due"},{"description":"Collect eventually_due and currently_due requirements.","value":"eventually_due"}]},"future_requirements":{"type":"string","description":"Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.","enum":["include","omit"],"x-stripeEnum":[{"description":"Include future requirements.","value":"include"},{"description":"Omit future requirements.","value":"omit"}]}},"description":"Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow."},"configurations":{"type":"array","description":"Open Enum. A v2/core/account can be configured to enable certain functionality. The configuration param targets the v2/core/account_link to collect information for the specified v2/core/account configuration/s.","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"To onboard a new customer.","value":"customer"},{"description":"To onboard a new merchant.","value":"merchant"},{"description":"To onboard a new recipient.","value":"recipient"}]}},"refresh_url":{"type":"string","description":"The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new AccountLink with the same parameters used to create the original AccountLink, then redirect the user to the new AccountLink’s URL so they can continue the flow. If a new AccountLink cannot be generated or the redirect fails you should display a useful error to the user. Please make sure to implement authentication before redirecting the user in case this URL is leaked to a third party."},"return_url":{"type":"string","description":"The URL that the user will be redirected to upon completing the linked flow."}},"description":"Hash containing configuration options for an Account Link object that onboards a new account."},"account_update":{"required":["configurations","refresh_url"],"type":"object","properties":{"collection_options":{"type":"object","properties":{"fields":{"type":"string","description":"Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`.","enum":["currently_due","eventually_due"],"x-stripeEnum":[{"description":"Collect currently_due requirements.","value":"currently_due"},{"description":"Collect eventually_due and currently_due requirements.","value":"eventually_due"}]},"future_requirements":{"type":"string","description":"Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.","enum":["include","omit"],"x-stripeEnum":[{"description":"Include future requirements.","value":"include"},{"description":"Omit future requirements.","value":"omit"}]}},"description":"Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow."},"configurations":{"type":"array","description":"Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s.","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"To onboard a new customer.","value":"customer"},{"description":"To onboard a new merchant.","value":"merchant"},{"description":"To update a new recipient.","value":"recipient"}]}},"refresh_url":{"type":"string","description":"The URL the user will be redirected to if the Account Link is expired, has been used, 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 URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user."},"return_url":{"type":"string","description":"The URL that the user will be redirected to upon completing the linked flow."}},"description":"Hash containing configuration options for an Account Link that updates an existing account."},"type":{"type":"string","description":"Open Enum. The type of Account Link the user is requesting.","enum":["account_onboarding","account_update"],"x-stripeEnum":[{"description":"A form to collect all required information to onboard a new account.","value":"account_onboarding"},{"description":"A form to collect all required information to update a previously onboarded account.","value":"account_update"}]}},"description":"The use case of the AccountLink."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_link"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.configs_must_match_to_use_account_links"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_account_link","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"account":"acct_1Nv0FGQ9RKHgCVdK","use_case":{"type":"account_onboarding","account_onboarding":{"configurations":["recipient"],"return_url":"https://example.com/return","refresh_url":"https://example.com/reauth"}}}},"response":{"object":"v2.core.account_link","account":"acct_1Nv0FGQ9RKHgCVdK","created":"2025-03-27T17:15:18.000Z","expires_at":"2025-03-27T17:25:18.000Z","livemode":true,"url":"https://accounts.stripe.com/r/acct_1Nv0FGQ9RKHgCVdK#alu_test_61SGhyomRuz7xsw5216SGhyj0ASQdCLwMKdRUF3mi3H6","use_case":{"account_onboarding":{"configurations":["recipient"],"refresh_url":"https://example.com/reauth","return_url":"https://example.com/return"},"type":"account_onboarding"}}}],"x-stripeErrors":[{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"configs_must_match_to_use_account_links","description":"Account cannot be onboard via v2/core/account_links without specifying the right configurations.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/core/account_tokens":{"post":{"summary":"Create an account token","description":"Creates an Account Token.","operationId":"PostV2CoreAccountTokens","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"contact_email":{"type":"string","description":"The default contact email address for the Account. Required when configuring the account as a merchant or recipient."},"contact_phone":{"type":"string","description":"The default contact phone for the Account."},"display_name":{"type":"string","description":"A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account."},"identity":{"type":"object","properties":{"attestations":{"type":"object","properties":{"directorship_declaration":{"type":"object","properties":{"attested":{"type":"boolean","description":"A boolean indicating if the directors information has been attested."}},"description":"This hash is used to attest that the directors information provided to Stripe is both current and correct; IP, date, and User Agent are expanded by Stripe."},"ownership_declaration":{"type":"object","properties":{"attested":{"type":"boolean","description":"A boolean indicating if the beneficial owner information has been attested."}},"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct; IP, date, and User Agent are expanded by Stripe."},"persons_provided":{"type":"object","properties":{"directors":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"executives":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"owners":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"ownership_exemption_reason":{"type":"string","description":"Reason for why the company is exempt from providing ownership information.","enum":["qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"],"x-stripeEnum":[{"description":"A qualifying entity or group of qualifying entities own a significant enough share of the merchant’s business that they are exempt from providing ownership information based on regulatory guidelines in the merchant’s country.","value":"qualified_entity_exceeds_ownership_threshold"},{"description":"A merchant is a financial institution.","value":"qualifies_as_financial_institution"}]}},"description":"Attestation that all Persons with a specific Relationship value have been provided."},"representative_declaration":{"type":"object","properties":{"attested":{"type":"boolean","description":"A boolean indicating if the representative is authorized to act as the representative of their legal entity."}},"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity; IP, date, and User Agent are expanded by Stripe."},"terms_of_service":{"type":"object","properties":{"account":{"type":"object","properties":{"shown_and_accepted":{"type":"boolean","description":"The boolean value indicating if the terms of service have been accepted."}},"description":"Details on the Account's acceptance of the [Stripe Services Agreement]; IP, date, and User Agent are expanded by Stripe."}},"description":"Attestations of accepted terms of service agreements."}},"description":"Attestations from the identity's key people, e.g. owners, executives, directors, representatives."},"business_details":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The business registration address of the business entity."},"annual_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"A non-negative integer representing the amount in the smallest currency unit."},"fiscal_year_end":{"type":"string","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."}},"description":"The business gross annual revenue for its preceding fiscal year."},"documents":{"type":"object","properties":{"bank_account_ownership_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that support the 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."},"company_license":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s license to operate."},"company_memorandum_of_association":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s Memorandum of Association."},"company_ministerial_decree":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment."},"company_registration_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities."},"company_tax_id_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s tax ID."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document verifying the business."},"proof_of_address":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of address."},"proof_of_registration":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s proof of registration with the national business registry."},"proof_of_ultimate_beneficial_ownership":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership."}},"description":"A document verifying the business."},"estimated_worker_count":{"type":"integer","description":"Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors)."},"id_numbers":{"type":"array","description":"The ID numbers of a business entity.","items":{"required":["type","value"],"type":"object","properties":{"registrar":{"type":"string","description":"The registrar of the ID number (Only valid for DE ID number types)."},"type":{"type":"string","description":"Open Enum. The ID number type of a business entity.","enum":["ae_crn","ae_vat","ao_nif","ar_cuit","at_fn","at_stn","at_vat","au_abn","au_acn","au_in","az_tin","bd_etin","be_cbe","be_vat","bg_uic","bg_vat","br_cnpj","ca_cn","ca_crarr","ca_gst_hst","ca_neq","ca_rid","ch_chid","ch_uid","cr_cpj","cr_nite","cy_he","cy_tic","cy_vat","cz_ico","cz_vat","de_hrn","de_stn","de_vat","dk_cvr","dk_vat","do_rcn","ee_rk","ee_vat","es_cif","es_vat","fi_vat","fi_yt","fr_rna","fr_siren","fr_vat","gb_crn","gb_vat","gi_crn","gr_afm","gr_gemi","gr_vat","gt_nit","hk_br","hk_cr","hr_mbs","hr_oib","hr_vat","hu_cjs","hu_tin","hu_vat","ie_crn","ie_trn","ie_vat","it_rea","it_vat","jp_cn","kz_bin","li_uid","lt_ccrn","lt_vat","lu_nif","lu_rcs","lu_vat","lv_urn","lv_vat","mt_crn","mt_tin","mt_vat","mx_rfc","my_brn","my_coid","my_itn","my_sst","mz_nuit","nl_kvk","nl_rsin","nl_vat","no_orgnr","nz_bn","nz_ird","pe_ruc","pk_ntn","pl_nip","pl_regon","pl_vat","pt_vat","ro_cui","ro_orc","ro_vat","sa_crn","sa_tin","se_orgnr","se_vat","sg_uen","si_msp","si_tin","si_vat","sk_dic","sk_ico","sk_vat","th_crn","th_prn","th_tin","us_ein"],"x-stripeEnum":[{"description":"Company registration number - United Arab Emirates.","value":"ae_crn"},{"description":"Business VAT ID - United Arab Emirates.","value":"ae_vat"},{"description":"Número de Identificação Fiscal (NIF) - Angola.","value":"ao_nif"},{"description":"Clave Única de Identificación Tributaria - Argentina.","value":"ar_cuit"},{"description":"Firmenbuchnummer - Austria.","value":"at_fn"},{"description":"Steuernummer (StNr.) - Austria.","value":"at_stn"},{"description":"VAT Number (UID) - Austria.","value":"at_vat"},{"description":"Australian Business Number - Australia.","value":"au_abn"},{"description":"Australian Company Number - Australia.","value":"au_acn"},{"description":"Incorporation Number - Australia.","value":"au_in"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"Enterprise number - Belgium.","value":"be_cbe"},{"description":"VAT Number (n° TVA/BTW-nr) - Belgium.","value":"be_vat"},{"description":"Unique Identification Code - Bulgaria.","value":"bg_uic"},{"description":"VAT Number (ДДС номер) - Bulgaria.","value":"bg_vat"},{"description":"Cadastro Nacional da Pessoa Jurídica - Brazil.","value":"br_cnpj"},{"description":"Corporation Number - Canada.","value":"ca_cn"},{"description":"CRA registered charity program account number - Canada.","value":"ca_crarr"},{"description":"GST/HST Number - Canada.","value":"ca_gst_hst"},{"description":"Québec Enterprise Number - Canada.","value":"ca_neq"},{"description":"Registry ID - Canada.","value":"ca_rid"},{"description":"Handelsregisternummer - Switzerland.","value":"ch_chid"},{"description":"Business Identification Number (UID) - Switzerland.","value":"ch_uid"},{"description":"Cédula de Persona Jurídica (CPJ) - Costa Rica.","value":"cr_cpj"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Αριθμός Εγγραφής Εταιρείας - Cyprus.","value":"cy_he"},{"description":"Tax Identification Code - Cyprus.","value":"cy_tic"},{"description":"VAT Number (ΦΠΑ) - Cyprus.","value":"cy_vat"},{"description":"Identifikační číslo osoby - Czech Republic.","value":"cz_ico"},{"description":"VAT Number (DIČ) - Czech Republic.","value":"cz_vat"},{"description":"Handelsregisternummer - Germany.","value":"de_hrn"},{"description":"Steuernummer (StNr.) - Germany.","value":"de_stn"},{"description":"VAT Number (USt-IdNr.) - Germany.","value":"de_vat"},{"description":"Centrale Virksomhedsregister - Denmark.","value":"dk_cvr"},{"description":"VAT Number (CVR) - Denmark.","value":"dk_vat"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Registrikood - Estonia.","value":"ee_rk"},{"description":"VAT Number (KMKR) - Estonia.","value":"ee_vat"},{"description":"Número de Identificación Fiscal - Spain.","value":"es_cif"},{"description":"VAT Number (NIF-IVA) - Spain.","value":"es_vat"},{"description":"VAT Number (ALV nro Momsnummer) - Finland.","value":"fi_vat"},{"description":"Y-tunnus - Finland.","value":"fi_yt"},{"description":"Numéro RNA - France.","value":"fr_rna"},{"description":"SIREN - France.","value":"fr_siren"},{"description":"VAT Number (n° TVA) - France.","value":"fr_vat"},{"description":"Companies House Registration Number - United Kingdom.","value":"gb_crn"},{"description":"VAT registration number - United Kingdom.","value":"gb_vat"},{"description":"Company Registration Number (CRN) - Gibraltar.","value":"gi_crn"},{"description":"Αριθμός Φορολογικού Μητρώου (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"General Commercial Register (G.E.M.I.) - Greece.","value":"gr_gemi"},{"description":"VAT Number (ΦΠΑ) - Greece.","value":"gr_vat"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Business Registration Number - Hong Kong.","value":"hk_br"},{"description":"Company Registration Number - Hong Kong.","value":"hk_cr"},{"description":"MBS (matični broj poslovnog subjekta) - Croatia.","value":"hr_mbs"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"VAT ID (PDV identifikacijski broj) - Croatia.","value":"hr_vat"},{"description":"Company registration number (Cégjegyzékszám) - Hungary.","value":"hu_cjs"},{"description":"Adószám - Hungary.","value":"hu_tin"},{"description":"VAT Number (ANUM) - Hungary.","value":"hu_vat"},{"description":"Company Registration Number (CRN) - Ireland.","value":"ie_crn"},{"description":"Tax registration number (TRN) - Ireland.","value":"ie_trn"},{"description":"VAT Number - Ireland.","value":"ie_vat"},{"description":"Numero Repertorio Economico e Amministrativo (REA) - Italy.","value":"it_rea"},{"description":"Partita IVA - Italy.","value":"it_vat"},{"description":"Corporate number (Corporate \\\"My Number\\\") - Japan.","value":"jp_cn"},{"description":"Business Identification Number (BIN) - Kazakhstan.","value":"kz_bin"},{"description":"Handelsregisternummer - Liechtenstein.","value":"li_uid"},{"description":"Central Commercial Registry Number / Certificate Number - Lithuania.","value":"lt_ccrn"},{"description":"VAT Number (PVM kodas) - Lithuania.","value":"lt_vat"},{"description":"Numéro d’identification fiscale (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Registre de commerce et des sociétés (RCS) number - Luxembourg.","value":"lu_rcs"},{"description":"VAT Number (No. TVA) - Luxembourg.","value":"lu_vat"},{"description":"Uzņēmumu reģistrs number - Latvia.","value":"lv_urn"},{"description":"VAT Number (PVN) - Latvia.","value":"lv_vat"},{"description":"Company Registration Number - Malta.","value":"mt_crn"},{"description":"Tax identification number - Malta.","value":"mt_tin"},{"description":"VAT Registration Number - Malta.","value":"mt_vat"},{"description":"Registro Federal de Contribuyentes (RFC) - Mexico.","value":"mx_rfc"},{"description":"Malaysia Business Registration Number (BRN) - Malaysia.","value":"my_brn"},{"description":"Corporate Identity Number (MyCoID) - Malaysia.","value":"my_coid"},{"description":"Tax Identification Number (TIN) - Malaysia.","value":"my_itn"},{"description":"Malaysia Sales and Service Tax Number (SST) - Malaysia.","value":"my_sst"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"Chamber of Commerce (KVK) Number - Netherlands.","value":"nl_kvk"},{"description":"Tax Identification Number (RSIN) - Netherlands.","value":"nl_rsin"},{"description":"VAT Number (Btw-nr.) - Netherlands.","value":"nl_vat"},{"description":"Organisasjonsnummer - Norway.","value":"no_orgnr"},{"description":"New Zealand Business Number (NZBN) - New Zealand.","value":"nz_bn"},{"description":"Inland Revenue Department (IRD) Number - New Zealand.","value":"nz_ird"},{"description":"Registro Único de Contribuyentes (RUC) - Peru.","value":"pe_ruc"},{"description":"National Tax Number (NTN) - Pakistan.","value":"pk_ntn"},{"description":"Numer Identyfikacji Podatkowej (NIP) - Poland.","value":"pl_nip"},{"description":"REGON number - Poland.","value":"pl_regon"},{"description":"VAT Number (NIP) - Poland.","value":"pl_vat"},{"description":"VAT number (Número de Identificação Fiscal (NIF)) - Portugal.","value":"pt_vat"},{"description":"Codul de identificare fiscală (CIF/CUI) - Romania.","value":"ro_cui"},{"description":"Număr de ordine în registrul comerțului (Nr. ORC) - Romania.","value":"ro_orc"},{"description":"VAT Number (CIF) - Romania.","value":"ro_vat"},{"description":"Commercial Registration Number - Saudi Arabia.","value":"sa_crn"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Organisationsnummer - Sweden.","value":"se_orgnr"},{"description":"VAT Number (Momsnr.) - Sweden.","value":"se_vat"},{"description":"Unique Entity Number (UEN) - Singapore.","value":"sg_uen"},{"description":"Company Identification Number (Matična številka podjetja) - Slovenia.","value":"si_msp"},{"description":"Davčna številka - Slovenia.","value":"si_tin"},{"description":"VAT Number (ID za DDV) - Slovenia.","value":"si_vat"},{"description":"Daňové identifikačné číslo (DIČ) - Slovakia.","value":"sk_dic"},{"description":"Organization identification number (ICO) - Slovakia.","value":"sk_ico"},{"description":"VAT Number (IČ DPH) - Slovakia.","value":"sk_vat"},{"description":"Company registration number (CRN) - Thailand.","value":"th_crn"},{"description":"Partnership registration number (PRN) - Thailand.","value":"th_prn"},{"description":"Taxpayer Identification Number (TIN) (หมายเลขประจำตัวผู้เสียภาษี) - Thailand.","value":"th_tin"},{"description":"Employer Identification Number (EIN) - United States.","value":"us_ein"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"monthly_estimated_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"A non-negative integer representing the amount in the smallest currency unit."}},"description":"An estimate of the monthly revenue of the business."},"phone":{"type":"string","description":"The phone number of the Business Entity."},"registered_name":{"type":"string","description":"The business legal name."},"registration_date":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31."},"month":{"type":"integer","description":"The month of registration, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of registration."}},"description":"When the business was incorporated or registered."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The business registration address of the business entity in non latin script."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kana name."},"kanji":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kanji name."}},"description":"The business legal name in non latin script."},"structure":{"type":"string","description":"The category identifying the legal structure of the business.","enum":["cooperative","free_zone_establishment","free_zone_llc","governmental_unit","government_instrumentality","incorporated_association","incorporated_non_profit","incorporated_partnership","limited_liability_partnership","llc","multi_member_llc","private_company","private_corporation","private_partnership","public_company","public_corporation","public_listed_corporation","public_partnership","registered_charity","single_member_llc","sole_establishment","sole_proprietorship","tax_exempt_government_instrumentality","trust","unincorporated_association","unincorporated_non_profit","unincorporated_partnership"],"x-stripeEnum":[{"description":"A cooperative organization.","value":"cooperative"},{"description":"A free zone establishment.","value":"free_zone_establishment"},{"description":"A free zone LLC.","value":"free_zone_llc"},{"description":"A branch of the state, local, or federal government of the US.","value":"governmental_unit"},{"description":"An organization formed by statute or by a government body in the US to perform a function, but not part of the government itself.","value":"government_instrumentality"},{"description":"An incorporated association.","value":"incorporated_association"},{"description":"An organization incorporated under US state law with tax-exempt status as a nonprofit (for example, 501(c)(3)).","value":"incorporated_non_profit"},{"description":"Also called ‘Limited Partnerships’ or ‘Registered Ordinary Partnerships’, these are businesses registered in Thailand owned by two or more people. The business’ legal entity and its legal personality is separated and distinct from the individual partners.","value":"incorporated_partnership"},{"description":"A limited liability partnership.","value":"limited_liability_partnership"},{"description":"An LLC.","value":"llc"},{"description":"A business with multiple owners or members that’s registered in a US state as a Limited Liability Company (LLC).","value":"multi_member_llc"},{"description":"A private company.","value":"private_company"},{"description":"A business incorporated in a US state that’s privately owned. It doesn’t have shares that are traded on a public stock exchange. It’s also called a closely-held corporation. If you’re a single-member LLC that has elected to be treated as a corporation for tax purposes, use this classification.","value":"private_corporation"},{"description":"A business jointly owned by two or more people that’s created through a partnership agreement.","value":"private_partnership"},{"description":"A public company.","value":"public_company"},{"description":"A business incorporated under the laws of a US state. Ownership shares of this corporation are traded on a public stock exchange.","value":"public_corporation"},{"description":"A public corporation that is specifically listed.","value":"public_listed_corporation"},{"description":"A business formed by a partnership agreement with one or more people, but has shares that are publicly traded on a stock exchange.","value":"public_partnership"},{"description":"A charitable organization, public foundation, or private foundation registered with the Canada Revenue Agency.","value":"registered_charity"},{"description":"A business entity registered with a US state as a limited liability company (LLC) and that has only one member or owner.","value":"single_member_llc"},{"description":"A sole establishment.","value":"sole_establishment"},{"description":"A business that isn’t a separate legal entity from its individual owner.","value":"sole_proprietorship"},{"description":"A tax exempt government instrumentality.","value":"tax_exempt_government_instrumentality"},{"description":"A trust.","value":"trust"},{"description":"A business venture of two or more people that doesn't have a formal corporate or entity structure.","value":"unincorporated_association"},{"description":"An unincorporated nonprofit.","value":"unincorporated_non_profit"},{"description":"An unincorporated partnership.","value":"unincorporated_partnership"}]}},"description":"Information about the company or business."},"entity_type":{"type":"string","description":"The entity type.","enum":["company","government_entity","individual","non_profit"],"x-stripeEnum":[{"description":"A registered business.","value":"company"},{"description":"A government entity.","value":"government_entity"},{"description":"An individual that is not registered as a business.","value":"individual"},{"description":"A nonprofit organization.","value":"non_profit"}]},"individual":{"type":"object","properties":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the individual.","items":{"required":["purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the individual.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The person's full name."},"given_name":{"type":"string","description":"The person's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The person's last or family name."}}}},"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The individual's residential address."},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of the birth."},"month":{"type":"integer","description":"The month of birth."},"year":{"type":"integer","description":"The year of birth."}},"description":"The individual's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"The individual's email address."},"given_name":{"type":"string","description":"The individual's first name."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the individual.","items":{"required":["type","value"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"legal_gender":{"type":"string","description":"The individual's gender (International regulations require either \"male\" or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"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."},"nationalities":{"type":"array","description":"The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","items":{"type":"string"}},"phone":{"type":"string","description":"The individual's phone number."},"political_exposure":{"type":"string","description":"The individual's political exposure.","enum":["existing","none"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"director":{"type":"boolean","description":"Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s identity."},"percent_ownership":{"type":"string","description":"The percent owned by the person of the account's legal entity.","format":"decimal"},"title":{"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this individual has with the account's identity."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the individual."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The individuals primary name in non latin script."},"surname":{"type":"string","description":"The individual's last name."}},"description":"Information about the person represented by the account."}},"description":"Information about the company, individual, and business represented by the Account."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_token"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.token_must_be_created_with_publishable_key"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_account_token","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"contact_email":"furever@example.com","display_name":"Furever","identity":{"attestations":{"terms_of_service":{"account":{"shown_and_accepted":true}}},"entity_type":"company","business_details":{"registered_name":"Furever"}}}},"response":{"id":"accttok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_token","created":"2025-11-17T14:00:00.000Z","expires_at":"2025-11-17T14:10:00.000Z","livemode":true,"used":false}}],"x-stripeErrors":[{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"token_must_be_created_with_publishable_key","description":"Token must be created with publishable key.","httpStatusCode":400}]}},"/v2/core/account_tokens/{id}":{"get":{"summary":"Retrieve an account token","description":"Retrieves an Account Token.","operationId":"GetV2CoreAccountTokensId","parameters":[{"name":"id","in":"path","description":"The ID of the Account Token to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_token"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_account_token","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"accttok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY"},"requestBody":{}},"response":{"id":"accttok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_token","created":"2025-11-17T14:00:00.000Z","expires_at":"2025-11-17T14:10:00.000Z","livemode":true,"used":true}}],"x-stripeErrors":[{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/core/accounts":{"get":{"summary":"List accounts","description":"Returns a list of Accounts.","operationId":"GetV2CoreAccounts","parameters":[{"name":"applied_configurations","in":"query","description":"Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"The Account can be used as a customer.","value":"customer"},{"description":"The Account can be used as a merchant.","value":"merchant"},{"description":"The Account can be used as a recipient.","value":"recipient"}]}}},{"name":"closed","in":"query","description":"Filter by whether the account is closed. If omitted, returns only Accounts that are not closed.","required":false,"style":"form","schema":{"type":"boolean"}},{"name":"limit","in":"query","description":"The upper limit on the number of accounts returned by the List Account request.","required":false,"style":"form","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"A list of retrieved Account objects.","items":{"$ref":"#/components/schemas/v2.core.account"}},"next_page_url":{"type":"string","description":"URL to fetch the next page of the list. If there are no more pages, the value is null.","nullable":true},"previous_page_url":{"type":"string","description":"URL to fetch the previous page of the list. If there are no previous pages, the value is null.","nullable":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_accounts","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"limit":2,"applied_configurations":["customer"]}},"response":{"data":[{"id":"acct_1QP3oLBUFVXWiKFB","object":"v2.core.account","applied_configurations":["customer"],"contact_email":"jenny.rosen@example.com","created":"2024-11-25T15:02:50.000Z","display_name":"Jenny Rosen","livemode":true,"metadata":{}},{"id":"acct_1QO24tPeVxUa6gV6","object":"v2.core.account","applied_configurations":["recipient","customer","merchant"],"contact_email":"jenny.rosen@example.com","created":"2024-11-22T18:59:45.000Z","dashboard":"none","display_name":"Jenny Rosen 2","livemode":true,"metadata":{"my_key":"my_value"}}],"next_page_url":"/v2/core/accounts?page=page_5dr8SFDbv7rZ2aj4ZSGuf4J1Dv58yE0YM4BhBqb2tg94CD5PDoUA7RD2AE7VBEH5C0E0qGJi1wMFPf9MEBbh6M125&limit=2&applied_configurations=customer"}}],"x-stripeErrors":[{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400}]},"post":{"summary":"Create an account","description":"An Account is a representation of a company, individual or other entity that a user interacts with. Accounts contain identifying information about the entity, and configurations that store the features an account has access to. An account can be configured as any or all of the following configurations: Customer, Merchant and/or Recipient.","operationId":"PostV2CoreAccounts","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_token":{"type":"string","description":"The account token generated by the account token api.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_token"}}},"configuration":{"type":"object","properties":{"customer":{"type":"object","properties":{"automatic_indirect_tax":{"type":"object","properties":{"exempt":{"type":"string","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"],"x-stripeEnum":[{"description":"The customer is tax-exempt.","value":"exempt"},{"description":"The customer is not tax-exempt.","value":"none"},{"description":"Reverse charge applies.","value":"reverse"}]},"ip_address":{"type":"string","description":"A recent IP address of the customer used for tax reporting and tax location inference."}},"description":"Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information."},"billing":{"type":"object","properties":{"invoice":{"type":"object","properties":{"custom_fields":{"type":"array","description":"The list of up to 4 default custom fields to be displayed on invoices for this customer.","items":{"required":["name","value"],"type":"object","properties":{"name":{"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"type":"string","description":"The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values."}}}},"footer":{"type":"string","description":"Default invoice footer."},"next_sequence":{"type":"integer","description":"Sequence number to use on the customer account's next invoice. Defaults to 1."},"prefix":{"type":"string","description":"Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers."},"rendering":{"type":"object","properties":{"amount_tax_display":{"type":"string","description":"Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.","enum":["exclude_tax","include_inclusive_tax"],"x-stripeEnum":[{"description":"Exclude tax.","value":"exclude_tax"},{"description":"Include inclusive tax.","value":"include_inclusive_tax"}]},"template":{"type":"string","description":"ID of the invoice rendering template to use for future invoices."}},"description":"Default invoice PDF rendering options."}},"description":"Default invoice settings for the customer account."}},"description":"Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions."},"capabilities":{"type":"object","properties":{"automatic_indirect_tax":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions."}},"description":"Capabilities that have been requested on the Customer Configuration."},"shipping":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."}},"description":"Customer shipping address."},"name":{"type":"string","description":"Customer name."},"phone":{"type":"string","description":"Customer phone (including extension)."}},"description":"The customer's shipping information. Appears on invoices emailed to this customer."},"test_clock":{"type":"string","description":"ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account."}},"description":"The Customer Configuration allows the Account to be used in inbound payment flows."},"merchant":{"type":"object","properties":{"bacs_debit_payments":{"type":"object","properties":{"display_name":{"type":"string","description":"Display name for Bacs Direct Debit payments."}},"description":"Settings used for Bacs debit payments."},"branding":{"type":"object","properties":{"icon":{"type":"string","description":"ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px."},"logo":{"type":"string","description":"ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px."},"primary_color":{"type":"string","description":"A CSS hex color value representing the primary branding color for the merchant."},"secondary_color":{"type":"string","description":"A CSS hex color value representing the secondary branding color for the merchant."}},"description":"Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products."},"capabilities":{"type":"object","properties":{"ach_debit_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process ACH debit payments."},"acss_debit_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process ACSS debit payments."},"affirm_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Affirm payments."},"afterpay_clearpay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Afterpay/Clearpay payments."},"alma_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Alma payments."},"amazon_pay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Amazon Pay payments."},"au_becs_debit_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Australian BECS Direct Debit payments."},"bacs_debit_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process BACS Direct Debit payments."},"bancontact_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Bancontact payments."},"blik_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process BLIK payments."},"boleto_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Boleto payments."},"card_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to collect card payments."},"cartes_bancaires_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Cartes Bancaires payments."},"cashapp_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Cash App payments."},"eps_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process EPS payments."},"fpx_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process FPX payments."},"gb_bank_transfer_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process UK bank transfer payments."},"grabpay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process GrabPay payments."},"ideal_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process iDEAL payments."},"jcb_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process JCB card payments."},"jp_bank_transfer_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Japanese bank transfer payments."},"kakao_pay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Kakao Pay payments."},"klarna_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Klarna payments."},"konbini_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Konbini convenience store payments."},"kr_card_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Korean card payments."},"link_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Link payments."},"mobilepay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process MobilePay payments."},"multibanco_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Multibanco payments."},"mx_bank_transfer_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Mexican bank transfer payments."},"naver_pay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Naver Pay payments."},"oxxo_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process OXXO payments."},"p24_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Przelewy24 (P24) payments."},"pay_by_bank_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Pay by Bank payments."},"payco_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process PAYCO payments."},"paynow_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process PayNow payments."},"promptpay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process PromptPay payments."},"revolut_pay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Revolut Pay payments."},"samsung_pay_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Samsung Pay payments."},"sepa_bank_transfer_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process SEPA bank transfer payments."},"sepa_debit_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process SEPA Direct Debit payments."},"swish_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Swish payments."},"twint_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process TWINT payments."},"us_bank_transfer_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process US bank transfer payments."},"zip_payments":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Zip payments."}},"description":"Capabilities to request on the Merchant Configuration."},"card_payments":{"type":"object","properties":{"decline_on":{"type":"object","properties":{"avs_failure":{"type":"boolean","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."},"cvc_failure":{"type":"boolean","description":"Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification."}},"description":"Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge."}},"description":"Card payments settings."},"konbini_payments":{"type":"object","properties":{"support":{"type":"object","properties":{"email":{"type":"string","description":"Support email address for Konbini payments."},"hours":{"type":"object","properties":{"end_time":{"type":"string","description":"Support hours end time (JST time of day) for in `HH:MM` format."},"start_time":{"type":"string","description":"Support hours start time (JST time of day) for in `HH:MM` format."}},"description":"Support hours for Konbini payments."},"phone":{"type":"string","description":"Support phone number for Konbini payments."}},"description":"Support for Konbini payments."}},"description":"Settings specific to Konbini payments on the account."},"mcc":{"type":"string","description":"The Merchant Category Code (MCC) for the Merchant Configuration. MCCs classify businesses based on the goods or services they provide."},"script_statement_descriptor":{"type":"object","properties":{"kana":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"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)."},"kanji":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"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)."}},"description":"Settings for the default text that appears on statements for language variations."},"statement_descriptor":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"description":"Statement descriptor."},"support":{"type":"object","properties":{"address":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"A publicly available mailing address for sending support issues to."},"email":{"type":"string","description":"A publicly available email address for sending support issues to."},"phone":{"type":"string","description":"A publicly available phone number to call with support issues."},"url":{"type":"string","description":"A publicly available website for handling support issues."}},"description":"Publicly available contact information for sending support issues to."}},"description":"Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set."},"recipient":{"type":"object","properties":{"capabilities":{"type":"object","properties":{"stripe_balance":{"type":"object","properties":{"stripe_transfers":{"required":["requested"],"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance)."}},"description":"Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance)."}},"description":"Capabilities to be requested on the Recipient Configuration."}},"description":"The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set."}},"description":"An Account Configuration which allows the Account to take on a key persona across Stripe products."},"contact_email":{"type":"string","description":"The default contact email address for the Account. Required when configuring the account as a merchant or recipient."},"contact_phone":{"type":"string","description":"The default contact phone for the Account."},"dashboard":{"type":"string","description":"A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.","enum":["express","full","none"],"x-stripeEnum":[{"description":"The Account has access to the Express hosted dashboard.","value":"express"},{"description":"The Account has access to the full Stripe hosted dashboard.","value":"full"},{"description":"The Account does not have access to any Stripe hosted dashboard.","value":"none"}]},"defaults":{"type":"object","properties":{"currency":{"type":"string","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)."},"locales":{"type":"array","description":"The Account's preferred locales (languages), ordered by preference.","items":{"type":"string","enum":["ar-SA","bg","bg-BG","cs","cs-CZ","da","da-DK","de","de-DE","el","el-GR","en","en-AU","en-CA","en-GB","en-IE","en-IN","en-NZ","en-SG","en-US","es","es-419","es-ES","et","et-EE","fi","fil","fil-PH","fi-FI","fr","fr-CA","fr-FR","he-IL","hr","hr-HR","hu","hu-HU","id","id-ID","it","it-IT","ja","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","ms","ms-MY","mt","mt-MT","nb","nb-NO","nl","nl-NL","pl","pl-PL","pt","pt-BR","pt-PT","ro","ro-RO","ru","ru-RU","sk","sk-SK","sl","sl-SI","sv","sv-SE","th","th-TH","tr","tr-TR","vi","vi-VN","zh","zh-Hans","zh-Hant-HK","zh-Hant-TW","zh-HK","zh-TW"],"x-stripeEnum":[{"description":"IETF Locale.","value":"ar-SA"},{"description":"IETF Locale.","value":"bg"},{"description":"IETF Locale.","value":"bg-BG"},{"description":"IETF Locale.","value":"cs"},{"description":"IETF Locale.","value":"cs-CZ"},{"description":"IETF Locale.","value":"da"},{"description":"IETF Locale.","value":"da-DK"},{"description":"IETF Locale.","value":"de"},{"description":"IETF Locale.","value":"de-DE"},{"description":"IETF Locale.","value":"el"},{"description":"IETF Locale.","value":"el-GR"},{"description":"IETF Locale.","value":"en"},{"description":"IETF Locale.","value":"en-AU"},{"description":"IETF Locale.","value":"en-CA"},{"description":"IETF Locale.","value":"en-GB"},{"description":"IETF Locale.","value":"en-IE"},{"description":"IETF Locale.","value":"en-IN"},{"description":"IETF Locale.","value":"en-NZ"},{"description":"IETF Locale.","value":"en-SG"},{"description":"IETF Locale.","value":"en-US"},{"description":"IETF Locale.","value":"es"},{"description":"IETF Locale.","value":"es-419"},{"description":"IETF Locale.","value":"es-ES"},{"description":"IETF Locale.","value":"et"},{"description":"IETF Locale.","value":"et-EE"},{"description":"IETF Locale.","value":"fi"},{"description":"IETF Locale.","value":"fil"},{"description":"IETF Locale.","value":"fil-PH"},{"description":"IETF Locale.","value":"fi-FI"},{"description":"IETF Locale.","value":"fr"},{"description":"IETF Locale.","value":"fr-CA"},{"description":"IETF Locale.","value":"fr-FR"},{"description":"IETF Locale.","value":"he-IL"},{"description":"IETF Locale.","value":"hr"},{"description":"IETF Locale.","value":"hr-HR"},{"description":"IETF Locale.","value":"hu"},{"description":"IETF Locale.","value":"hu-HU"},{"description":"IETF Locale.","value":"id"},{"description":"IETF Locale.","value":"id-ID"},{"description":"IETF Locale.","value":"it"},{"description":"IETF Locale.","value":"it-IT"},{"description":"IETF Locale.","value":"ja"},{"description":"IETF Locale.","value":"ja-JP"},{"description":"IETF Locale.","value":"ko"},{"description":"IETF Locale.","value":"ko-KR"},{"description":"IETF Locale.","value":"lt"},{"description":"IETF Locale.","value":"lt-LT"},{"description":"IETF Locale.","value":"lv"},{"description":"IETF Locale.","value":"lv-LV"},{"description":"IETF Locale.","value":"ms"},{"description":"IETF Locale.","value":"ms-MY"},{"description":"IETF Locale.","value":"mt"},{"description":"IETF Locale.","value":"mt-MT"},{"description":"IETF Locale.","value":"nb"},{"description":"IETF Locale.","value":"nb-NO"},{"description":"IETF Locale.","value":"nl"},{"description":"IETF Locale.","value":"nl-NL"},{"description":"IETF Locale.","value":"pl"},{"description":"IETF Locale.","value":"pl-PL"},{"description":"IETF Locale.","value":"pt"},{"description":"IETF Locale.","value":"pt-BR"},{"description":"IETF Locale.","value":"pt-PT"},{"description":"IETF Locale.","value":"ro"},{"description":"IETF Locale.","value":"ro-RO"},{"description":"IETF Locale.","value":"ru"},{"description":"IETF Locale.","value":"ru-RU"},{"description":"IETF Locale.","value":"sk"},{"description":"IETF Locale.","value":"sk-SK"},{"description":"IETF Locale.","value":"sl"},{"description":"IETF Locale.","value":"sl-SI"},{"description":"IETF Locale.","value":"sv"},{"description":"IETF Locale.","value":"sv-SE"},{"description":"IETF Locale.","value":"th"},{"description":"IETF Locale.","value":"th-TH"},{"description":"IETF Locale.","value":"tr"},{"description":"IETF Locale.","value":"tr-TR"},{"description":"IETF Locale.","value":"vi"},{"description":"IETF Locale.","value":"vi-VN"},{"description":"IETF Locale.","value":"zh"},{"description":"IETF Locale.","value":"zh-Hans"},{"description":"IETF Locale.","value":"zh-Hant-HK"},{"description":"IETF Locale.","value":"zh-Hant-TW"},{"description":"IETF Locale.","value":"zh-HK"},{"description":"IETF Locale.","value":"zh-TW"}]}},"profile":{"type":"object","properties":{"business_url":{"type":"string","description":"The business's publicly-available website."},"doing_business_as":{"type":"string","description":"The name which is used by the business."},"product_description":{"type":"string","description":"Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes."}},"description":"Account profile information."},"responsibilities":{"required":["fees_collector","losses_collector"],"type":"object","properties":{"fees_collector":{"type":"string","description":"A value indicating the party responsible for collecting fees from this account.","enum":["application","application_custom","application_express","stripe"],"x-stripeEnum":[{"description":"The platform is responsible for collecting fees from the Account.","value":"application"},{"description":"Direct charge fee behavior is the same as for Custom accounts. See [documentation](/connect/direct-charges-fee-payer-behavior).","value":"application_custom"},{"description":"Direct charge fee behavior is the same as for Express accounts. See [documentation](/connect/direct-charges-fee-payer-behavior).","value":"application_express"},{"description":"Stripe is responsible for collecting fees from the Account.","value":"stripe"}]},"losses_collector":{"type":"string","description":"A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.","enum":["application","stripe"],"x-stripeEnum":[{"description":"The platform is responsible for negative balances on the Account.","value":"application"},{"description":"Stripe is responsible for negative balances on this Account.","value":"stripe"}]}},"description":"Default responsibilities held by either Stripe or the platform."}},"description":"Default values to be used on Account Configurations."},"display_name":{"type":"string","description":"A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account."},"identity":{"type":"object","properties":{"attestations":{"type":"object","properties":{"directorship_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the director attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the director attestation was made."}},"description":"This hash is used to attest that the directors information provided to Stripe is both current and correct."},"ownership_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the beneficial owner attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the beneficial owner attestation was made."}},"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct."},"persons_provided":{"type":"object","properties":{"directors":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"executives":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"owners":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"ownership_exemption_reason":{"type":"string","description":"Reason for why the company is exempt from providing ownership information.","enum":["qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"],"x-stripeEnum":[{"description":"A qualifying entity or group of qualifying entities own a significant enough share of the merchant’s business that they are exempt from providing ownership information based on regulatory guidelines in the merchant’s country.","value":"qualified_entity_exceeds_ownership_threshold"},{"description":"A merchant is a financial institution.","value":"qualifies_as_financial_institution"}]}},"description":"Attestation that all Persons with a specific Relationship value have been provided."},"representative_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the representative attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the representative attestation was made."}},"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity."},"terms_of_service":{"type":"object","properties":{"account":{"required":["date","ip"],"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance)."}},"description":"Attestations of accepted terms of service agreements."}},"description":"Attestations from the identity's key people, e.g. owners, executives, directors, representatives."},"business_details":{"type":"object","properties":{"address":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The business registration address of the business entity."},"annual_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"A non-negative integer representing the amount in the smallest currency unit."},"fiscal_year_end":{"type":"string","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."}},"description":"The business gross annual revenue for its preceding fiscal year."},"documents":{"type":"object","properties":{"bank_account_ownership_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that support the 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."},"company_license":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s license to operate."},"company_memorandum_of_association":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s Memorandum of Association."},"company_ministerial_decree":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment."},"company_registration_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities."},"company_tax_id_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s tax ID."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document verifying the business."},"proof_of_address":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of address."},"proof_of_registration":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s proof of registration with the national business registry."},"proof_of_ultimate_beneficial_ownership":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership."}},"description":"A document verifying the business."},"estimated_worker_count":{"type":"integer","description":"Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors)."},"id_numbers":{"type":"array","description":"The ID numbers of a business entity.","items":{"required":["type","value"],"type":"object","properties":{"registrar":{"type":"string","description":"The registrar of the ID number (Only valid for DE ID number types)."},"type":{"type":"string","description":"Open Enum. The ID number type of a business entity.","enum":["ae_crn","ae_vat","ao_nif","ar_cuit","at_fn","at_stn","at_vat","au_abn","au_acn","au_in","az_tin","bd_etin","be_cbe","be_vat","bg_uic","bg_vat","br_cnpj","ca_cn","ca_crarr","ca_gst_hst","ca_neq","ca_rid","ch_chid","ch_uid","cr_cpj","cr_nite","cy_he","cy_tic","cy_vat","cz_ico","cz_vat","de_hrn","de_stn","de_vat","dk_cvr","dk_vat","do_rcn","ee_rk","ee_vat","es_cif","es_vat","fi_vat","fi_yt","fr_rna","fr_siren","fr_vat","gb_crn","gb_vat","gi_crn","gr_afm","gr_gemi","gr_vat","gt_nit","hk_br","hk_cr","hr_mbs","hr_oib","hr_vat","hu_cjs","hu_tin","hu_vat","ie_crn","ie_trn","ie_vat","it_rea","it_vat","jp_cn","kz_bin","li_uid","lt_ccrn","lt_vat","lu_nif","lu_rcs","lu_vat","lv_urn","lv_vat","mt_crn","mt_tin","mt_vat","mx_rfc","my_brn","my_coid","my_itn","my_sst","mz_nuit","nl_kvk","nl_rsin","nl_vat","no_orgnr","nz_bn","nz_ird","pe_ruc","pk_ntn","pl_nip","pl_regon","pl_vat","pt_vat","ro_cui","ro_orc","ro_vat","sa_crn","sa_tin","se_orgnr","se_vat","sg_uen","si_msp","si_tin","si_vat","sk_dic","sk_ico","sk_vat","th_crn","th_prn","th_tin","us_ein"],"x-stripeEnum":[{"description":"Company registration number - United Arab Emirates.","value":"ae_crn"},{"description":"Business VAT ID - United Arab Emirates.","value":"ae_vat"},{"description":"Número de Identificação Fiscal (NIF) - Angola.","value":"ao_nif"},{"description":"Clave Única de Identificación Tributaria - Argentina.","value":"ar_cuit"},{"description":"Firmenbuchnummer - Austria.","value":"at_fn"},{"description":"Steuernummer (StNr.) - Austria.","value":"at_stn"},{"description":"VAT Number (UID) - Austria.","value":"at_vat"},{"description":"Australian Business Number - Australia.","value":"au_abn"},{"description":"Australian Company Number - Australia.","value":"au_acn"},{"description":"Incorporation Number - Australia.","value":"au_in"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"Enterprise number - Belgium.","value":"be_cbe"},{"description":"VAT Number (n° TVA/BTW-nr) - Belgium.","value":"be_vat"},{"description":"Unique Identification Code - Bulgaria.","value":"bg_uic"},{"description":"VAT Number (ДДС номер) - Bulgaria.","value":"bg_vat"},{"description":"Cadastro Nacional da Pessoa Jurídica - Brazil.","value":"br_cnpj"},{"description":"Corporation Number - Canada.","value":"ca_cn"},{"description":"CRA registered charity program account number - Canada.","value":"ca_crarr"},{"description":"GST/HST Number - Canada.","value":"ca_gst_hst"},{"description":"Québec Enterprise Number - Canada.","value":"ca_neq"},{"description":"Registry ID - Canada.","value":"ca_rid"},{"description":"Handelsregisternummer - Switzerland.","value":"ch_chid"},{"description":"Business Identification Number (UID) - Switzerland.","value":"ch_uid"},{"description":"Cédula de Persona Jurídica (CPJ) - Costa Rica.","value":"cr_cpj"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Αριθμός Εγγραφής Εταιρείας - Cyprus.","value":"cy_he"},{"description":"Tax Identification Code - Cyprus.","value":"cy_tic"},{"description":"VAT Number (ΦΠΑ) - Cyprus.","value":"cy_vat"},{"description":"Identifikační číslo osoby - Czech Republic.","value":"cz_ico"},{"description":"VAT Number (DIČ) - Czech Republic.","value":"cz_vat"},{"description":"Handelsregisternummer - Germany.","value":"de_hrn"},{"description":"Steuernummer (StNr.) - Germany.","value":"de_stn"},{"description":"VAT Number (USt-IdNr.) - Germany.","value":"de_vat"},{"description":"Centrale Virksomhedsregister - Denmark.","value":"dk_cvr"},{"description":"VAT Number (CVR) - Denmark.","value":"dk_vat"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Registrikood - Estonia.","value":"ee_rk"},{"description":"VAT Number (KMKR) - Estonia.","value":"ee_vat"},{"description":"Número de Identificación Fiscal - Spain.","value":"es_cif"},{"description":"VAT Number (NIF-IVA) - Spain.","value":"es_vat"},{"description":"VAT Number (ALV nro Momsnummer) - Finland.","value":"fi_vat"},{"description":"Y-tunnus - Finland.","value":"fi_yt"},{"description":"Numéro RNA - France.","value":"fr_rna"},{"description":"SIREN - France.","value":"fr_siren"},{"description":"VAT Number (n° TVA) - France.","value":"fr_vat"},{"description":"Companies House Registration Number - United Kingdom.","value":"gb_crn"},{"description":"VAT registration number - United Kingdom.","value":"gb_vat"},{"description":"Company Registration Number (CRN) - Gibraltar.","value":"gi_crn"},{"description":"Αριθμός Φορολογικού Μητρώου (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"General Commercial Register (G.E.M.I.) - Greece.","value":"gr_gemi"},{"description":"VAT Number (ΦΠΑ) - Greece.","value":"gr_vat"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Business Registration Number - Hong Kong.","value":"hk_br"},{"description":"Company Registration Number - Hong Kong.","value":"hk_cr"},{"description":"MBS (matični broj poslovnog subjekta) - Croatia.","value":"hr_mbs"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"VAT ID (PDV identifikacijski broj) - Croatia.","value":"hr_vat"},{"description":"Company registration number (Cégjegyzékszám) - Hungary.","value":"hu_cjs"},{"description":"Adószám - Hungary.","value":"hu_tin"},{"description":"VAT Number (ANUM) - Hungary.","value":"hu_vat"},{"description":"Company Registration Number (CRN) - Ireland.","value":"ie_crn"},{"description":"Tax registration number (TRN) - Ireland.","value":"ie_trn"},{"description":"VAT Number - Ireland.","value":"ie_vat"},{"description":"Numero Repertorio Economico e Amministrativo (REA) - Italy.","value":"it_rea"},{"description":"Partita IVA - Italy.","value":"it_vat"},{"description":"Corporate number (Corporate \\\"My Number\\\") - Japan.","value":"jp_cn"},{"description":"Business Identification Number (BIN) - Kazakhstan.","value":"kz_bin"},{"description":"Handelsregisternummer - Liechtenstein.","value":"li_uid"},{"description":"Central Commercial Registry Number / Certificate Number - Lithuania.","value":"lt_ccrn"},{"description":"VAT Number (PVM kodas) - Lithuania.","value":"lt_vat"},{"description":"Numéro d’identification fiscale (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Registre de commerce et des sociétés (RCS) number - Luxembourg.","value":"lu_rcs"},{"description":"VAT Number (No. TVA) - Luxembourg.","value":"lu_vat"},{"description":"Uzņēmumu reģistrs number - Latvia.","value":"lv_urn"},{"description":"VAT Number (PVN) - Latvia.","value":"lv_vat"},{"description":"Company Registration Number - Malta.","value":"mt_crn"},{"description":"Tax identification number - Malta.","value":"mt_tin"},{"description":"VAT Registration Number - Malta.","value":"mt_vat"},{"description":"Registro Federal de Contribuyentes (RFC) - Mexico.","value":"mx_rfc"},{"description":"Malaysia Business Registration Number (BRN) - Malaysia.","value":"my_brn"},{"description":"Corporate Identity Number (MyCoID) - Malaysia.","value":"my_coid"},{"description":"Tax Identification Number (TIN) - Malaysia.","value":"my_itn"},{"description":"Malaysia Sales and Service Tax Number (SST) - Malaysia.","value":"my_sst"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"Chamber of Commerce (KVK) Number - Netherlands.","value":"nl_kvk"},{"description":"Tax Identification Number (RSIN) - Netherlands.","value":"nl_rsin"},{"description":"VAT Number (Btw-nr.) - Netherlands.","value":"nl_vat"},{"description":"Organisasjonsnummer - Norway.","value":"no_orgnr"},{"description":"New Zealand Business Number (NZBN) - New Zealand.","value":"nz_bn"},{"description":"Inland Revenue Department (IRD) Number - New Zealand.","value":"nz_ird"},{"description":"Registro Único de Contribuyentes (RUC) - Peru.","value":"pe_ruc"},{"description":"National Tax Number (NTN) - Pakistan.","value":"pk_ntn"},{"description":"Numer Identyfikacji Podatkowej (NIP) - Poland.","value":"pl_nip"},{"description":"REGON number - Poland.","value":"pl_regon"},{"description":"VAT Number (NIP) - Poland.","value":"pl_vat"},{"description":"VAT number (Número de Identificação Fiscal (NIF)) - Portugal.","value":"pt_vat"},{"description":"Codul de identificare fiscală (CIF/CUI) - Romania.","value":"ro_cui"},{"description":"Număr de ordine în registrul comerțului (Nr. ORC) - Romania.","value":"ro_orc"},{"description":"VAT Number (CIF) - Romania.","value":"ro_vat"},{"description":"Commercial Registration Number - Saudi Arabia.","value":"sa_crn"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Organisationsnummer - Sweden.","value":"se_orgnr"},{"description":"VAT Number (Momsnr.) - Sweden.","value":"se_vat"},{"description":"Unique Entity Number (UEN) - Singapore.","value":"sg_uen"},{"description":"Company Identification Number (Matična številka podjetja) - Slovenia.","value":"si_msp"},{"description":"Davčna številka - Slovenia.","value":"si_tin"},{"description":"VAT Number (ID za DDV) - Slovenia.","value":"si_vat"},{"description":"Daňové identifikačné číslo (DIČ) - Slovakia.","value":"sk_dic"},{"description":"Organization identification number (ICO) - Slovakia.","value":"sk_ico"},{"description":"VAT Number (IČ DPH) - Slovakia.","value":"sk_vat"},{"description":"Company registration number (CRN) - Thailand.","value":"th_crn"},{"description":"Partnership registration number (PRN) - Thailand.","value":"th_prn"},{"description":"Taxpayer Identification Number (TIN) (หมายเลขประจำตัวผู้เสียภาษี) - Thailand.","value":"th_tin"},{"description":"Employer Identification Number (EIN) - United States.","value":"us_ein"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"monthly_estimated_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"A non-negative integer representing the amount in the smallest currency unit."}},"description":"An estimate of the monthly revenue of the business."},"phone":{"type":"string","description":"The phone number of the Business Entity."},"registered_name":{"type":"string","description":"The business legal name."},"registration_date":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31."},"month":{"type":"integer","description":"The month of registration, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of registration."}},"description":"When the business was incorporated or registered."},"script_addresses":{"type":"object","properties":{"kana":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The business registration address of the business entity in non latin script."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kana name."},"kanji":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kanji name."}},"description":"The business legal name in non latin script."},"structure":{"type":"string","description":"The category identifying the legal structure of the business.","enum":["cooperative","free_zone_establishment","free_zone_llc","governmental_unit","government_instrumentality","incorporated_association","incorporated_non_profit","incorporated_partnership","limited_liability_partnership","llc","multi_member_llc","private_company","private_corporation","private_partnership","public_company","public_corporation","public_listed_corporation","public_partnership","registered_charity","single_member_llc","sole_establishment","sole_proprietorship","tax_exempt_government_instrumentality","trust","unincorporated_association","unincorporated_non_profit","unincorporated_partnership"],"x-stripeEnum":[{"description":"A cooperative organization.","value":"cooperative"},{"description":"A free zone establishment.","value":"free_zone_establishment"},{"description":"A free zone LLC.","value":"free_zone_llc"},{"description":"A branch of the state, local, or federal government of the US.","value":"governmental_unit"},{"description":"An organization formed by statute or by a government body in the US to perform a function, but not part of the government itself.","value":"government_instrumentality"},{"description":"An incorporated association.","value":"incorporated_association"},{"description":"An organization incorporated under US state law with tax-exempt status as a nonprofit (for example, 501(c)(3)).","value":"incorporated_non_profit"},{"description":"Also called ‘Limited Partnerships’ or ‘Registered Ordinary Partnerships’, these are businesses registered in Thailand owned by two or more people. The business’ legal entity and its legal personality is separated and distinct from the individual partners.","value":"incorporated_partnership"},{"description":"A limited liability partnership.","value":"limited_liability_partnership"},{"description":"An LLC.","value":"llc"},{"description":"A business with multiple owners or members that’s registered in a US state as a Limited Liability Company (LLC).","value":"multi_member_llc"},{"description":"A private company.","value":"private_company"},{"description":"A business incorporated in a US state that’s privately owned. It doesn’t have shares that are traded on a public stock exchange. It’s also called a closely-held corporation. If you’re a single-member LLC that has elected to be treated as a corporation for tax purposes, use this classification.","value":"private_corporation"},{"description":"A business jointly owned by two or more people that’s created through a partnership agreement.","value":"private_partnership"},{"description":"A public company.","value":"public_company"},{"description":"A business incorporated under the laws of a US state. Ownership shares of this corporation are traded on a public stock exchange.","value":"public_corporation"},{"description":"A public corporation that is specifically listed.","value":"public_listed_corporation"},{"description":"A business formed by a partnership agreement with one or more people, but has shares that are publicly traded on a stock exchange.","value":"public_partnership"},{"description":"A charitable organization, public foundation, or private foundation registered with the Canada Revenue Agency.","value":"registered_charity"},{"description":"A business entity registered with a US state as a limited liability company (LLC) and that has only one member or owner.","value":"single_member_llc"},{"description":"A sole establishment.","value":"sole_establishment"},{"description":"A business that isn’t a separate legal entity from its individual owner.","value":"sole_proprietorship"},{"description":"A tax exempt government instrumentality.","value":"tax_exempt_government_instrumentality"},{"description":"A trust.","value":"trust"},{"description":"A business venture of two or more people that doesn't have a formal corporate or entity structure.","value":"unincorporated_association"},{"description":"An unincorporated nonprofit.","value":"unincorporated_non_profit"},{"description":"An unincorporated partnership.","value":"unincorporated_partnership"}]}},"description":"Information about the company or business."},"country":{"type":"string","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](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code."},"entity_type":{"type":"string","description":"The entity type.","enum":["company","government_entity","individual","non_profit"],"x-stripeEnum":[{"description":"A registered business.","value":"company"},{"description":"A government entity.","value":"government_entity"},{"description":"An individual that is not registered as a business.","value":"individual"},{"description":"A nonprofit organization.","value":"non_profit"}]},"individual":{"type":"object","properties":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the individual.","items":{"required":["country","purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the individual.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The person's full name."},"given_name":{"type":"string","description":"The person's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The person's last or family name."}}}},"address":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The individual's residential address."},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth."},"month":{"type":"integer","description":"The month of birth."},"year":{"type":"integer","description":"The year of birth."}},"description":"The individual's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"The individual's email address."},"given_name":{"type":"string","description":"The individual's first name."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the individual.","items":{"required":["type","value"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"legal_gender":{"type":"string","description":"The individual's gender (International regulations require either \"male\" or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"metadata":{"type":"object","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."},"nationalities":{"type":"array","description":"The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","items":{"type":"string"}},"phone":{"type":"string","description":"The individual's phone number."},"political_exposure":{"type":"string","description":"The individual's political exposure.","enum":["existing","none"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"director":{"type":"boolean","description":"Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s identity."},"percent_ownership":{"type":"string","description":"The percent owned by the person of the account's legal entity.","format":"decimal"},"title":{"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this individual has with the account's identity."},"script_addresses":{"type":"object","properties":{"kana":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the individual."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The individuals primary name in non latin script."},"surname":{"type":"string","description":"The individual's last name."}},"description":"Information about the person represented by the account."}},"description":"Information about the company, individual, and business represented by the Account."},"include":{"type":"array","description":"Additional fields to include in the response.","items":{"type":"string","enum":["configuration.customer","configuration.merchant","configuration.recipient","defaults","future_requirements","identity","requirements"],"x-stripeEnum":[{"description":"Include parameter to expose `configuration.customer` on an Account.","value":"configuration.customer"},{"description":"Include parameter to expose `configuration.merchant` on an Account.","value":"configuration.merchant"},{"description":"Include parameter to expose `configuration.recipient` on an Account.","value":"configuration.recipient"},{"description":"Include parameter to expose `defaults` on an Account.","value":"defaults"},{"description":"Include parameter to expose `future_requirements` on an Account.","value":"future_requirements"},{"description":"Include parameter to expose `identity` on an Account.","value":"identity"},{"description":"Include parameter to expose `requirements` on an Account.","value":"requirements"}]}},"metadata":{"type":"object","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."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_capability_not_supported"},{"$ref":"#/components/schemas/v2.error.account_configuration_not_supported"},{"$ref":"#/components/schemas/v2.error.account_controller_express_dash_without_application_losses_or_fees"},{"$ref":"#/components/schemas/v2.error.account_controller_stripe_pricing_platform_liable"},{"$ref":"#/components/schemas/v2.error.account_controller_ua_unsupported_configuration"},{"$ref":"#/components/schemas/v2.error.account_controller_unsupported_configuration"},{"$ref":"#/components/schemas/v2.error.account_controller_unsupported_configuration_private_preview"},{"$ref":"#/components/schemas/v2.error.account_country_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.account_create_activation_required"},{"$ref":"#/components/schemas/v2.error.account_creation_invalid"},{"$ref":"#/components/schemas/v2.error.account_creation_liability_unacknowledged"},{"$ref":"#/components/schemas/v2.error.account_creation_requirement_collection_and_liability_unacknowledged"},{"$ref":"#/components/schemas/v2.error.account_creation_requirement_collection_unacknowledged"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.account_terms_of_service_not_accepted"},{"$ref":"#/components/schemas/v2.error.account_token_required"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.address_characters_invalid"},{"$ref":"#/components/schemas/v2.error.address_country_identity_country_mismatch"},{"$ref":"#/components/schemas/v2.error.address_postal_code_invalid"},{"$ref":"#/components/schemas/v2.error.address_state_invalid"},{"$ref":"#/components/schemas/v2.error.address_town_invalid"},{"$ref":"#/components/schemas/v2.error.bgn_bank_accounts_unsupported"},{"$ref":"#/components/schemas/v2.error.can_create_platform_owned_onboarding_accounts_required"},{"$ref":"#/components/schemas/v2.error.cannot_create_connected_account"},{"$ref":"#/components/schemas/v2.error.cannot_create_new_account_rejected"},{"$ref":"#/components/schemas/v2.error.capability_cannot_be_unrequested_due_to_other_capability_requirement"},{"$ref":"#/components/schemas/v2.error.capability_not_available_for_dashboard_type"},{"$ref":"#/components/schemas/v2.error.capability_not_available_for_entity_type_in_country"},{"$ref":"#/components/schemas/v2.error.capability_not_available_for_loss_collector"},{"$ref":"#/components/schemas/v2.error.capability_not_available_in_country"},{"$ref":"#/components/schemas/v2.error.capability_not_available_in_platform_country"},{"$ref":"#/components/schemas/v2.error.capability_not_available_without_other_capability"},{"$ref":"#/components/schemas/v2.error.capability_not_available_without_other_capability_in_country"},{"$ref":"#/components/schemas/v2.error.configuration_creation_invalid"},{"$ref":"#/components/schemas/v2.error.connect_identity_not_verified"},{"$ref":"#/components/schemas/v2.error.connect_profile_not_submitted"},{"$ref":"#/components/schemas/v2.error.cross_border_connected_account_creation_not_allowed"},{"$ref":"#/components/schemas/v2.error.custom_account_beta"},{"$ref":"#/components/schemas/v2.error.date_of_birth_age_restriction"},{"$ref":"#/components/schemas/v2.error.date_of_birth_invalid"},{"$ref":"#/components/schemas/v2.error.default_currency_immutable"},{"$ref":"#/components/schemas/v2.error.default_payment_method_invalid"},{"$ref":"#/components/schemas/v2.error.default_payment_method_invalid_type"},{"$ref":"#/components/schemas/v2.error.directorship_declaration_not_allowed_during_account_creation"},{"$ref":"#/components/schemas/v2.error.document_invalid"},{"$ref":"#/components/schemas/v2.error.document_purpose_invalid"},{"$ref":"#/components/schemas/v2.error.email_domain_invalid_for_recipient"},{"$ref":"#/components/schemas/v2.error.email_invalid"},{"$ref":"#/components/schemas/v2.error.entity_type_not_supported_in_country"},{"$ref":"#/components/schemas/v2.error.high_risk_activities_none_cant_be_combined_with_other_options"},{"$ref":"#/components/schemas/v2.error.id_number_invalid"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.identity_country_required"},{"$ref":"#/components/schemas/v2.error.incorrect_id_number_for_country"},{"$ref":"#/components/schemas/v2.error.incorrect_token_wrong_type"},{"$ref":"#/components/schemas/v2.error.invalid_account_token"},{"$ref":"#/components/schemas/v2.error.invalid_id_number_for_structure"},{"$ref":"#/components/schemas/v2.error.invalid_id_number_registrar"},{"$ref":"#/components/schemas/v2.error.invalid_konbini_payments_support_hours"},{"$ref":"#/components/schemas/v2.error.invalid_konbini_payments_support_phone_number"},{"$ref":"#/components/schemas/v2.error.invalid_timezone"},{"$ref":"#/components/schemas/v2.error.invoice_rendering_template_invalid"},{"$ref":"#/components/schemas/v2.error.ip_address_invalid"},{"$ref":"#/components/schemas/v2.error.mcc_invalid"},{"$ref":"#/components/schemas/v2.error.non_jp_kana_kanji_address"},{"$ref":"#/components/schemas/v2.error.ownership_declaration_not_allowed_during_account_creation"},{"$ref":"#/components/schemas/v2.error.param_alongside_account_token"},{"$ref":"#/components/schemas/v2.error.person_percent_ownership_invalid"},{"$ref":"#/components/schemas/v2.error.phone_invalid"},{"$ref":"#/components/schemas/v2.error.platform_registration_required"},{"$ref":"#/components/schemas/v2.error.postal_code_required_for_jp_address"},{"$ref":"#/components/schemas/v2.error.purpose_of_funds_description_must_be_empty_for_non_other_purpose_of_funds"},{"$ref":"#/components/schemas/v2.error.registration_date_invalid"},{"$ref":"#/components/schemas/v2.error.script_characters_invalid"},{"$ref":"#/components/schemas/v2.error.shipping_address_required"},{"$ref":"#/components/schemas/v2.error.shipping_name_required"},{"$ref":"#/components/schemas/v2.error.statement_descriptor_invalid"},{"$ref":"#/components/schemas/v2.error.structure_incompatible_for_entity_type_country"},{"$ref":"#/components/schemas/v2.error.test_clock_disallowed_on_live_mode"},{"$ref":"#/components/schemas/v2.error.test_clock_invalid"},{"$ref":"#/components/schemas/v2.error.test_clocks_advance_in_progress"},{"$ref":"#/components/schemas/v2.error.test_clocks_customer_limit_reached"},{"$ref":"#/components/schemas/v2.error.token_already_used"},{"$ref":"#/components/schemas/v2.error.token_expired"},{"$ref":"#/components/schemas/v2.error.tos_acceptance_on_behalf_not_allowed"},{"$ref":"#/components/schemas/v2.error.unsupported_field_for_configs"},{"$ref":"#/components/schemas/v2.error.unsupported_identity_field_for_configs"},{"$ref":"#/components/schemas/v2.error.unsupported_postal_code"},{"$ref":"#/components/schemas/v2.error.unsupported_state"},{"$ref":"#/components/schemas/v2.error.url_invalid"},{"$ref":"#/components/schemas/v2.error.v1_token_invalid_in_v2"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_account","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"contact_email":"furever@example.com","display_name":"Furever","identity":{"country":"us","entity_type":"company","business_details":{"registered_name":"Furever"}},"configuration":{"customer":{"capabilities":{"automatic_indirect_tax":{"requested":true}}},"merchant":{"capabilities":{"card_payments":{"requested":true}}}},"defaults":{"responsibilities":{"fees_collector":"stripe","losses_collector":"stripe"}},"dashboard":"full","include":["configuration.merchant","configuration.customer","identity","defaults"]}},"response":{"id":"acct_1Nv0FGQ9RKHgCVdK","object":"v2.core.account","applied_configurations":["customer","merchant"],"configuration":{"customer":{"applied":"2025-03-28T19:59:16.000Z","automatic_indirect_tax":{"exempt":"none","location_source":"identity_address"},"billing":{"invoice":{"next_sequence":1,"prefix":"5626C87C","custom_fields":[]}},"capabilities":{"automatic_indirect_tax":{"status":"active","status_details":[]}}},"merchant":{"applied":"2025-03-28T19:59:16.000Z","card_payments":{"decline_on":{"avs_failure":false,"cvc_failure":false}},"capabilities":{"card_payments":{"status":"active","status_details":[]},"stripe_balance":{"payouts":{"status":"active","status_details":[]}}}}},"contact_email":"furever@example.com","created":"2025-03-28T19:59:16.000Z","dashboard":"full","identity":{"business_details":{"registered_name":"Furever"},"country":"US","entity_type":"company"},"livemode":false,"defaults":{"currency":"usd","responsibilities":{"fees_collector":"stripe","losses_collector":"stripe","requirements_collector":"stripe"}},"display_name":"Furever"}}],"x-stripeErrors":[{"code":"account_capability_not_supported","description":"Requested capability is not available.","httpStatusCode":400},{"code":"account_configuration_not_supported","description":"The requested configuration is not available for the account.","httpStatusCode":400},{"code":"account_controller_express_dash_without_application_losses_or_fees","description":"If `dashboard` is `express`, `fees_collector` must be `application` and `losses_collector` must be `application`.","httpStatusCode":400},{"code":"account_controller_stripe_pricing_platform_liable","description":"If `losses_collector` is `application`, `fees_collector` must also be `application`.","httpStatusCode":400},{"code":"account_controller_ua_unsupported_configuration","description":"Connect integration combination is not supported when UA beta is enabled.","httpStatusCode":400},{"code":"account_controller_unsupported_configuration","description":"Connect integration combination is not supported when UA beta is disabled.","httpStatusCode":400},{"code":"account_controller_unsupported_configuration_private_preview","description":"Responsibility combinations is not supported in private preview.","httpStatusCode":400},{"code":"account_country_unsupported_currency","description":"Currency is not allowed for the account's country.","httpStatusCode":400},{"code":"account_create_activation_required","description":"Platform must be activated to create connected accounts.","httpStatusCode":400},{"code":"account_creation_invalid","description":"Account creation is invalid.","httpStatusCode":400},{"code":"account_creation_liability_unacknowledged","description":"Account creation error - liability unacknowledged.","httpStatusCode":400},{"code":"account_creation_requirement_collection_and_liability_unacknowledged","description":"Account creation error - requirement collection and liability unacknowledged.","httpStatusCode":400},{"code":"account_creation_requirement_collection_unacknowledged","description":"Account creation error - requirement collection unacknowledged.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"account_terms_of_service_not_accepted","description":"Terms of service must be accepted before adding merchant configuration.","httpStatusCode":400},{"code":"account_token_required","description":"Account token required for platforms in mandated countries (e.g., France).","httpStatusCode":400},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"address_characters_invalid","description":"Invalid characters are provided for address fields.","httpStatusCode":400},{"code":"address_country_identity_country_mismatch","description":"Address country doesn't match identity country.","httpStatusCode":400},{"code":"address_postal_code_invalid","description":"Address postal code is invalid.","httpStatusCode":400},{"code":"address_state_invalid","description":"Address state is invalid.","httpStatusCode":400},{"code":"address_town_invalid","description":"Address town is invalid.","httpStatusCode":400},{"code":"bgn_bank_accounts_unsupported","description":"Creating accounts with the BGN currency is no longer supported, as Bulgaria is now using the Euro as of 2026-01-01.","httpStatusCode":400},{"code":"can_create_platform_owned_onboarding_accounts_required","description":"Dormant accounts cannot create accounts where requirements collector is application (this is an account takeover prevention measure).","httpStatusCode":400},{"code":"cannot_create_connected_account","description":"Platform is in an invalid state and cannot create connected accounts.","httpStatusCode":400},{"code":"cannot_create_new_account_rejected","description":"Platform is in a rejected state and cannot create connected accounts.","httpStatusCode":400},{"code":"capability_cannot_be_unrequested_due_to_other_capability_requirement","description":"Feature cannot be unrequested due to being a requirement for another feature.","httpStatusCode":400},{"code":"capability_not_available_for_dashboard_type","description":"Feature cannot be requested for the dashboard type.","httpStatusCode":400},{"code":"capability_not_available_for_entity_type_in_country","description":"Requested feature is not available for the entity type in your country.","httpStatusCode":400},{"code":"capability_not_available_for_loss_collector","description":"A v2 Account cannot have both the specified capability and Stripe-owned loss liability.","httpStatusCode":400},{"code":"capability_not_available_in_country","description":"Requested capability is not available in your country.","httpStatusCode":400},{"code":"capability_not_available_in_platform_country","description":"Feature cannot be requested given the platform's country.","httpStatusCode":400},{"code":"capability_not_available_without_other_capability","description":"Requested feature is not available without also requesting a different feature.","httpStatusCode":400},{"code":"capability_not_available_without_other_capability_in_country","description":"Requested feature is not available without also requesting a different feature in your country.","httpStatusCode":400},{"code":"configuration_creation_invalid","description":"Cannot create an account with an invalid configuration.","httpStatusCode":400},{"code":"connect_identity_not_verified","description":"Platform is not verified and cannot create connected accounts.","httpStatusCode":400},{"code":"connect_profile_not_submitted","description":"Platform has not completed platform questionnaire and cannot create connected accounts.","httpStatusCode":400},{"code":"cross_border_connected_account_creation_not_allowed","description":"Cross-border connected account creation is not allowed for this platform/account country combination.","httpStatusCode":400},{"code":"custom_account_beta","description":"Custom accounts cannot be created in certain countries.","httpStatusCode":400},{"code":"date_of_birth_age_restriction","description":"Representative date of birth does not meet the age limit.","httpStatusCode":400},{"code":"date_of_birth_invalid","description":"Representative date of birth is provided an invalid date or a future date.","httpStatusCode":400},{"code":"default_currency_immutable","description":"Cannot change `defaults.currency` post account activation.","httpStatusCode":400},{"code":"default_payment_method_invalid","description":"Default payment method provided for a customer does not exist or is otherwise invalid.","httpStatusCode":400},{"code":"default_payment_method_invalid_type","description":"Specified payment method exists but its type is not allowed to be the default payment method.","httpStatusCode":400},{"code":"directorship_declaration_not_allowed_during_account_creation","description":"Directorship declaration is not allowed during account creation.","httpStatusCode":400},{"code":"document_invalid","description":"Provided file tokens for documents are invalid, not found, deleted, or belong to a different account.","httpStatusCode":400},{"code":"document_purpose_invalid","description":"Provided file tokens for documents are of the wrong purpose.","httpStatusCode":400},{"code":"email_domain_invalid_for_recipient","description":"Email contains unsupported domain.","httpStatusCode":400},{"code":"email_invalid","description":"Incorrect email is provided.","httpStatusCode":400},{"code":"entity_type_not_supported_in_country","description":"The `identity.entity_type` value is not supported in a given `identity.country`.","httpStatusCode":400},{"code":"high_risk_activities_none_cant_be_combined_with_other_options","description":"NONE is combined with another value in the HighRiskActivities list.","httpStatusCode":400},{"code":"id_number_invalid","description":"Provided ID number is of the wrong format for the given type.","httpStatusCode":400},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"identity_country_required","description":"The `identity.country` value is required but not provided.","httpStatusCode":400},{"code":"incorrect_id_number_for_country","description":"Incorrect ID number is provided for a country.","httpStatusCode":400},{"code":"incorrect_token_wrong_type","description":"The incorrect token type is provided .","httpStatusCode":400},{"code":"invalid_account_token","description":"Invalid account token.","httpStatusCode":403},{"code":"invalid_id_number_for_structure","description":"ID number is provided that is not permitted for the Identity's entity type and business structure.","httpStatusCode":400},{"code":"invalid_id_number_registrar","description":"The `identity.business_details.id_numbers.registrar` value is an invalid DE registrar.","httpStatusCode":400},{"code":"invalid_konbini_payments_support_hours","description":"Konbini Payments Support Hours is Invalid.","httpStatusCode":400},{"code":"invalid_konbini_payments_support_phone_number","description":"Konbini Payments Support Phone Number is Invalid.","httpStatusCode":400},{"code":"invalid_timezone","description":"Timezone provided in account defaults is invalid.","httpStatusCode":400},{"code":"invoice_rendering_template_invalid","description":"Invoice rendering template does not exist or is otherwise invalid.","httpStatusCode":400},{"code":"ip_address_invalid","description":"Invalid IP address is provided.","httpStatusCode":400},{"code":"mcc_invalid","description":"MCC is invalid for `configuration.merchant.mcc`.","httpStatusCode":400},{"code":"non_jp_kana_kanji_address","description":"Kana Kanji script addresses must have JP country.","httpStatusCode":400},{"code":"ownership_declaration_not_allowed_during_account_creation","description":"Ownership declaration is not allowed during account creation.","httpStatusCode":400},{"code":"param_alongside_account_token","description":"Parameter cannot be passed alongside account_token.","httpStatusCode":400},{"code":"person_percent_ownership_invalid","description":"Error returned when relationship.owner is set to true but the ownership percentage is set to 0%.","httpStatusCode":400},{"code":"phone_invalid","description":"Phone number is invalid.","httpStatusCode":400},{"code":"platform_registration_required","description":"Platform has not signed up for Connect and cannot create connected accounts.","httpStatusCode":400},{"code":"postal_code_required_for_jp_address","description":"Postal code is required for Japanese addresses.","httpStatusCode":400},{"code":"purpose_of_funds_description_must_be_empty_for_non_other_purpose_of_funds","description":"PurposeOfFundsDescription is not empty while PurposeOfFunds is not OTHER.","httpStatusCode":400},{"code":"registration_date_invalid","description":"Registration date must be in the past.","httpStatusCode":400},{"code":"script_characters_invalid","description":"Provided script characters are invalid for the script.","httpStatusCode":400},{"code":"shipping_address_required","description":"Shipping address is required within the shipping hash.","httpStatusCode":400},{"code":"shipping_name_required","description":"Shipping name is required within the shipping hash.","httpStatusCode":400},{"code":"statement_descriptor_invalid","description":"Statement descriptor is invalid.","httpStatusCode":400},{"code":"structure_incompatible_for_entity_type_country","description":"The `business_details.structure` value is not valid for `identity.country` and `identity.entity_type`.","httpStatusCode":400},{"code":"test_clock_disallowed_on_live_mode","description":"Cannot set a test clock on a livemode customer.","httpStatusCode":400},{"code":"test_clock_invalid","description":"Test clock does not exist or is otherwise invalid.","httpStatusCode":400},{"code":"test_clocks_advance_in_progress","description":"Cannot modify a test clock that is currently advancing.","httpStatusCode":400},{"code":"test_clocks_customer_limit_reached","description":"Cannot add customer to a test clock that has already reached its customer limit.","httpStatusCode":400},{"code":"token_already_used","description":"The token is re-used with a different idempotency key.","httpStatusCode":400},{"code":"token_expired","description":"Token has expired.","httpStatusCode":400},{"code":"tos_acceptance_on_behalf_not_allowed","description":"TOS cannot be accepted on behalf of accounts when requirement collection is `stripe`.","httpStatusCode":400},{"code":"unsupported_field_for_configs","description":"Cannot set responsibilities on the current configurations.","httpStatusCode":400},{"code":"unsupported_identity_field_for_configs","description":"Cannot set identity fields when the Account is only configured as a customer.","httpStatusCode":400},{"code":"unsupported_postal_code","description":"Address is in an unsupported postal code.","httpStatusCode":400},{"code":"unsupported_state","description":"Address is in an unsupported state.","httpStatusCode":400},{"code":"url_invalid","description":"URL is invalid.","httpStatusCode":400},{"code":"v1_token_invalid_in_v2","description":"A v1 token ID is passed in v2 APIs.","httpStatusCode":400}]}},"/v2/core/accounts/{account_id}/person_tokens":{"post":{"summary":"Create a person token","description":"Creates a Person Token associated with an Account.","operationId":"PostV2CoreAccountsAccountIdPersonTokens","parameters":[{"name":"account_id","in":"path","description":"The Account the Person is associated with.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the person.","items":{"required":["purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the person.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The person's full name."},"given_name":{"type":"string","description":"The person's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The person's last or family name."}}}},"additional_terms_of_service":{"type":"object","properties":{"account":{"type":"object","properties":{"shown_and_accepted":{"type":"boolean","description":"The boolean value indicating if the terms of service have been accepted."}},"description":"Details on the Person's acceptance of the [Stripe Services Agreement]; IP, date, and User Agent are expanded by Stripe."}},"description":"Attestations of accepted terms of service agreements."},"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The person's residential address."},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of the birth."},"month":{"type":"integer","description":"The month of birth."},"year":{"type":"integer","description":"The year of birth."}},"description":"The person's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"Email."},"given_name":{"type":"string","description":"The person's first name."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the person.","items":{"required":["type","value"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"legal_gender":{"type":"string","description":"The person's gender (International regulations require either \"male\" or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"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."},"nationalities":{"type":"array","description":"The nationalities (countries) this person is associated with.","items":{"type":"string"}},"phone":{"type":"string","description":"The phone number for this person."},"political_exposure":{"type":"string","description":"The person's political exposure.","enum":["existing","none"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the individual is an authorizer of the Account's identity."},"director":{"type":"boolean","description":"Indicates whether the person is a director of the associated legal entity."},"executive":{"type":"boolean","description":"Indicates whether the person is an executive of the associated legal entity."},"legal_guardian":{"type":"boolean","description":"Indicates whether the person is a legal guardian of the associated legal entity."},"owner":{"type":"boolean","description":"Indicates whether the person is an owner of the associated legal entity."},"percent_ownership":{"type":"string","description":"The percentage of ownership the person has in the associated legal entity.","format":"decimal"},"representative":{"type":"boolean","description":"Indicates whether the person is a representative of the associated legal entity."},"title":{"type":"string","description":"The title or position the person holds in the associated legal entity."}},"description":"The relationship that this person has with the Account's business or legal entity."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the person."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The script names (e.g. non-Latin characters) associated with the person."},"surname":{"type":"string","description":"The person's last name."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person_token"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.token_must_be_created_with_publishable_key"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_person_token","x-stripeDocsSamples":[{"request":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK"},"requestBody":{"given_name":"Jenny","surname":"Rosen","email":"jenny.rosen@example.com","address":{"line1":"27 Fredrick Ave","city":"Brothers","postal_code":"97712","state":"OR","country":"US"},"id_numbers":[{"type":"us_ssn_last_4","value":"0000"}],"relationship":{"owner":true,"percent_ownership":"0.8","representative":true,"title":"CEO"}}},"response":{"id":"perstok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person_token","created":"2025-11-17T14:00:00.000Z","expires_at":"2025-11-17T14:10:00.000Z","livemode":true,"used":false}}],"x-stripeErrors":[{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"token_must_be_created_with_publishable_key","description":"Token must be created with publishable key.","httpStatusCode":400}]}},"/v2/core/accounts/{account_id}/person_tokens/{id}":{"get":{"summary":"Retrieve a person token","description":"Retrieves a Person Token associated with an Account.","operationId":"GetV2CoreAccountsAccountIdPersonTokensId","parameters":[{"name":"account_id","in":"path","description":"The Account the Person is associated with.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}}},{"name":"id","in":"path","description":"The ID of the Person Token to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person_token"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_person_token","x-stripeDocsSamples":[{"request":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK","id":"perstok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY"},"requestBody":{}},"response":{"id":"perstok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person_token","created":"2025-11-17T14:00:00.000Z","expires_at":"2025-11-17T14:10:00.000Z","livemode":true,"used":true}}],"x-stripeErrors":[{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/core/accounts/{account_id}/persons":{"get":{"summary":"List persons","description":"Returns a paginated list of Persons associated with an Account.","operationId":"GetV2CoreAccountsAccountIdPersons","parameters":[{"name":"account_id","in":"path","description":"Account the Persons are associated with.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}}},{"name":"limit","in":"query","description":"The upper limit on the number of accounts returned by the List Account request.","required":false,"style":"form","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"A list of retrieved Person objects.","items":{"$ref":"#/components/schemas/v2.core.account_person"}},"next_page_url":{"type":"string","description":"URL to fetch the next page of the list. If there are no more pages, the value is null.","nullable":true},"previous_page_url":{"type":"string","description":"URL to fetch the previous page of the list. If there are no previous pages, the value is null.","nullable":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_persons","x-stripeDocsSamples":[{"request":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK"},"requestBody":{}},"response":{"data":[{"id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person","account":"acct_1Nv0FGQ9RKHgCVdK","additional_addresses":[],"additional_names":[],"address":{"city":"Brothers","country":"us","line1":"27 Fredrick Ave","postal_code":"97712","state":"OR"},"created":"2024-11-26T17:10:07.000Z","date_of_birth":{"day":28,"month":1,"year":2000},"email":"jenny.rosen@example.com","given_name":"Jenny","id_numbers":[{"type":"us_ssn_last_4"}],"livemode":true,"metadata":{},"nationalities":[],"relationship":{"owner":true,"percent_ownership":"0.8","representative":true,"title":"CEO"},"surname":"Rosen","updated":"2024-11-26T17:12:55.000Z"}]}}],"x-stripeErrors":[{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400}]},"post":{"summary":"Create a person","description":"Create a Person. Adds an individual to an Account's identity. You can set relationship attributes and identity information at creation.","operationId":"PostV2CoreAccountsAccountIdPersons","parameters":[{"name":"account_id","in":"path","description":"Account the Person should be associated with.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the person.","items":{"required":["country","purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the person.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The person's full name."},"given_name":{"type":"string","description":"The person's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The person's last or family name."}}}},"additional_terms_of_service":{"type":"object","properties":{"account":{"required":["date","ip"],"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Stripe terms of service agreement."}},"description":"Attestations of accepted terms of service agreements."},"address":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The person's residential address."},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth."},"month":{"type":"integer","description":"The month of birth."},"year":{"type":"integer","description":"The year of birth."}},"description":"The person's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"Email."},"given_name":{"type":"string","description":"The person's first name."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the person.","items":{"required":["type","value"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"legal_gender":{"type":"string","description":"The person's gender (International regulations require either \"male\" or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"metadata":{"type":"object","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."},"nationalities":{"type":"array","description":"The nationalities (countries) this person is associated with.","items":{"type":"string"}},"person_token":{"type":"string","description":"The person token generated by the person token api.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person_token"}}},"phone":{"type":"string","description":"The phone number for this person."},"political_exposure":{"type":"string","description":"The person's political exposure.","enum":["existing","none"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the individual is an authorizer of the Account's identity."},"director":{"type":"boolean","description":"Indicates whether the person is a director of the associated legal entity."},"executive":{"type":"boolean","description":"Indicates whether the person is an executive of the associated legal entity."},"legal_guardian":{"type":"boolean","description":"Indicates whether the person is a legal guardian of the associated legal entity."},"owner":{"type":"boolean","description":"Indicates whether the person is an owner of the associated legal entity."},"percent_ownership":{"type":"string","description":"The percentage of ownership the person has in the associated legal entity.","format":"decimal"},"representative":{"type":"boolean","description":"Indicates whether the person is a representative of the associated legal entity."},"title":{"type":"string","description":"The title or position the person holds in the associated legal entity."}},"description":"The relationship that this person has with the Account's business or legal entity."},"script_addresses":{"type":"object","properties":{"kana":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"required":["country"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the person."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The script names (e.g. non-Latin characters) associated with the person."},"surname":{"type":"string","description":"The person's last name."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.additional_legal_guardian_not_allowed"},{"$ref":"#/components/schemas/v2.error.additional_representative_not_allowed"},{"$ref":"#/components/schemas/v2.error.additional_tos_only_allowed_for_legal_guardian"},{"$ref":"#/components/schemas/v2.error.address_characters_invalid"},{"$ref":"#/components/schemas/v2.error.address_country_identity_country_mismatch"},{"$ref":"#/components/schemas/v2.error.address_country_mismatch"},{"$ref":"#/components/schemas/v2.error.address_country_required"},{"$ref":"#/components/schemas/v2.error.address_postal_code_invalid"},{"$ref":"#/components/schemas/v2.error.address_state_invalid"},{"$ref":"#/components/schemas/v2.error.address_town_invalid"},{"$ref":"#/components/schemas/v2.error.authorizer_duplicate"},{"$ref":"#/components/schemas/v2.error.authorizer_relationship_invalid_for_representative"},{"$ref":"#/components/schemas/v2.error.date_of_birth_age_restriction"},{"$ref":"#/components/schemas/v2.error.date_of_birth_invalid"},{"$ref":"#/components/schemas/v2.error.document_invalid"},{"$ref":"#/components/schemas/v2.error.document_purpose_invalid"},{"$ref":"#/components/schemas/v2.error.duplicate_person_not_allowed"},{"$ref":"#/components/schemas/v2.error.email_domain_invalid_for_recipient"},{"$ref":"#/components/schemas/v2.error.email_invalid"},{"$ref":"#/components/schemas/v2.error.id_number_invalid"},{"$ref":"#/components/schemas/v2.error.identity_country_required"},{"$ref":"#/components/schemas/v2.error.incorrect_account_for_person_token"},{"$ref":"#/components/schemas/v2.error.incorrect_id_number_for_country"},{"$ref":"#/components/schemas/v2.error.incorrect_token_wrong_type"},{"$ref":"#/components/schemas/v2.error.individual_additional_person_not_allowed"},{"$ref":"#/components/schemas/v2.error.invalid_person_token"},{"$ref":"#/components/schemas/v2.error.invalid_relationship_for_identity_type_structure_and_country"},{"$ref":"#/components/schemas/v2.error.ip_address_invalid"},{"$ref":"#/components/schemas/v2.error.legal_guardian_representative_not_allowed"},{"$ref":"#/components/schemas/v2.error.legal_guardian_requires_existing_representative"},{"$ref":"#/components/schemas/v2.error.non_jp_kana_kanji_address"},{"$ref":"#/components/schemas/v2.error.param_alongside_person_token"},{"$ref":"#/components/schemas/v2.error.person_percent_ownership_invalid"},{"$ref":"#/components/schemas/v2.error.person_token_required"},{"$ref":"#/components/schemas/v2.error.phone_invalid"},{"$ref":"#/components/schemas/v2.error.postal_code_required_for_jp_address"},{"$ref":"#/components/schemas/v2.error.script_characters_invalid"},{"$ref":"#/components/schemas/v2.error.token_already_used"},{"$ref":"#/components/schemas/v2.error.token_expired"},{"$ref":"#/components/schemas/v2.error.total_person_ownership_exceeded"},{"$ref":"#/components/schemas/v2.error.unsupported_postal_code"},{"$ref":"#/components/schemas/v2.error.unsupported_state"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_token_invalid_in_v2"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_person","x-stripeDocsSamples":[{"request":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK"},"requestBody":{"given_name":"Jenny","surname":"Rosen","email":"jenny.rosen@example.com","address":{"line1":"27 Fredrick Ave","city":"Brothers","postal_code":"97712","state":"OR","country":"us"},"id_numbers":[{"type":"us_ssn_last_4","value":"0000"}],"relationship":{"owner":true,"percent_ownership":"0.8","representative":true,"title":"CEO"}}},"response":{"id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person","account":"acct_1Nv0FGQ9RKHgCVdK","additional_addresses":[],"additional_names":[],"address":{"city":"Brothers","country":"us","line1":"27 Fredrick Ave","postal_code":"97712","state":"OR"},"created":"2024-11-26T17:10:07.000Z","email":"jenny.rosen@example.com","given_name":"Jenny","id_numbers":[{"type":"us_ssn_last_4"}],"livemode":true,"metadata":{},"nationalities":[],"relationship":{"owner":true,"percent_ownership":"0.8","representative":true,"title":"CEO"},"surname":"Rosen","updated":"2024-11-26T17:10:07.000Z"}}],"x-stripeErrors":[{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"additional_legal_guardian_not_allowed","description":"More than one legal guardian is added to an account.","httpStatusCode":400},{"code":"additional_representative_not_allowed","description":"More than one representative is added to an account.","httpStatusCode":400},{"code":"additional_tos_only_allowed_for_legal_guardian","description":"Additional terms of service are signed by someone other than the legal guardian.","httpStatusCode":400},{"code":"address_characters_invalid","description":"Invalid characters are provided for address fields.","httpStatusCode":400},{"code":"address_country_identity_country_mismatch","description":"Address country doesn't match identity country.","httpStatusCode":400},{"code":"address_country_mismatch","description":"Registered/script address country doesn't match residential address country.","httpStatusCode":400},{"code":"address_country_required","description":"Address country is required but not provided.","httpStatusCode":400},{"code":"address_postal_code_invalid","description":"Address postal code is invalid.","httpStatusCode":400},{"code":"address_state_invalid","description":"Address state is invalid.","httpStatusCode":400},{"code":"address_town_invalid","description":"Address town is invalid.","httpStatusCode":400},{"code":"authorizer_duplicate","description":"There can only be one authorizer.","httpStatusCode":400},{"code":"authorizer_relationship_invalid_for_representative","description":"An authorizer cannot be a representative.","httpStatusCode":400},{"code":"date_of_birth_age_restriction","description":"Representative date of birth does not meet the age limit.","httpStatusCode":400},{"code":"date_of_birth_invalid","description":"Representative date of birth is provided an invalid date or a future date.","httpStatusCode":400},{"code":"document_invalid","description":"Provided file tokens for documents are invalid, not found, deleted, or belong to a different account.","httpStatusCode":400},{"code":"document_purpose_invalid","description":"Provided file tokens for documents are of the wrong purpose.","httpStatusCode":400},{"code":"duplicate_person_not_allowed","description":"Duplicate person is added to an account.","httpStatusCode":400},{"code":"email_domain_invalid_for_recipient","description":"Email contains unsupported domain.","httpStatusCode":400},{"code":"email_invalid","description":"Incorrect email is provided.","httpStatusCode":400},{"code":"id_number_invalid","description":"Provided ID number is of the wrong format for the given type.","httpStatusCode":400},{"code":"identity_country_required","description":"The `identity.country` value is required but not provided.","httpStatusCode":400},{"code":"incorrect_account_for_person_token","description":"A person token is created with one account but used on a different account.","httpStatusCode":400},{"code":"incorrect_id_number_for_country","description":"Incorrect ID number is provided for a country.","httpStatusCode":400},{"code":"incorrect_token_wrong_type","description":"The incorrect token type is provided .","httpStatusCode":400},{"code":"individual_additional_person_not_allowed","description":"Additional person is added for an individual business type.","httpStatusCode":400},{"code":"invalid_person_token","description":"Invalid person token.","httpStatusCode":403},{"code":"invalid_relationship_for_identity_type_structure_and_country","description":"Some relationships are specific to type, structure, and country.","httpStatusCode":400},{"code":"ip_address_invalid","description":"Invalid IP address is provided.","httpStatusCode":400},{"code":"legal_guardian_representative_not_allowed","description":"Person is designated as both legal guardian and representative.","httpStatusCode":400},{"code":"legal_guardian_requires_existing_representative","description":"A legal guardian may not be added to the account without an existing representative.","httpStatusCode":400},{"code":"non_jp_kana_kanji_address","description":"Kana Kanji script addresses must have JP country.","httpStatusCode":400},{"code":"param_alongside_person_token","description":"Parameter cannot be passed alongside person_token.","httpStatusCode":400},{"code":"person_percent_ownership_invalid","description":"Error returned when relationship.owner is set to true but the ownership percentage is set to 0%.","httpStatusCode":400},{"code":"person_token_required","description":"Person token required for platforms in mandated countries (e.g., France).","httpStatusCode":400},{"code":"phone_invalid","description":"Phone number is invalid.","httpStatusCode":400},{"code":"postal_code_required_for_jp_address","description":"Postal code is required for Japanese addresses.","httpStatusCode":400},{"code":"script_characters_invalid","description":"Provided script characters are invalid for the script.","httpStatusCode":400},{"code":"token_already_used","description":"The token is re-used with a different idempotency key.","httpStatusCode":400},{"code":"token_expired","description":"Token has expired.","httpStatusCode":400},{"code":"total_person_ownership_exceeded","description":"Total ownership percentages of all Persons on the account exceeds 100%.","httpStatusCode":400},{"code":"unsupported_postal_code","description":"Address is in an unsupported postal code.","httpStatusCode":400},{"code":"unsupported_state","description":"Address is in an unsupported state.","httpStatusCode":400},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_token_invalid_in_v2","description":"A v1 token ID is passed in v2 APIs.","httpStatusCode":400}]}},"/v2/core/accounts/{account_id}/persons/{id}":{"get":{"summary":"Retrieve a person","description":"Retrieves a Person associated with an Account.","operationId":"GetV2CoreAccountsAccountIdPersonsId","parameters":[{"name":"account_id","in":"path","description":"The Account the Person is associated with.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}}},{"name":"id","in":"path","description":"The ID of the Person to retrieve.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_person","x-stripeDocsSamples":[{"request":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK","id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY"},"requestBody":{}},"response":{"id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person","account":"acct_1Nv0FGQ9RKHgCVdK","additional_addresses":[],"additional_names":[],"address":{"city":"Brothers","country":"us","line1":"27 Fredrick Ave","postal_code":"97712","state":"OR"},"created":"2024-11-26T17:10:07.000Z","date_of_birth":{"day":28,"month":1,"year":2000},"email":"jenny.rosen@example.com","given_name":"Jenny","id_numbers":[{"type":"us_ssn_last_4"}],"livemode":true,"metadata":{},"nationalities":[],"relationship":{"owner":true,"percent_ownership":"0.8","representative":true,"title":"CEO"},"surname":"Rosen","updated":"2024-11-26T17:12:55.000Z"}}],"x-stripeErrors":[{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400}]},"post":{"summary":"Update a person","description":"Updates a Person associated with an Account.","operationId":"PostV2CoreAccountsAccountIdPersonsId","parameters":[{"name":"account_id","in":"path","description":"The Account the Person is associated with.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}}},{"name":"id","in":"path","description":"The ID of the Person to update.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the person.","items":{"required":["purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the person.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The person's full name."},"given_name":{"type":"string","description":"The person's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The person's last or family name."}}}},"additional_terms_of_service":{"type":"object","properties":{"account":{"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Stripe terms of service agreement."}},"description":"Attestations of accepted terms of service agreements."},"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The primary address associated with the person."},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of the birth."},"month":{"type":"integer","description":"The month of birth."},"year":{"type":"integer","description":"The year of birth."}},"description":"The person's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"Email."},"given_name":{"type":"string","description":"The person's first name."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the person.","items":{"required":["type","value"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"legal_gender":{"type":"string","description":"The person's gender (International regulations require either \"male\" or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"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."},"nationalities":{"type":"array","description":"The nationalities (countries) this person is associated with.","items":{"type":"string"}},"person_token":{"type":"string","description":"The person token generated by the person token api.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_person_token"}}},"phone":{"type":"string","description":"The phone number for this person."},"political_exposure":{"type":"string","description":"The person's political exposure.","enum":["existing","none"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the individual is an authorizer of the Account's identity."},"director":{"type":"boolean","description":"Indicates whether the person is a director of the associated legal entity."},"executive":{"type":"boolean","description":"Indicates whether the person is an executive of the associated legal entity."},"legal_guardian":{"type":"boolean","description":"Indicates whether the person is a legal guardian of the associated legal entity."},"owner":{"type":"boolean","description":"Indicates whether the person is an owner of the associated legal entity."},"percent_ownership":{"type":"string","description":"The percentage of ownership the person has in the associated legal entity.","format":"decimal"},"representative":{"type":"boolean","description":"Indicates whether the person is a representative of the associated legal entity."},"title":{"type":"string","description":"The title or position the person holds in the associated legal entity."}},"description":"The relationship that this person has with the Account's business or legal entity."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the person."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The script names (e.g. non-Latin characters) associated with the person."},"surname":{"type":"string","description":"The person's last name."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account_person"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.additional_legal_guardian_not_allowed"},{"$ref":"#/components/schemas/v2.error.additional_representative_not_allowed"},{"$ref":"#/components/schemas/v2.error.additional_tos_only_allowed_for_legal_guardian"},{"$ref":"#/components/schemas/v2.error.address_characters_invalid"},{"$ref":"#/components/schemas/v2.error.address_country_identity_country_mismatch"},{"$ref":"#/components/schemas/v2.error.address_country_mismatch"},{"$ref":"#/components/schemas/v2.error.address_country_required"},{"$ref":"#/components/schemas/v2.error.address_postal_code_invalid"},{"$ref":"#/components/schemas/v2.error.address_state_invalid"},{"$ref":"#/components/schemas/v2.error.address_town_invalid"},{"$ref":"#/components/schemas/v2.error.date_of_birth_age_restriction"},{"$ref":"#/components/schemas/v2.error.date_of_birth_invalid"},{"$ref":"#/components/schemas/v2.error.document_invalid"},{"$ref":"#/components/schemas/v2.error.document_purpose_invalid"},{"$ref":"#/components/schemas/v2.error.duplicate_person_not_allowed"},{"$ref":"#/components/schemas/v2.error.email_domain_invalid_for_recipient"},{"$ref":"#/components/schemas/v2.error.email_invalid"},{"$ref":"#/components/schemas/v2.error.id_number_invalid"},{"$ref":"#/components/schemas/v2.error.identity_country_required"},{"$ref":"#/components/schemas/v2.error.immutable_identity_param"},{"$ref":"#/components/schemas/v2.error.incorrect_account_for_person_token"},{"$ref":"#/components/schemas/v2.error.incorrect_id_number_for_country"},{"$ref":"#/components/schemas/v2.error.incorrect_token_wrong_type"},{"$ref":"#/components/schemas/v2.error.invalid_person_token"},{"$ref":"#/components/schemas/v2.error.ip_address_invalid"},{"$ref":"#/components/schemas/v2.error.legal_guardian_representative_not_allowed"},{"$ref":"#/components/schemas/v2.error.legal_guardian_requires_existing_representative"},{"$ref":"#/components/schemas/v2.error.non_jp_kana_kanji_address"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.param_alongside_person_token"},{"$ref":"#/components/schemas/v2.error.person_percent_ownership_invalid"},{"$ref":"#/components/schemas/v2.error.person_token_required"},{"$ref":"#/components/schemas/v2.error.phone_invalid"},{"$ref":"#/components/schemas/v2.error.postal_code_required_for_jp_address"},{"$ref":"#/components/schemas/v2.error.script_characters_invalid"},{"$ref":"#/components/schemas/v2.error.token_already_used"},{"$ref":"#/components/schemas/v2.error.token_expired"},{"$ref":"#/components/schemas/v2.error.total_person_ownership_exceeded"},{"$ref":"#/components/schemas/v2.error.unsupported_postal_code"},{"$ref":"#/components/schemas/v2.error.unsupported_state"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_token_invalid_in_v2"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_person","x-stripeDocsSamples":[{"request":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK","id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY"},"requestBody":{"date_of_birth":{"day":28,"month":1,"year":2000}}},"response":{"id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person","account":"acct_1Nv0FGQ9RKHgCVdK","additional_addresses":[],"additional_names":[],"address":{"city":"Brothers","country":"us","line1":"27 Fredrick Ave","postal_code":"97712","state":"OR"},"created":"2024-11-26T17:10:07.000Z","date_of_birth":{"day":28,"month":1,"year":2000},"email":"jenny.rosen@example.com","given_name":"Jenny","id_numbers":[{"type":"us_ssn_last_4"}],"livemode":true,"metadata":{},"nationalities":[],"relationship":{"owner":true,"percent_ownership":"0.8","representative":true,"title":"CEO"},"surname":"Rosen","updated":"2024-11-26T17:12:55.000Z"}}],"x-stripeErrors":[{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"additional_legal_guardian_not_allowed","description":"More than one legal guardian is added to an account.","httpStatusCode":400},{"code":"additional_representative_not_allowed","description":"More than one representative is added to an account.","httpStatusCode":400},{"code":"additional_tos_only_allowed_for_legal_guardian","description":"Additional terms of service are signed by someone other than the legal guardian.","httpStatusCode":400},{"code":"address_characters_invalid","description":"Invalid characters are provided for address fields.","httpStatusCode":400},{"code":"address_country_identity_country_mismatch","description":"Address country doesn't match identity country.","httpStatusCode":400},{"code":"address_country_mismatch","description":"Registered/script address country doesn't match residential address country.","httpStatusCode":400},{"code":"address_country_required","description":"Address country is required but not provided.","httpStatusCode":400},{"code":"address_postal_code_invalid","description":"Address postal code is invalid.","httpStatusCode":400},{"code":"address_state_invalid","description":"Address state is invalid.","httpStatusCode":400},{"code":"address_town_invalid","description":"Address town is invalid.","httpStatusCode":400},{"code":"date_of_birth_age_restriction","description":"Representative date of birth does not meet the age limit.","httpStatusCode":400},{"code":"date_of_birth_invalid","description":"Representative date of birth is provided an invalid date or a future date.","httpStatusCode":400},{"code":"document_invalid","description":"Provided file tokens for documents are invalid, not found, deleted, or belong to a different account.","httpStatusCode":400},{"code":"document_purpose_invalid","description":"Provided file tokens for documents are of the wrong purpose.","httpStatusCode":400},{"code":"duplicate_person_not_allowed","description":"Duplicate person is added to an account.","httpStatusCode":400},{"code":"email_domain_invalid_for_recipient","description":"Email contains unsupported domain.","httpStatusCode":400},{"code":"email_invalid","description":"Incorrect email is provided.","httpStatusCode":400},{"code":"id_number_invalid","description":"Provided ID number is of the wrong format for the given type.","httpStatusCode":400},{"code":"identity_country_required","description":"The `identity.country` value is required but not provided.","httpStatusCode":400},{"code":"immutable_identity_param","description":"Identity param has been made immutable due to the state of the account.","httpStatusCode":400},{"code":"incorrect_account_for_person_token","description":"A person token is created with one account but used on a different account.","httpStatusCode":400},{"code":"incorrect_id_number_for_country","description":"Incorrect ID number is provided for a country.","httpStatusCode":400},{"code":"incorrect_token_wrong_type","description":"The incorrect token type is provided .","httpStatusCode":400},{"code":"invalid_person_token","description":"Invalid person token.","httpStatusCode":403},{"code":"ip_address_invalid","description":"Invalid IP address is provided.","httpStatusCode":400},{"code":"legal_guardian_representative_not_allowed","description":"Person is designated as both legal guardian and representative.","httpStatusCode":400},{"code":"legal_guardian_requires_existing_representative","description":"A legal guardian may not be added to the account without an existing representative.","httpStatusCode":400},{"code":"non_jp_kana_kanji_address","description":"Kana Kanji script addresses must have JP country.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"param_alongside_person_token","description":"Parameter cannot be passed alongside person_token.","httpStatusCode":400},{"code":"person_percent_ownership_invalid","description":"Error returned when relationship.owner is set to true but the ownership percentage is set to 0%.","httpStatusCode":400},{"code":"person_token_required","description":"Person token required for platforms in mandated countries (e.g., France).","httpStatusCode":400},{"code":"phone_invalid","description":"Phone number is invalid.","httpStatusCode":400},{"code":"postal_code_required_for_jp_address","description":"Postal code is required for Japanese addresses.","httpStatusCode":400},{"code":"script_characters_invalid","description":"Provided script characters are invalid for the script.","httpStatusCode":400},{"code":"token_already_used","description":"The token is re-used with a different idempotency key.","httpStatusCode":400},{"code":"token_expired","description":"Token has expired.","httpStatusCode":400},{"code":"total_person_ownership_exceeded","description":"Total ownership percentages of all Persons on the account exceeds 100%.","httpStatusCode":400},{"code":"unsupported_postal_code","description":"Address is in an unsupported postal code.","httpStatusCode":400},{"code":"unsupported_state","description":"Address is in an unsupported state.","httpStatusCode":400},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_token_invalid_in_v2","description":"A v1 token ID is passed in v2 APIs.","httpStatusCode":400}]},"delete":{"summary":"Delete a person","description":"Delete a Person associated with an Account.","operationId":"DeleteV2CoreAccountsAccountIdPersonsId","parameters":[{"name":"account_id","in":"path","description":"The Account the Person is associated with.","required":true,"style":"simple","schema":{"type":"string","x-stripeParam":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}}},{"name":"id","in":"path","description":"The ID of the Person to delete.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.deleted_object"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_delete_person","x-stripeDocsSamples":[{"request":{"pathParams":{"account_id":"acct_1Nv0FGQ9RKHgCVdK","id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY"},"requestBody":{}},"response":{"id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person","deleted":true}}],"x-stripeErrors":[{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400}]}},"/v2/core/accounts/{id}":{"get":{"summary":"Retrieve an account","description":"Retrieves the details of an Account.","operationId":"GetV2CoreAccountsId","parameters":[{"name":"id","in":"path","description":"The ID of the Account to retrieve.","required":true,"style":"simple","schema":{"type":"string"}},{"name":"include","in":"query","description":"Additional fields to include in the response.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["configuration.customer","configuration.merchant","configuration.recipient","defaults","future_requirements","identity","requirements"],"x-stripeEnum":[{"description":"Include parameter to expose `configuration.customer` on an Account.","value":"configuration.customer"},{"description":"Include parameter to expose `configuration.merchant` on an Account.","value":"configuration.merchant"},{"description":"Include parameter to expose `configuration.recipient` on an Account.","value":"configuration.recipient"},{"description":"Include parameter to expose `defaults` on an Account.","value":"defaults"},{"description":"Include parameter to expose `future_requirements` on an Account.","value":"future_requirements"},{"description":"Include parameter to expose `identity` on an Account.","value":"identity"},{"description":"Include parameter to expose `requirements` on an Account.","value":"requirements"}]}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"acct_1Nv0FGQ9RKHgCVdK"},"requestBody":{"include":["defaults","identity","configuration.merchant"]}},"response":{"id":"acct_1Nv0FGQ9RKHgCVdK","object":"v2.core.account","applied_configurations":["customer","merchant"],"configuration":{"merchant":{"applied":"2024-11-26T16:33:03.000Z","card_payments":{"decline_on":{"avs_failure":false,"cvc_failure":false}},"capabilities":{"card_payments":{"status":"restricted","status_details":[{"code":"requirements_past_due","resolution":"provide_info"}]}},"statement_descriptor":{"descriptor":"accessible.stripe.com"}}},"contact_email":"furever@example.com","created":"2024-11-26T16:33:03.000Z","dashboard":"full","identity":{"business_details":{"address":{"country":"us"},"id_numbers":[{"type":"us_ein"}],"structure":"sole_proprietorship"},"country":"us","entity_type":"company"},"defaults":{"currency":"usd","locales":[],"profile":{"business_url":"http://accessible.stripe.com","doing_business_as":"FurEver","product_description":"Saas pet grooming platform at furever.dev using Connect embedded components"},"responsibilities":{"fees_collector":"stripe","losses_collector":"stripe","requirements_collector":"stripe"}},"display_name":"Furever","livemode":true,"metadata":{}}}],"x-stripeErrors":[{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400}]},"post":{"summary":"Update an account","description":"Updates the details of an Account.","operationId":"PostV2CoreAccountsId","parameters":[{"name":"id","in":"path","description":"The ID of the Account to update.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"account_token":{"type":"string","description":"The account token generated by the account token api.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account_token"}}},"configuration":{"type":"object","properties":{"customer":{"type":"object","properties":{"applied":{"type":"boolean","description":"Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration."},"automatic_indirect_tax":{"type":"object","properties":{"exempt":{"type":"string","description":"The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include \"Reverse charge\".","enum":["exempt","none","reverse"],"x-stripeEnum":[{"description":"The customer is tax-exempt.","value":"exempt"},{"description":"The customer is not tax-exempt.","value":"none"},{"description":"Reverse charge applies.","value":"reverse"}]},"ip_address":{"type":"string","description":"A recent IP address of the customer used for tax reporting and tax location inference."},"validate_location":{"type":"string","description":"A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.","enum":["auto","deferred","immediately"],"x-stripeEnum":[{"description":"Validate the v2 account customer’s tax location immediately if it has active automatic tax enabled subscriptions. Default.","value":"auto"},{"description":"Defer the validation of the v2 account customer’s tax location until needed, such as when Stripe Tax is calculating taxes on an Invoice.","value":"deferred"},{"description":"Validate the v2 account customer’s tax location immediately. An error is returned and the v2 account is not updated if the tax location is invalid.","value":"immediately"}]}},"description":"Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information."},"billing":{"type":"object","properties":{"default_payment_method":{"type":"string","description":"ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions."},"invoice":{"type":"object","properties":{"custom_fields":{"type":"array","description":"The list of up to 4 default custom fields to be displayed on invoices for this customer.","items":{"required":["name","value"],"type":"object","properties":{"name":{"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"type":"string","description":"The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values."}}}},"footer":{"type":"string","description":"Default invoice footer."},"next_sequence":{"type":"integer","description":"Sequence number to use on the customer account's next invoice. Defaults to 1."},"prefix":{"type":"string","description":"Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers."},"rendering":{"type":"object","properties":{"amount_tax_display":{"type":"string","description":"Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.","enum":["exclude_tax","include_inclusive_tax"],"x-stripeEnum":[{"description":"Exclude tax.","value":"exclude_tax"},{"description":"Include inclusive tax.","value":"include_inclusive_tax"}]},"template":{"type":"string","description":"ID of the invoice rendering template to use for future invoices."}},"description":"Default invoice PDF rendering options."}},"description":"Default invoice settings for the customer account."}},"description":"Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions."},"capabilities":{"type":"object","properties":{"automatic_indirect_tax":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions."}},"description":"Capabilities that have been requested on the Customer Configuration."},"shipping":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."}},"description":"Customer shipping address."},"name":{"type":"string","description":"Customer name."},"phone":{"type":"string","description":"Customer phone (including extension)."}},"description":"The customer's shipping information. Appears on invoices emailed to this customer."},"test_clock":{"type":"string","description":"ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account."}},"description":"The Customer Configuration allows the Account to be charged."},"merchant":{"type":"object","properties":{"applied":{"type":"boolean","description":"Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration."},"bacs_debit_payments":{"type":"object","properties":{"display_name":{"type":"string","description":"Display name for Bacs Direct Debit payments."}},"description":"Settings for Bacs Direct Debit payments."},"branding":{"type":"object","properties":{"icon":{"type":"string","description":"ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px."},"logo":{"type":"string","description":"ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px."},"primary_color":{"type":"string","description":"A CSS hex color value representing the primary branding color for the merchant."},"secondary_color":{"type":"string","description":"A CSS hex color value representing the secondary branding color for the merchant."}},"description":"Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products."},"capabilities":{"type":"object","properties":{"ach_debit_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process ACH debit payments."},"acss_debit_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process ACSS debit payments."},"affirm_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Affirm payments."},"afterpay_clearpay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Afterpay/Clearpay payments."},"alma_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Alma payments."},"amazon_pay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Amazon Pay payments."},"au_becs_debit_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Australian BECS Direct Debit payments."},"bacs_debit_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process BACS Direct Debit payments."},"bancontact_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Bancontact payments."},"blik_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process BLIK payments."},"boleto_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Boleto payments."},"card_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to collect card payments."},"cartes_bancaires_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Cartes Bancaires payments."},"cashapp_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Cash App payments."},"eps_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process EPS payments."},"fpx_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process FPX payments."},"gb_bank_transfer_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process UK bank transfer payments."},"grabpay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process GrabPay payments."},"ideal_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process iDEAL payments."},"jcb_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process JCB card payments."},"jp_bank_transfer_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Japanese bank transfer payments."},"kakao_pay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Kakao Pay payments."},"klarna_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Klarna payments."},"konbini_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Konbini convenience store payments."},"kr_card_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Korean card payments."},"link_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Link payments."},"mobilepay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process MobilePay payments."},"multibanco_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Multibanco payments."},"mx_bank_transfer_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Mexican bank transfer payments."},"naver_pay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Naver Pay payments."},"oxxo_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process OXXO payments."},"p24_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Przelewy24 (P24) payments."},"pay_by_bank_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Pay by Bank payments."},"payco_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process PAYCO payments."},"paynow_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process PayNow payments."},"promptpay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process PromptPay payments."},"revolut_pay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Revolut Pay payments."},"samsung_pay_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Samsung Pay payments."},"sepa_bank_transfer_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process SEPA bank transfer payments."},"sepa_debit_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process SEPA Direct Debit payments."},"swish_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Swish payments."},"twint_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process TWINT payments."},"us_bank_transfer_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process US bank transfer payments."},"zip_payments":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Allow the merchant to process Zip payments."}},"description":"Capabilities to request on the Merchant Configuration."},"card_payments":{"type":"object","properties":{"decline_on":{"type":"object","properties":{"avs_failure":{"type":"boolean","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."},"cvc_failure":{"type":"boolean","description":"Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification."}},"description":"Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge."}},"description":"Card payments settings."},"konbini_payments":{"type":"object","properties":{"support":{"type":"object","properties":{"email":{"type":"string","description":"Support email address for Konbini payments."},"hours":{"type":"object","properties":{"end_time":{"type":"string","description":"Support hours end time (JST time of day) for in `HH:MM` format."},"start_time":{"type":"string","description":"Support hours start time (JST time of day) for in `HH:MM` format."}},"description":"Support hours for Konbini payments."},"phone":{"type":"string","description":"Support phone number for Konbini payments."}},"description":"Support for Konbini payments."}},"description":"Settings specific to Konbini payments on the account."},"mcc":{"type":"string","description":"The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide."},"script_statement_descriptor":{"type":"object","properties":{"kana":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"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)."},"kanji":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"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)."}},"description":"Settings for the default text that appears on statements for language variations."},"statement_descriptor":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"description":"Settings for the default [statement descriptor](/connect/statement-descriptors) text."},"support":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"A publicly available mailing address for sending support issues to."},"email":{"type":"string","description":"A publicly available email address for sending support issues to."},"phone":{"type":"string","description":"A publicly available phone number to call with support issues."},"url":{"type":"string","description":"A publicly available website for handling support issues."}},"description":"Publicly available contact information for sending support issues to."}},"description":"Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set."},"recipient":{"type":"object","properties":{"applied":{"type":"boolean","description":"Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration."},"capabilities":{"type":"object","properties":{"stripe_balance":{"type":"object","properties":{"stripe_transfers":{"type":"object","properties":{"requested":{"type":"boolean","description":"To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active."}},"description":"Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance)."}},"description":"Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance)."}},"description":"Capabilities to request on the Recipient Configuration."}},"description":"The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set."}},"description":"An Account Configuration which allows the Account to take on a key persona across Stripe products."},"contact_email":{"type":"string","description":"The default contact email address for the Account. Required when configuring the account as a merchant or recipient."},"contact_phone":{"type":"string","description":"The default contact phone for the Account."},"dashboard":{"type":"string","description":"A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.","enum":["express","full","none"],"x-stripeEnum":[{"description":"The Account has access to the Express hosted dashboard.","value":"express"},{"description":"The Account has access to the full Stripe hosted dashboard.","value":"full"},{"description":"The Account does not have access to any Stripe hosted dashboard.","value":"none"}]},"defaults":{"type":"object","properties":{"currency":{"type":"string","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)."},"locales":{"type":"array","description":"The Account's preferred locales (languages), ordered by preference.","items":{"type":"string","enum":["ar-SA","bg","bg-BG","cs","cs-CZ","da","da-DK","de","de-DE","el","el-GR","en","en-AU","en-CA","en-GB","en-IE","en-IN","en-NZ","en-SG","en-US","es","es-419","es-ES","et","et-EE","fi","fil","fil-PH","fi-FI","fr","fr-CA","fr-FR","he-IL","hr","hr-HR","hu","hu-HU","id","id-ID","it","it-IT","ja","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","ms","ms-MY","mt","mt-MT","nb","nb-NO","nl","nl-NL","pl","pl-PL","pt","pt-BR","pt-PT","ro","ro-RO","ru","ru-RU","sk","sk-SK","sl","sl-SI","sv","sv-SE","th","th-TH","tr","tr-TR","vi","vi-VN","zh","zh-Hans","zh-Hant-HK","zh-Hant-TW","zh-HK","zh-TW"],"x-stripeEnum":[{"description":"IETF Locale.","value":"ar-SA"},{"description":"IETF Locale.","value":"bg"},{"description":"IETF Locale.","value":"bg-BG"},{"description":"IETF Locale.","value":"cs"},{"description":"IETF Locale.","value":"cs-CZ"},{"description":"IETF Locale.","value":"da"},{"description":"IETF Locale.","value":"da-DK"},{"description":"IETF Locale.","value":"de"},{"description":"IETF Locale.","value":"de-DE"},{"description":"IETF Locale.","value":"el"},{"description":"IETF Locale.","value":"el-GR"},{"description":"IETF Locale.","value":"en"},{"description":"IETF Locale.","value":"en-AU"},{"description":"IETF Locale.","value":"en-CA"},{"description":"IETF Locale.","value":"en-GB"},{"description":"IETF Locale.","value":"en-IE"},{"description":"IETF Locale.","value":"en-IN"},{"description":"IETF Locale.","value":"en-NZ"},{"description":"IETF Locale.","value":"en-SG"},{"description":"IETF Locale.","value":"en-US"},{"description":"IETF Locale.","value":"es"},{"description":"IETF Locale.","value":"es-419"},{"description":"IETF Locale.","value":"es-ES"},{"description":"IETF Locale.","value":"et"},{"description":"IETF Locale.","value":"et-EE"},{"description":"IETF Locale.","value":"fi"},{"description":"IETF Locale.","value":"fil"},{"description":"IETF Locale.","value":"fil-PH"},{"description":"IETF Locale.","value":"fi-FI"},{"description":"IETF Locale.","value":"fr"},{"description":"IETF Locale.","value":"fr-CA"},{"description":"IETF Locale.","value":"fr-FR"},{"description":"IETF Locale.","value":"he-IL"},{"description":"IETF Locale.","value":"hr"},{"description":"IETF Locale.","value":"hr-HR"},{"description":"IETF Locale.","value":"hu"},{"description":"IETF Locale.","value":"hu-HU"},{"description":"IETF Locale.","value":"id"},{"description":"IETF Locale.","value":"id-ID"},{"description":"IETF Locale.","value":"it"},{"description":"IETF Locale.","value":"it-IT"},{"description":"IETF Locale.","value":"ja"},{"description":"IETF Locale.","value":"ja-JP"},{"description":"IETF Locale.","value":"ko"},{"description":"IETF Locale.","value":"ko-KR"},{"description":"IETF Locale.","value":"lt"},{"description":"IETF Locale.","value":"lt-LT"},{"description":"IETF Locale.","value":"lv"},{"description":"IETF Locale.","value":"lv-LV"},{"description":"IETF Locale.","value":"ms"},{"description":"IETF Locale.","value":"ms-MY"},{"description":"IETF Locale.","value":"mt"},{"description":"IETF Locale.","value":"mt-MT"},{"description":"IETF Locale.","value":"nb"},{"description":"IETF Locale.","value":"nb-NO"},{"description":"IETF Locale.","value":"nl"},{"description":"IETF Locale.","value":"nl-NL"},{"description":"IETF Locale.","value":"pl"},{"description":"IETF Locale.","value":"pl-PL"},{"description":"IETF Locale.","value":"pt"},{"description":"IETF Locale.","value":"pt-BR"},{"description":"IETF Locale.","value":"pt-PT"},{"description":"IETF Locale.","value":"ro"},{"description":"IETF Locale.","value":"ro-RO"},{"description":"IETF Locale.","value":"ru"},{"description":"IETF Locale.","value":"ru-RU"},{"description":"IETF Locale.","value":"sk"},{"description":"IETF Locale.","value":"sk-SK"},{"description":"IETF Locale.","value":"sl"},{"description":"IETF Locale.","value":"sl-SI"},{"description":"IETF Locale.","value":"sv"},{"description":"IETF Locale.","value":"sv-SE"},{"description":"IETF Locale.","value":"th"},{"description":"IETF Locale.","value":"th-TH"},{"description":"IETF Locale.","value":"tr"},{"description":"IETF Locale.","value":"tr-TR"},{"description":"IETF Locale.","value":"vi"},{"description":"IETF Locale.","value":"vi-VN"},{"description":"IETF Locale.","value":"zh"},{"description":"IETF Locale.","value":"zh-Hans"},{"description":"IETF Locale.","value":"zh-Hant-HK"},{"description":"IETF Locale.","value":"zh-Hant-TW"},{"description":"IETF Locale.","value":"zh-HK"},{"description":"IETF Locale.","value":"zh-TW"}]}},"profile":{"type":"object","properties":{"business_url":{"type":"string","description":"The business's publicly-available website."},"doing_business_as":{"type":"string","description":"The name which is used by the business."},"product_description":{"type":"string","description":"Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes."}},"description":"Account profile information."},"responsibilities":{"required":["fees_collector","losses_collector"],"type":"object","properties":{"fees_collector":{"type":"string","description":"A value indicating the party responsible for collecting fees from this account.","enum":["application","application_custom","application_express","stripe"],"x-stripeEnum":[{"description":"The platform is responsible for collecting fees from the Account.","value":"application"},{"description":"Direct charge fee behavior is the same as for Custom accounts. See [documentation](/connect/direct-charges-fee-payer-behavior).","value":"application_custom"},{"description":"Direct charge fee behavior is the same as for Express accounts. See [documentation](/connect/direct-charges-fee-payer-behavior).","value":"application_express"},{"description":"Stripe is responsible for collecting fees from the Account.","value":"stripe"}]},"losses_collector":{"type":"string","description":"A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.","enum":["application","stripe"],"x-stripeEnum":[{"description":"The platform is responsible for negative balances on the Account.","value":"application"},{"description":"Stripe is responsible for negative balances on this Account.","value":"stripe"}]}},"description":"Default responsibilities held by either Stripe or the platform."}},"description":"Default values to be used on Account Configurations."},"display_name":{"type":"string","description":"A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account."},"identity":{"type":"object","properties":{"attestations":{"type":"object","properties":{"directorship_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the director attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the director attestation was made."}},"description":"This hash is used to attest that the directors information provided to Stripe is both current and correct."},"ownership_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the beneficial owner attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the beneficial owner attestation was made."}},"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct."},"persons_provided":{"type":"object","properties":{"directors":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"executives":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"owners":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"ownership_exemption_reason":{"type":"string","description":"Reason for why the company is exempt from providing ownership information.","enum":["qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"],"x-stripeEnum":[{"description":"A qualifying entity or group of qualifying entities own a significant enough share of the merchant’s business that they are exempt from providing ownership information based on regulatory guidelines in the merchant’s country.","value":"qualified_entity_exceeds_ownership_threshold"},{"description":"A merchant is a financial institution.","value":"qualifies_as_financial_institution"}]}},"description":"Attestation that all Persons with a specific Relationship value have been provided."},"representative_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the representative attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the representative attestation was made."}},"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity."},"terms_of_service":{"type":"object","properties":{"account":{"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance)."},"crypto_storer":{"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Details on the Account's acceptance of Crypto-storer-specific terms of service."},"storer":{"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Details on the Account's acceptance of Treasury-specific terms of service."}},"description":"Attestations of accepted terms of service agreements."}},"description":"Attestations from the identity's key people, e.g. owners, executives, directors, representatives."},"business_details":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The business registration address of the business entity."},"annual_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"A non-negative integer representing the amount in the smallest currency unit."},"fiscal_year_end":{"type":"string","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."}},"description":"The business gross annual revenue for its preceding fiscal year."},"documents":{"type":"object","properties":{"bank_account_ownership_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that support the 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."},"company_license":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s license to operate."},"company_memorandum_of_association":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s Memorandum of Association."},"company_ministerial_decree":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment."},"company_registration_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities."},"company_tax_id_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s tax ID."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document verifying the business."},"proof_of_address":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of address."},"proof_of_registration":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s proof of registration with the national business registry."},"proof_of_ultimate_beneficial_ownership":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership."}},"description":"A document verifying the business."},"estimated_worker_count":{"type":"integer","description":"Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors)."},"id_numbers":{"type":"array","description":"The ID numbers of a business entity.","items":{"required":["type","value"],"type":"object","properties":{"registrar":{"type":"string","description":"The registrar of the ID number (Only valid for DE ID number types)."},"type":{"type":"string","description":"Open Enum. The ID number type of a business entity.","enum":["ae_crn","ae_vat","ao_nif","ar_cuit","at_fn","at_stn","at_vat","au_abn","au_acn","au_in","az_tin","bd_etin","be_cbe","be_vat","bg_uic","bg_vat","br_cnpj","ca_cn","ca_crarr","ca_gst_hst","ca_neq","ca_rid","ch_chid","ch_uid","cr_cpj","cr_nite","cy_he","cy_tic","cy_vat","cz_ico","cz_vat","de_hrn","de_stn","de_vat","dk_cvr","dk_vat","do_rcn","ee_rk","ee_vat","es_cif","es_vat","fi_vat","fi_yt","fr_rna","fr_siren","fr_vat","gb_crn","gb_vat","gi_crn","gr_afm","gr_gemi","gr_vat","gt_nit","hk_br","hk_cr","hr_mbs","hr_oib","hr_vat","hu_cjs","hu_tin","hu_vat","ie_crn","ie_trn","ie_vat","it_rea","it_vat","jp_cn","kz_bin","li_uid","lt_ccrn","lt_vat","lu_nif","lu_rcs","lu_vat","lv_urn","lv_vat","mt_crn","mt_tin","mt_vat","mx_rfc","my_brn","my_coid","my_itn","my_sst","mz_nuit","nl_kvk","nl_rsin","nl_vat","no_orgnr","nz_bn","nz_ird","pe_ruc","pk_ntn","pl_nip","pl_regon","pl_vat","pt_vat","ro_cui","ro_orc","ro_vat","sa_crn","sa_tin","se_orgnr","se_vat","sg_uen","si_msp","si_tin","si_vat","sk_dic","sk_ico","sk_vat","th_crn","th_prn","th_tin","us_ein"],"x-stripeEnum":[{"description":"Company registration number - United Arab Emirates.","value":"ae_crn"},{"description":"Business VAT ID - United Arab Emirates.","value":"ae_vat"},{"description":"Número de Identificação Fiscal (NIF) - Angola.","value":"ao_nif"},{"description":"Clave Única de Identificación Tributaria - Argentina.","value":"ar_cuit"},{"description":"Firmenbuchnummer - Austria.","value":"at_fn"},{"description":"Steuernummer (StNr.) - Austria.","value":"at_stn"},{"description":"VAT Number (UID) - Austria.","value":"at_vat"},{"description":"Australian Business Number - Australia.","value":"au_abn"},{"description":"Australian Company Number - Australia.","value":"au_acn"},{"description":"Incorporation Number - Australia.","value":"au_in"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"Enterprise number - Belgium.","value":"be_cbe"},{"description":"VAT Number (n° TVA/BTW-nr) - Belgium.","value":"be_vat"},{"description":"Unique Identification Code - Bulgaria.","value":"bg_uic"},{"description":"VAT Number (ДДС номер) - Bulgaria.","value":"bg_vat"},{"description":"Cadastro Nacional da Pessoa Jurídica - Brazil.","value":"br_cnpj"},{"description":"Corporation Number - Canada.","value":"ca_cn"},{"description":"CRA registered charity program account number - Canada.","value":"ca_crarr"},{"description":"GST/HST Number - Canada.","value":"ca_gst_hst"},{"description":"Québec Enterprise Number - Canada.","value":"ca_neq"},{"description":"Registry ID - Canada.","value":"ca_rid"},{"description":"Handelsregisternummer - Switzerland.","value":"ch_chid"},{"description":"Business Identification Number (UID) - Switzerland.","value":"ch_uid"},{"description":"Cédula de Persona Jurídica (CPJ) - Costa Rica.","value":"cr_cpj"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Αριθμός Εγγραφής Εταιρείας - Cyprus.","value":"cy_he"},{"description":"Tax Identification Code - Cyprus.","value":"cy_tic"},{"description":"VAT Number (ΦΠΑ) - Cyprus.","value":"cy_vat"},{"description":"Identifikační číslo osoby - Czech Republic.","value":"cz_ico"},{"description":"VAT Number (DIČ) - Czech Republic.","value":"cz_vat"},{"description":"Handelsregisternummer - Germany.","value":"de_hrn"},{"description":"Steuernummer (StNr.) - Germany.","value":"de_stn"},{"description":"VAT Number (USt-IdNr.) - Germany.","value":"de_vat"},{"description":"Centrale Virksomhedsregister - Denmark.","value":"dk_cvr"},{"description":"VAT Number (CVR) - Denmark.","value":"dk_vat"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Registrikood - Estonia.","value":"ee_rk"},{"description":"VAT Number (KMKR) - Estonia.","value":"ee_vat"},{"description":"Número de Identificación Fiscal - Spain.","value":"es_cif"},{"description":"VAT Number (NIF-IVA) - Spain.","value":"es_vat"},{"description":"VAT Number (ALV nro Momsnummer) - Finland.","value":"fi_vat"},{"description":"Y-tunnus - Finland.","value":"fi_yt"},{"description":"Numéro RNA - France.","value":"fr_rna"},{"description":"SIREN - France.","value":"fr_siren"},{"description":"VAT Number (n° TVA) - France.","value":"fr_vat"},{"description":"Companies House Registration Number - United Kingdom.","value":"gb_crn"},{"description":"VAT registration number - United Kingdom.","value":"gb_vat"},{"description":"Company Registration Number (CRN) - Gibraltar.","value":"gi_crn"},{"description":"Αριθμός Φορολογικού Μητρώου (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"General Commercial Register (G.E.M.I.) - Greece.","value":"gr_gemi"},{"description":"VAT Number (ΦΠΑ) - Greece.","value":"gr_vat"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Business Registration Number - Hong Kong.","value":"hk_br"},{"description":"Company Registration Number - Hong Kong.","value":"hk_cr"},{"description":"MBS (matični broj poslovnog subjekta) - Croatia.","value":"hr_mbs"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"VAT ID (PDV identifikacijski broj) - Croatia.","value":"hr_vat"},{"description":"Company registration number (Cégjegyzékszám) - Hungary.","value":"hu_cjs"},{"description":"Adószám - Hungary.","value":"hu_tin"},{"description":"VAT Number (ANUM) - Hungary.","value":"hu_vat"},{"description":"Company Registration Number (CRN) - Ireland.","value":"ie_crn"},{"description":"Tax registration number (TRN) - Ireland.","value":"ie_trn"},{"description":"VAT Number - Ireland.","value":"ie_vat"},{"description":"Numero Repertorio Economico e Amministrativo (REA) - Italy.","value":"it_rea"},{"description":"Partita IVA - Italy.","value":"it_vat"},{"description":"Corporate number (Corporate \\\"My Number\\\") - Japan.","value":"jp_cn"},{"description":"Business Identification Number (BIN) - Kazakhstan.","value":"kz_bin"},{"description":"Handelsregisternummer - Liechtenstein.","value":"li_uid"},{"description":"Central Commercial Registry Number / Certificate Number - Lithuania.","value":"lt_ccrn"},{"description":"VAT Number (PVM kodas) - Lithuania.","value":"lt_vat"},{"description":"Numéro d’identification fiscale (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Registre de commerce et des sociétés (RCS) number - Luxembourg.","value":"lu_rcs"},{"description":"VAT Number (No. TVA) - Luxembourg.","value":"lu_vat"},{"description":"Uzņēmumu reģistrs number - Latvia.","value":"lv_urn"},{"description":"VAT Number (PVN) - Latvia.","value":"lv_vat"},{"description":"Company Registration Number - Malta.","value":"mt_crn"},{"description":"Tax identification number - Malta.","value":"mt_tin"},{"description":"VAT Registration Number - Malta.","value":"mt_vat"},{"description":"Registro Federal de Contribuyentes (RFC) - Mexico.","value":"mx_rfc"},{"description":"Malaysia Business Registration Number (BRN) - Malaysia.","value":"my_brn"},{"description":"Corporate Identity Number (MyCoID) - Malaysia.","value":"my_coid"},{"description":"Tax Identification Number (TIN) - Malaysia.","value":"my_itn"},{"description":"Malaysia Sales and Service Tax Number (SST) - Malaysia.","value":"my_sst"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"Chamber of Commerce (KVK) Number - Netherlands.","value":"nl_kvk"},{"description":"Tax Identification Number (RSIN) - Netherlands.","value":"nl_rsin"},{"description":"VAT Number (Btw-nr.) - Netherlands.","value":"nl_vat"},{"description":"Organisasjonsnummer - Norway.","value":"no_orgnr"},{"description":"New Zealand Business Number (NZBN) - New Zealand.","value":"nz_bn"},{"description":"Inland Revenue Department (IRD) Number - New Zealand.","value":"nz_ird"},{"description":"Registro Único de Contribuyentes (RUC) - Peru.","value":"pe_ruc"},{"description":"National Tax Number (NTN) - Pakistan.","value":"pk_ntn"},{"description":"Numer Identyfikacji Podatkowej (NIP) - Poland.","value":"pl_nip"},{"description":"REGON number - Poland.","value":"pl_regon"},{"description":"VAT Number (NIP) - Poland.","value":"pl_vat"},{"description":"VAT number (Número de Identificação Fiscal (NIF)) - Portugal.","value":"pt_vat"},{"description":"Codul de identificare fiscală (CIF/CUI) - Romania.","value":"ro_cui"},{"description":"Număr de ordine în registrul comerțului (Nr. ORC) - Romania.","value":"ro_orc"},{"description":"VAT Number (CIF) - Romania.","value":"ro_vat"},{"description":"Commercial Registration Number - Saudi Arabia.","value":"sa_crn"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Organisationsnummer - Sweden.","value":"se_orgnr"},{"description":"VAT Number (Momsnr.) - Sweden.","value":"se_vat"},{"description":"Unique Entity Number (UEN) - Singapore.","value":"sg_uen"},{"description":"Company Identification Number (Matična številka podjetja) - Slovenia.","value":"si_msp"},{"description":"Davčna številka - Slovenia.","value":"si_tin"},{"description":"VAT Number (ID za DDV) - Slovenia.","value":"si_vat"},{"description":"Daňové identifikačné číslo (DIČ) - Slovakia.","value":"sk_dic"},{"description":"Organization identification number (ICO) - Slovakia.","value":"sk_ico"},{"description":"VAT Number (IČ DPH) - Slovakia.","value":"sk_vat"},{"description":"Company registration number (CRN) - Thailand.","value":"th_crn"},{"description":"Partnership registration number (PRN) - Thailand.","value":"th_prn"},{"description":"Taxpayer Identification Number (TIN) (หมายเลขประจำตัวผู้เสียภาษี) - Thailand.","value":"th_tin"},{"description":"Employer Identification Number (EIN) - United States.","value":"us_ein"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"monthly_estimated_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"A non-negative integer representing the amount in the smallest currency unit."}},"description":"An estimate of the monthly revenue of the business."},"phone":{"type":"string","description":"The phone number of the Business Entity."},"registered_name":{"type":"string","description":"The business legal name."},"registration_date":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31."},"month":{"type":"integer","description":"The month of registration, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of registration."}},"description":"When the business was incorporated or registered."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The business registration address of the business entity in non latin script."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kana name."},"kanji":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kanji name."}},"description":"The business legal name in non latin script."},"structure":{"type":"string","description":"The category identifying the legal structure of the business.","enum":["cooperative","free_zone_establishment","free_zone_llc","governmental_unit","government_instrumentality","incorporated_association","incorporated_non_profit","incorporated_partnership","limited_liability_partnership","llc","multi_member_llc","private_company","private_corporation","private_partnership","public_company","public_corporation","public_listed_corporation","public_partnership","registered_charity","single_member_llc","sole_establishment","sole_proprietorship","tax_exempt_government_instrumentality","trust","unincorporated_association","unincorporated_non_profit","unincorporated_partnership"],"x-stripeEnum":[{"description":"A cooperative organization.","value":"cooperative"},{"description":"A free zone establishment.","value":"free_zone_establishment"},{"description":"A free zone LLC.","value":"free_zone_llc"},{"description":"A branch of the state, local, or federal government of the US.","value":"governmental_unit"},{"description":"An organization formed by statute or by a government body in the US to perform a function, but not part of the government itself.","value":"government_instrumentality"},{"description":"An incorporated association.","value":"incorporated_association"},{"description":"An organization incorporated under US state law with tax-exempt status as a nonprofit (for example, 501(c)(3)).","value":"incorporated_non_profit"},{"description":"Also called ‘Limited Partnerships’ or ‘Registered Ordinary Partnerships’, these are businesses registered in Thailand owned by two or more people. The business’ legal entity and its legal personality is separated and distinct from the individual partners.","value":"incorporated_partnership"},{"description":"A limited liability partnership.","value":"limited_liability_partnership"},{"description":"An LLC.","value":"llc"},{"description":"A business with multiple owners or members that’s registered in a US state as a Limited Liability Company (LLC).","value":"multi_member_llc"},{"description":"A private company.","value":"private_company"},{"description":"A business incorporated in a US state that’s privately owned. It doesn’t have shares that are traded on a public stock exchange. It’s also called a closely-held corporation. If you’re a single-member LLC that has elected to be treated as a corporation for tax purposes, use this classification.","value":"private_corporation"},{"description":"A business jointly owned by two or more people that’s created through a partnership agreement.","value":"private_partnership"},{"description":"A public company.","value":"public_company"},{"description":"A business incorporated under the laws of a US state. Ownership shares of this corporation are traded on a public stock exchange.","value":"public_corporation"},{"description":"A public corporation that is specifically listed.","value":"public_listed_corporation"},{"description":"A business formed by a partnership agreement with one or more people, but has shares that are publicly traded on a stock exchange.","value":"public_partnership"},{"description":"A charitable organization, public foundation, or private foundation registered with the Canada Revenue Agency.","value":"registered_charity"},{"description":"A business entity registered with a US state as a limited liability company (LLC) and that has only one member or owner.","value":"single_member_llc"},{"description":"A sole establishment.","value":"sole_establishment"},{"description":"A business that isn’t a separate legal entity from its individual owner.","value":"sole_proprietorship"},{"description":"A tax exempt government instrumentality.","value":"tax_exempt_government_instrumentality"},{"description":"A trust.","value":"trust"},{"description":"A business venture of two or more people that doesn't have a formal corporate or entity structure.","value":"unincorporated_association"},{"description":"An unincorporated nonprofit.","value":"unincorporated_non_profit"},{"description":"An unincorporated partnership.","value":"unincorporated_partnership"}]}},"description":"Information about the company or business."},"country":{"type":"string","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](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code."},"entity_type":{"type":"string","description":"The entity type.","enum":["company","government_entity","individual","non_profit"],"x-stripeEnum":[{"description":"A registered business.","value":"company"},{"description":"A government entity.","value":"government_entity"},{"description":"An individual that is not registered as a business.","value":"individual"},{"description":"A nonprofit organization.","value":"non_profit"}]},"individual":{"type":"object","properties":{"additional_addresses":{"type":"array","description":"Additional addresses associated with the individual.","items":{"required":["purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the individual.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The person's full name."},"given_name":{"type":"string","description":"The person's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The person's last or family name."}}}},"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The individual's residential address."},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of the birth."},"month":{"type":"integer","description":"The month of birth."},"year":{"type":"integer","description":"The year of birth."}},"description":"The individual's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens referring to each side of the document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"The individual's email address."},"given_name":{"type":"string","description":"The individual's first name."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the individual.","items":{"required":["type","value"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]},"value":{"type":"string","description":"The value of the ID number."}}}},"legal_gender":{"type":"string","description":"The individual's gender (International regulations require either \"male\" or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"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."},"nationalities":{"type":"array","description":"The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","items":{"type":"string"}},"phone":{"type":"string","description":"The individual's phone number."},"political_exposure":{"type":"string","description":"The individual's political exposure.","enum":["existing","none"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"director":{"type":"boolean","description":"Whether the person is a director of the account's identity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations."},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization."},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s identity."},"percent_ownership":{"type":"string","description":"The percent owned by the person of the account's legal entity.","format":"decimal"},"title":{"type":"string","description":"The person's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this individual has with the account's identity."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the individual."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The individuals primary name in non latin script."},"surname":{"type":"string","description":"The individual's last name."}},"description":"Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`."}},"description":"Information about the company, individual, and business represented by the Account."},"include":{"type":"array","description":"Additional fields to include in the response.","items":{"type":"string","enum":["configuration.customer","configuration.merchant","configuration.recipient","defaults","future_requirements","identity","requirements"],"x-stripeEnum":[{"description":"Include parameter to expose `configuration.customer` on an Account.","value":"configuration.customer"},{"description":"Include parameter to expose `configuration.merchant` on an Account.","value":"configuration.merchant"},{"description":"Include parameter to expose `configuration.recipient` on an Account.","value":"configuration.recipient"},{"description":"Include parameter to expose `defaults` on an Account.","value":"defaults"},{"description":"Include parameter to expose `future_requirements` on an Account.","value":"future_requirements"},{"description":"Include parameter to expose `identity` on an Account.","value":"identity"},{"description":"Include parameter to expose `requirements` on an Account.","value":"requirements"}]}},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"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."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_capability_not_supported"},{"$ref":"#/components/schemas/v2.error.account_configuration_not_supported"},{"$ref":"#/components/schemas/v2.error.account_controller_express_dash_without_application_losses_or_fees"},{"$ref":"#/components/schemas/v2.error.account_controller_stripe_pricing_platform_liable"},{"$ref":"#/components/schemas/v2.error.account_controller_unsupported_configuration"},{"$ref":"#/components/schemas/v2.error.account_controller_unsupported_configuration_private_preview"},{"$ref":"#/components/schemas/v2.error.account_country_unsupported_currency"},{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.account_terms_of_service_not_accepted"},{"$ref":"#/components/schemas/v2.error.account_token_required"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.address_characters_invalid"},{"$ref":"#/components/schemas/v2.error.address_country_identity_country_mismatch"},{"$ref":"#/components/schemas/v2.error.address_postal_code_invalid"},{"$ref":"#/components/schemas/v2.error.address_state_invalid"},{"$ref":"#/components/schemas/v2.error.address_town_invalid"},{"$ref":"#/components/schemas/v2.error.attach_payment_method_to_customer"},{"$ref":"#/components/schemas/v2.error.bgn_bank_accounts_unsupported"},{"$ref":"#/components/schemas/v2.error.can_create_platform_owned_onboarding_accounts_required"},{"$ref":"#/components/schemas/v2.error.cannot_use_validate_location_on_customer_create"},{"$ref":"#/components/schemas/v2.error.capability_cannot_be_unrequested_due_to_other_capability_requirement"},{"$ref":"#/components/schemas/v2.error.capability_not_available_for_dashboard_type"},{"$ref":"#/components/schemas/v2.error.capability_not_available_for_entity_type_in_country"},{"$ref":"#/components/schemas/v2.error.capability_not_available_for_loss_collector"},{"$ref":"#/components/schemas/v2.error.capability_not_available_in_country"},{"$ref":"#/components/schemas/v2.error.capability_not_available_in_platform_country"},{"$ref":"#/components/schemas/v2.error.capability_not_available_without_other_capability"},{"$ref":"#/components/schemas/v2.error.capability_not_available_without_other_capability_in_country"},{"$ref":"#/components/schemas/v2.error.configuration_cannot_be_deactivated"},{"$ref":"#/components/schemas/v2.error.configuration_cannot_be_deactivated_due_to_other_capability_requirement"},{"$ref":"#/components/schemas/v2.error.configuration_cannot_be_deactivated_due_to_other_configuration"},{"$ref":"#/components/schemas/v2.error.configuration_cannot_be_updated_while_deactivated"},{"$ref":"#/components/schemas/v2.error.configuration_creation_invalid"},{"$ref":"#/components/schemas/v2.error.cross_border_connected_account_creation_not_allowed"},{"$ref":"#/components/schemas/v2.error.custom_account_beta"},{"$ref":"#/components/schemas/v2.error.customer_invalid_tax_location"},{"$ref":"#/components/schemas/v2.error.date_of_birth_age_restriction"},{"$ref":"#/components/schemas/v2.error.date_of_birth_invalid"},{"$ref":"#/components/schemas/v2.error.default_currency_immutable"},{"$ref":"#/components/schemas/v2.error.default_outbound_destination_invalid"},{"$ref":"#/components/schemas/v2.error.default_payment_method_invalid"},{"$ref":"#/components/schemas/v2.error.document_invalid"},{"$ref":"#/components/schemas/v2.error.document_purpose_invalid"},{"$ref":"#/components/schemas/v2.error.duplicate_person_not_allowed"},{"$ref":"#/components/schemas/v2.error.email_domain_invalid_for_recipient"},{"$ref":"#/components/schemas/v2.error.email_invalid"},{"$ref":"#/components/schemas/v2.error.entity_type_not_supported_in_country"},{"$ref":"#/components/schemas/v2.error.high_risk_activities_none_cant_be_combined_with_other_options"},{"$ref":"#/components/schemas/v2.error.id_number_invalid"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.identity_country_required"},{"$ref":"#/components/schemas/v2.error.immutable_identity_param"},{"$ref":"#/components/schemas/v2.error.incorrect_id_number_for_country"},{"$ref":"#/components/schemas/v2.error.incorrect_token_wrong_type"},{"$ref":"#/components/schemas/v2.error.invalid_account_token"},{"$ref":"#/components/schemas/v2.error.invalid_id_number_for_structure"},{"$ref":"#/components/schemas/v2.error.invalid_id_number_registrar"},{"$ref":"#/components/schemas/v2.error.invalid_konbini_payments_support_hours"},{"$ref":"#/components/schemas/v2.error.invalid_konbini_payments_support_phone_number"},{"$ref":"#/components/schemas/v2.error.invalid_timezone"},{"$ref":"#/components/schemas/v2.error.ip_address_invalid"},{"$ref":"#/components/schemas/v2.error.mcc_invalid"},{"$ref":"#/components/schemas/v2.error.non_jp_kana_kanji_address"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.param_alongside_account_token"},{"$ref":"#/components/schemas/v2.error.person_percent_ownership_invalid"},{"$ref":"#/components/schemas/v2.error.phone_invalid"},{"$ref":"#/components/schemas/v2.error.postal_code_required_for_jp_address"},{"$ref":"#/components/schemas/v2.error.purpose_of_funds_description_must_be_empty_for_non_other_purpose_of_funds"},{"$ref":"#/components/schemas/v2.error.registration_date_invalid"},{"$ref":"#/components/schemas/v2.error.script_characters_invalid"},{"$ref":"#/components/schemas/v2.error.shipping_address_required"},{"$ref":"#/components/schemas/v2.error.shipping_name_required"},{"$ref":"#/components/schemas/v2.error.statement_descriptor_invalid"},{"$ref":"#/components/schemas/v2.error.structure_incompatible_for_entity_type_country"},{"$ref":"#/components/schemas/v2.error.test_clock_disallowed_on_live_mode"},{"$ref":"#/components/schemas/v2.error.test_clock_invalid"},{"$ref":"#/components/schemas/v2.error.token_already_used"},{"$ref":"#/components/schemas/v2.error.token_expired"},{"$ref":"#/components/schemas/v2.error.tos_acceptance_on_behalf_not_allowed"},{"$ref":"#/components/schemas/v2.error.total_person_ownership_exceeded"},{"$ref":"#/components/schemas/v2.error.unsupported_field_for_configs"},{"$ref":"#/components/schemas/v2.error.unsupported_identity_field_for_configs"},{"$ref":"#/components/schemas/v2.error.unsupported_postal_code"},{"$ref":"#/components/schemas/v2.error.unsupported_state"},{"$ref":"#/components/schemas/v2.error.url_invalid"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_token_invalid_in_v2"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"acct_1Nv0FGQ9RKHgCVdK"},"requestBody":{"defaults":{"profile":{"business_url":"http://accessible.stripe.com","doing_business_as":"FurEver","product_description":"Saas pet grooming platform at furever.dev using Connect embedded components"}},"identity":{"business_details":{"structure":"sole_proprietorship","id_numbers":[{"type":"us_ein","value":"000000000"}]}},"include":["defaults","identity"]}},"response":{"id":"acct_1Nv0FGQ9RKHgCVdK","object":"v2.core.account","applied_configurations":["customer","merchant"],"contact_email":"furever@example.com","created":"2024-11-26T16:33:03.000Z","dashboard":"full","identity":{"business_details":{"id_numbers":[{"type":"us_ein"}],"registered_name":"Furever","structure":"sole_proprietorship"},"country":"us","entity_type":"company"},"defaults":{"currency":"usd","locales":[],"profile":{"business_url":"http://accessible.stripe.com","doing_business_as":"FurEver","product_description":"Saas pet grooming platform at furever.dev using Connect embedded components"},"responsibilities":{"fees_collector":"stripe","losses_collector":"stripe","requirements_collector":"stripe"}},"display_name":"Furever","livemode":true,"metadata":{}}}],"x-stripeErrors":[{"code":"account_capability_not_supported","description":"Requested capability is not available.","httpStatusCode":400},{"code":"account_configuration_not_supported","description":"The requested configuration is not available for the account.","httpStatusCode":400},{"code":"account_controller_express_dash_without_application_losses_or_fees","description":"If `dashboard` is `express`, `fees_collector` must be `application` and `losses_collector` must be `application`.","httpStatusCode":400},{"code":"account_controller_stripe_pricing_platform_liable","description":"If `losses_collector` is `application`, `fees_collector` must also be `application`.","httpStatusCode":400},{"code":"account_controller_unsupported_configuration","description":"Connect integration combination is not supported when UA beta is disabled.","httpStatusCode":400},{"code":"account_controller_unsupported_configuration_private_preview","description":"Responsibility combinations is not supported in private preview.","httpStatusCode":400},{"code":"account_country_unsupported_currency","description":"Currency is not allowed for the account's country.","httpStatusCode":400},{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"account_terms_of_service_not_accepted","description":"Terms of service must be accepted before adding merchant configuration.","httpStatusCode":400},{"code":"account_token_required","description":"Account token required for platforms in mandated countries (e.g., France).","httpStatusCode":400},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"address_characters_invalid","description":"Invalid characters are provided for address fields.","httpStatusCode":400},{"code":"address_country_identity_country_mismatch","description":"Address country doesn't match identity country.","httpStatusCode":400},{"code":"address_postal_code_invalid","description":"Address postal code is invalid.","httpStatusCode":400},{"code":"address_state_invalid","description":"Address state is invalid.","httpStatusCode":400},{"code":"address_town_invalid","description":"Address town is invalid.","httpStatusCode":400},{"code":"attach_payment_method_to_customer","description":"Default payment method is added to the customer config before attaching it to the account using `/v1/payment_methods`.","httpStatusCode":400},{"code":"bgn_bank_accounts_unsupported","description":"Creating accounts with the BGN currency is no longer supported, as Bulgaria is now using the Euro as of 2026-01-01.","httpStatusCode":400},{"code":"can_create_platform_owned_onboarding_accounts_required","description":"Dormant accounts cannot create accounts where requirements collector is application (this is an account takeover prevention measure).","httpStatusCode":400},{"code":"cannot_use_validate_location_on_customer_create","description":"Cannot set `automatic_indirect_tax.validate_location` when initially creating a customer configuration.","httpStatusCode":400},{"code":"capability_cannot_be_unrequested_due_to_other_capability_requirement","description":"Feature cannot be unrequested due to being a requirement for another feature.","httpStatusCode":400},{"code":"capability_not_available_for_dashboard_type","description":"Feature cannot be requested for the dashboard type.","httpStatusCode":400},{"code":"capability_not_available_for_entity_type_in_country","description":"Requested feature is not available for the entity type in your country.","httpStatusCode":400},{"code":"capability_not_available_for_loss_collector","description":"A v2 Account cannot have both the specified capability and Stripe-owned loss liability.","httpStatusCode":400},{"code":"capability_not_available_in_country","description":"Requested capability is not available in your country.","httpStatusCode":400},{"code":"capability_not_available_in_platform_country","description":"Feature cannot be requested given the platform's country.","httpStatusCode":400},{"code":"capability_not_available_without_other_capability","description":"Requested feature is not available without also requesting a different feature.","httpStatusCode":400},{"code":"capability_not_available_without_other_capability_in_country","description":"Requested feature is not available without also requesting a different feature in your country.","httpStatusCode":400},{"code":"configuration_cannot_be_deactivated","description":"Configuration cannot be deactivated.","httpStatusCode":400},{"code":"configuration_cannot_be_deactivated_due_to_other_capability_requirement","description":"Configuration cannot be deactivated due to a dependency with another capability.","httpStatusCode":400},{"code":"configuration_cannot_be_deactivated_due_to_other_configuration","description":"Cannot deactivate a configuration due to another configuration depending on it.","httpStatusCode":400},{"code":"configuration_cannot_be_updated_while_deactivated","description":"Configuration cannot be updated while deactivated.","httpStatusCode":400},{"code":"configuration_creation_invalid","description":"Cannot create an account with an invalid configuration.","httpStatusCode":400},{"code":"cross_border_connected_account_creation_not_allowed","description":"Cross-border connected account creation is not allowed for this platform/account country combination.","httpStatusCode":400},{"code":"custom_account_beta","description":"Custom accounts cannot be created in certain countries.","httpStatusCode":400},{"code":"customer_invalid_tax_location","description":"Invalid customer tax location.","httpStatusCode":400},{"code":"date_of_birth_age_restriction","description":"Representative date of birth does not meet the age limit.","httpStatusCode":400},{"code":"date_of_birth_invalid","description":"Representative date of birth is provided an invalid date or a future date.","httpStatusCode":400},{"code":"default_currency_immutable","description":"Cannot change `defaults.currency` post account activation.","httpStatusCode":400},{"code":"default_outbound_destination_invalid","description":"Outbound Destination ID is invalid.","httpStatusCode":400},{"code":"default_payment_method_invalid","description":"Default payment method provided for a customer does not exist or is otherwise invalid.","httpStatusCode":400},{"code":"document_invalid","description":"Provided file tokens for documents are invalid, not found, deleted, or belong to a different account.","httpStatusCode":400},{"code":"document_purpose_invalid","description":"Provided file tokens for documents are of the wrong purpose.","httpStatusCode":400},{"code":"duplicate_person_not_allowed","description":"Duplicate person is added to an account.","httpStatusCode":400},{"code":"email_domain_invalid_for_recipient","description":"Email contains unsupported domain.","httpStatusCode":400},{"code":"email_invalid","description":"Incorrect email is provided.","httpStatusCode":400},{"code":"entity_type_not_supported_in_country","description":"The `identity.entity_type` value is not supported in a given `identity.country`.","httpStatusCode":400},{"code":"high_risk_activities_none_cant_be_combined_with_other_options","description":"NONE is combined with another value in the HighRiskActivities list.","httpStatusCode":400},{"code":"id_number_invalid","description":"Provided ID number is of the wrong format for the given type.","httpStatusCode":400},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"identity_country_required","description":"The `identity.country` value is required but not provided.","httpStatusCode":400},{"code":"immutable_identity_param","description":"Identity param has been made immutable due to the state of the account.","httpStatusCode":400},{"code":"incorrect_id_number_for_country","description":"Incorrect ID number is provided for a country.","httpStatusCode":400},{"code":"incorrect_token_wrong_type","description":"The incorrect token type is provided .","httpStatusCode":400},{"code":"invalid_account_token","description":"Invalid account token.","httpStatusCode":403},{"code":"invalid_id_number_for_structure","description":"ID number is provided that is not permitted for the Identity's entity type and business structure.","httpStatusCode":400},{"code":"invalid_id_number_registrar","description":"The `identity.business_details.id_numbers.registrar` value is an invalid DE registrar.","httpStatusCode":400},{"code":"invalid_konbini_payments_support_hours","description":"Konbini Payments Support Hours is Invalid.","httpStatusCode":400},{"code":"invalid_konbini_payments_support_phone_number","description":"Konbini Payments Support Phone Number is Invalid.","httpStatusCode":400},{"code":"invalid_timezone","description":"Timezone provided in account defaults is invalid.","httpStatusCode":400},{"code":"ip_address_invalid","description":"Invalid IP address is provided.","httpStatusCode":400},{"code":"mcc_invalid","description":"MCC is invalid for `configuration.merchant.mcc`.","httpStatusCode":400},{"code":"non_jp_kana_kanji_address","description":"Kana Kanji script addresses must have JP country.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"param_alongside_account_token","description":"Parameter cannot be passed alongside account_token.","httpStatusCode":400},{"code":"person_percent_ownership_invalid","description":"Error returned when relationship.owner is set to true but the ownership percentage is set to 0%.","httpStatusCode":400},{"code":"phone_invalid","description":"Phone number is invalid.","httpStatusCode":400},{"code":"postal_code_required_for_jp_address","description":"Postal code is required for Japanese addresses.","httpStatusCode":400},{"code":"purpose_of_funds_description_must_be_empty_for_non_other_purpose_of_funds","description":"PurposeOfFundsDescription is not empty while PurposeOfFunds is not OTHER.","httpStatusCode":400},{"code":"registration_date_invalid","description":"Registration date must be in the past.","httpStatusCode":400},{"code":"script_characters_invalid","description":"Provided script characters are invalid for the script.","httpStatusCode":400},{"code":"shipping_address_required","description":"Shipping address is required within the shipping hash.","httpStatusCode":400},{"code":"shipping_name_required","description":"Shipping name is required within the shipping hash.","httpStatusCode":400},{"code":"statement_descriptor_invalid","description":"Statement descriptor is invalid.","httpStatusCode":400},{"code":"structure_incompatible_for_entity_type_country","description":"The `business_details.structure` value is not valid for `identity.country` and `identity.entity_type`.","httpStatusCode":400},{"code":"test_clock_disallowed_on_live_mode","description":"Cannot set a test clock on a livemode customer.","httpStatusCode":400},{"code":"test_clock_invalid","description":"Test clock does not exist or is otherwise invalid.","httpStatusCode":400},{"code":"token_already_used","description":"The token is re-used with a different idempotency key.","httpStatusCode":400},{"code":"token_expired","description":"Token has expired.","httpStatusCode":400},{"code":"tos_acceptance_on_behalf_not_allowed","description":"TOS cannot be accepted on behalf of accounts when requirement collection is `stripe`.","httpStatusCode":400},{"code":"total_person_ownership_exceeded","description":"Total ownership percentages of all Persons on the account exceeds 100%.","httpStatusCode":400},{"code":"unsupported_field_for_configs","description":"Cannot set responsibilities on the current configurations.","httpStatusCode":400},{"code":"unsupported_identity_field_for_configs","description":"Cannot set identity fields when the Account is only configured as a customer.","httpStatusCode":400},{"code":"unsupported_postal_code","description":"Address is in an unsupported postal code.","httpStatusCode":400},{"code":"unsupported_state","description":"Address is in an unsupported state.","httpStatusCode":400},{"code":"url_invalid","description":"URL is invalid.","httpStatusCode":400},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_token_invalid_in_v2","description":"A v1 token ID is passed in v2 APIs.","httpStatusCode":400}]}},"/v2/core/accounts/{id}/close":{"post":{"summary":"Close an account","description":"Removes access to the Account and its associated resources. Closed Accounts can no longer be operated on, but limited information can still be retrieved through the API in order to be able to track their history.","operationId":"PostV2CoreAccountsIdClose","parameters":[{"name":"id","in":"path","description":"The ID of the Account to close.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"applied_configurations":{"type":"array","description":"Configurations on the Account to be closed. All configurations on the Account must be passed in for this request to succeed.","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"The Account can be used as a customer.","value":"customer"},{"description":"The Account can be used as a merchant.","value":"merchant"},{"description":"The Account can be used as a recipient.","value":"recipient"}]}}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.account"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.account_not_yet_compatible_with_v2"},{"$ref":"#/components/schemas/v2.error.account_rate_limit_exceeded"},{"$ref":"#/components/schemas/v2.error.accounts_v2_access_blocked"},{"$ref":"#/components/schemas/v2.error.cannot_delete_account_with_balance"},{"$ref":"#/components/schemas/v2.error.cannot_delete_customer_with_available_cash_balance"},{"$ref":"#/components/schemas/v2.error.configs_must_match_to_close"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error.pending_transactions_cannot_be_deleted"},{"$ref":"#/components/schemas/v2.error.platform_registration_required"},{"$ref":"#/components/schemas/v2.error.stripe_loss_liable_cannot_be_deleted"},{"$ref":"#/components/schemas/v2.error.v1_account_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error.v1_customer_instead_of_v2_account"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_close_account","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"acct_1Nv0FGQ9RKHgCVdK"},"requestBody":{"applied_configurations":["merchant"]}},"response":{"id":"acct_1Nv0FGQ9RKHgCVdK","object":"v2.core.account","applied_configurations":["merchant"],"contact_email":"jenny.rosen@example.com","created":"2024-11-26T16:33:03.000Z","dashboard":"none","display_name":"Jenny Rosen","livemode":true,"metadata":{}}}],"x-stripeErrors":[{"code":"account_not_yet_compatible_with_v2","description":"Account is not yet compatible with V2 APIs.","httpStatusCode":400},{"code":"account_rate_limit_exceeded","description":"Account cannot exceed a configured concurrency rate limit on updates.","httpStatusCode":429,"type":"rate_limit"},{"code":"accounts_v2_access_blocked","description":"Accounts v2 is not enabled for your platform.","httpStatusCode":400},{"code":"cannot_delete_account_with_balance","description":"Account with Merchant or Recipient configuration with transfers feature cannot be closed because the account has a cash balance.","httpStatusCode":400},{"code":"cannot_delete_customer_with_available_cash_balance","description":"Account with Customer configuration cannot be closed because the customer has a cash balance.","httpStatusCode":400},{"code":"configs_must_match_to_close","description":"Account cannot be closed without specifying the right configurations.","httpStatusCode":400},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404},{"code":"pending_transactions_cannot_be_deleted","description":"Account cannot be closed due to other pending resources.","httpStatusCode":400},{"code":"platform_registration_required","description":"Platform has not signed up for Connect and cannot create connected accounts.","httpStatusCode":400},{"code":"stripe_loss_liable_cannot_be_deleted","description":"Account with Stripe-owned loss liability and dashboard cannot be deleted.","httpStatusCode":400},{"code":"v1_account_instead_of_v2_account","description":"V1 Account ID cannot be used in V2 Account APIs.","httpStatusCode":400},{"code":"v1_customer_instead_of_v2_account","description":"V1 Customer ID cannot be used in V2 Account APIs.","httpStatusCode":400}]}},"/v2/core/event_destinations":{"get":{"summary":"List Event Destinations","description":"Lists all event destinations.","operationId":"GetV2CoreEventDestinations","parameters":[{"name":"include","in":"query","description":"Additional fields to include in the response. Currently supports `webhook_endpoint.url`.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["webhook_endpoint.url"],"x-stripeEnum":[{"description":"Include parameter to expose `webhook_endpoint.url`.","value":"webhook_endpoint.url"}]}}},{"name":"limit","in":"query","description":"The page size.","required":false,"style":"form","schema":{"type":"integer"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"List of event destinations.","items":{"$ref":"#/components/schemas/v2.core.event_destination"}},"next_page_url":{"type":"string","description":"URL to fetch the next page of the list. If there are no more pages, the value is null.","nullable":true},"previous_page_url":{"type":"string","description":"URL to fetch the previous page of the list. If there are no previous pages, the value is null.","nullable":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_event_destinations","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"include":["webhook_endpoint.url"]}},"response":{"data":[{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","created":"2024-10-22T16:20:09.931Z","description":"This is my event destination, I like it a lot","enabled_events":["v1.billing.meter.error_report_triggered"],"event_payload":"thin","events_from":["self"],"livemode":false,"metadata":{},"name":"My Event Destination","snapshot_api_version":null,"status":"disabled","status_details":{"disabled":{"reason":"user"}},"type":"webhook_endpoint","updated":"2024-10-22T16:22:02.524Z","webhook_endpoint":{"signing_secret":null,"url":null}}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[]},"post":{"summary":"Create an Event Destination","description":"Create a new event destination.","operationId":"PostV2CoreEventDestinations","requestBody":{"content":{"application/json":{"schema":{"required":["enabled_events","event_payload","name","type"],"type":"object","properties":{"amazon_eventbridge":{"required":["aws_account_id","aws_region"],"type":"object","properties":{"aws_account_id":{"type":"string","description":"The AWS account ID."},"aws_region":{"type":"string","description":"The region of the AWS event source."}},"description":"Amazon EventBridge configuration."},"description":{"type":"string","description":"An optional description of what the event destination is used for."},"enabled_events":{"type":"array","description":"The list of events to enable for this endpoint.","items":{"type":"string"}},"event_payload":{"type":"string","description":"Payload type of events being subscribed to.","enum":["snapshot","thin"],"x-stripeEnum":[{"description":"Events from v1 APIs.","value":"snapshot"},{"description":"Events from v2 APIs.","value":"thin"}]},"events_from":{"type":"array","description":"Specifies which accounts' events route to this destination.\n`@self`: Receive events from the account that owns the event destination.\n`@accounts`: Receive events emitted from other accounts you manage which includes your v1 and v2 accounts.\n`@organization_members`: Receive events from accounts directly linked to the organization.\n`@organization_members/@accounts`: Receive events from all accounts connected to any platform accounts in the organization.","items":{"type":"string"}},"include":{"type":"array","description":"Additional fields to include in the response.","items":{"type":"string","enum":["webhook_endpoint.signing_secret","webhook_endpoint.url"],"x-stripeEnum":[{"description":"Include parameter to expose `webhook_endpoint.signing_secret`.","value":"webhook_endpoint.signing_secret"},{"description":"Include parameter to expose `webhook_endpoint.url`.","value":"webhook_endpoint.url"}]}},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Metadata."},"name":{"type":"string","description":"Event destination name."},"snapshot_api_version":{"type":"string","description":"If using the snapshot event payload, the API version events are rendered as."},"type":{"type":"string","description":"Event destination type.","enum":["amazon_eventbridge","webhook_endpoint"],"x-stripeEnum":[{"description":"Amazon EventBridge.","value":"amazon_eventbridge"},{"description":"Webhook endpoint.","value":"webhook_endpoint"}]},"webhook_endpoint":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"The URL of the webhook endpoint."}},"description":"Webhook endpoint configuration."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.expired_azure_partner_authorization"},{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.invalid_azure_partner_authorization"},{"$ref":"#/components/schemas/v2.error.invalid_azure_partner_configuration"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_create_event_destination","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"name":"My Event Destination","description":"This is my event destination, I like it a lot","enabled_events":["v1.billing.meter.error_report_triggered"],"type":"webhook_endpoint","webhook_endpoint":{"url":"https://example.com/my/webhook/endpoint"},"event_payload":"thin","include":["webhook_endpoint.url"]}},"response":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","created":"2024-10-22T16:20:09.931Z","description":"This is my event destination, I like it a lot","enabled_events":["v1.billing.meter.error_report_triggered"],"event_payload":"thin","events_from":["self"],"livemode":false,"metadata":{},"name":"My Event Destination","snapshot_api_version":null,"status":"enabled","status_details":null,"type":"webhook_endpoint","updated":"2024-10-22T16:20:09.937Z","webhook_endpoint":{"signing_secret":null,"url":"https://example.com/my/webhook/endpoint"}}}],"x-stripeErrors":[{"code":"expired_azure_partner_authorization","description":"Error returned when a user tries to create an event destination with an expired Azure partner authorization.","httpStatusCode":400},{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"invalid_azure_partner_authorization","description":"Error returned when a user tries to create an event destination without an Azure partner authorization.","httpStatusCode":400},{"code":"invalid_azure_partner_configuration","description":"Error returned when no valid partner configuration is found using the user provided Azure subscription ID and Azure resource group name.","httpStatusCode":400}]}},"/v2/core/event_destinations/{id}":{"get":{"summary":"Retrieve an Event Destination","description":"Retrieves the details of an event destination.","operationId":"GetV2CoreEventDestinationsId","parameters":[{"name":"id","in":"path","description":"Identifier for the event destination to retrieve.","required":true,"style":"simple","schema":{"type":"string"}},{"name":"include","in":"query","description":"Additional fields to include in the response.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string","enum":["webhook_endpoint.url"],"x-stripeEnum":[{"description":"Include parameter to expose `webhook_endpoint.url`.","value":"webhook_endpoint.url"}]}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_event_destination","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6"},"requestBody":{"include":["webhook_endpoint.url"]}},"response":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","created":"2024-10-22T16:20:09.931Z","description":"This is my event destination, I like it a lot","enabled_events":["v1.billing.meter.error_report_triggered"],"event_payload":"thin","events_from":["self"],"livemode":false,"metadata":{},"name":"My Event Destination","snapshot_api_version":null,"status":"disabled","status_details":{"disabled":{"reason":"user"}},"type":"webhook_endpoint","updated":"2024-10-22T16:22:02.524Z","webhook_endpoint":{"signing_secret":null,"url":null}}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]},"post":{"summary":"Update an Event Destination","description":"Update the details of an event destination.","operationId":"PostV2CoreEventDestinationsId","parameters":[{"name":"id","in":"path","description":"Identifier for the event destination to update.","required":true,"style":"simple","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"description":{"type":"string","description":"An optional description of what the event destination is used for."},"enabled_events":{"type":"array","description":"The list of events to enable for this endpoint.","items":{"type":"string"}},"include":{"type":"array","description":"Additional fields to include in the response. Currently supports `webhook_endpoint.url`.","items":{"type":"string","enum":["webhook_endpoint.url"],"x-stripeEnum":[{"description":"Include parameter to expose `webhook_endpoint.url`.","value":"webhook_endpoint.url"}]}},"metadata":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"Metadata."},"name":{"type":"string","description":"Event destination name."},"webhook_endpoint":{"required":["url"],"type":"object","properties":{"url":{"type":"string","description":"The URL of the webhook endpoint."}},"description":"Webhook endpoint configuration."}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_update_event_destination","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6"},"requestBody":{"description":"A better description","enabled_events":["v1.billing.meter.error_report_triggered","v1.billing.meter.no_meter_found"],"include":["webhook_endpoint.url"]}},"response":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","created":"2024-10-22T16:20:09.931Z","description":"A better description","enabled_events":["v1.billing.meter.error_report_triggered","v1.billing.meter.no_meter_found"],"event_payload":"thin","events_from":["self"],"livemode":false,"metadata":{},"name":"My Event Destination","snapshot_api_version":null,"status":"disabled","status_details":{"disabled":{"reason":"user"}},"type":"webhook_endpoint","updated":"2024-10-22T16:25:48.976Z","webhook_endpoint":{"signing_secret":null,"url":"https://example.com/my/webhook/endpoint"}}}],"x-stripeErrors":[{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]},"delete":{"summary":"Delete an Event Destination","description":"Delete an event destination.","operationId":"DeleteV2CoreEventDestinationsId","parameters":[{"name":"id","in":"path","description":"Identifier for the event destination to delete.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.deleted_object"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_delete_event_destination","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6"},"requestBody":{}},"response":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","deleted":true}}],"x-stripeErrors":[{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/core/event_destinations/{id}/disable":{"post":{"summary":"Disable an Event Destination","description":"Disable an event destination.","operationId":"PostV2CoreEventDestinationsIdDisable","parameters":[{"name":"id","in":"path","description":"Identifier for the event destination to disable.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_disable_event_destination","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6"},"requestBody":{}},"response":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","created":"2024-10-22T16:20:09.931Z","description":"This is my event destination, I like it a lot","enabled_events":["v1.billing.meter.error_report_triggered"],"event_payload":"thin","events_from":["self"],"livemode":false,"metadata":{},"name":"My Event Destination","snapshot_api_version":null,"status":"disabled","status_details":{"disabled":{"reason":"user"}},"type":"webhook_endpoint","updated":"2024-10-22T16:21:38.634Z","webhook_endpoint":{"signing_secret":null,"url":null}}}],"x-stripeErrors":[{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/core/event_destinations/{id}/enable":{"post":{"summary":"Enable an Event Destination","description":"Enable an event destination.","operationId":"PostV2CoreEventDestinationsIdEnable","parameters":[{"name":"id","in":"path","description":"Identifier for the event destination to enable.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event_destination"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.idempotency_error"},{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_enable_event_destination","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6"},"requestBody":{}},"response":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","created":"2024-10-22T16:20:09.931Z","description":"This is my event destination, I like it a lot","enabled_events":["v1.billing.meter.error_report_triggered"],"event_payload":"thin","events_from":["self"],"livemode":false,"metadata":{},"name":"My Event Destination","snapshot_api_version":null,"status":"enabled","status_details":null,"type":"webhook_endpoint","updated":"2024-10-22T16:21:38.634Z","webhook_endpoint":{"signing_secret":null,"url":null}}}],"x-stripeErrors":[{"code":"idempotency_error","description":"An idempotent retry occurred with different request parameters.","httpStatusCode":409},{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/core/event_destinations/{id}/ping":{"post":{"summary":"Ping an Event Destination","description":"Send a `ping` event to an event destination.","operationId":"PostV2CoreEventDestinationsIdPing","parameters":[{"name":"id","in":"path","description":"Identifier for the event destination to ping.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_ping_event_destination","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"evt_test_65RM8sQH2oXnebF5Rpc16RJyfa2xSQLHJJh1sxm7H0KI92"},"requestBody":{}},"response":{"id":"evt_test_65RM8sQH2oXnebF5Rpc16RJyfa2xSQLHJJh1sxm7H0KI92","object":"v2.core.event","context":null,"created":"2024-10-22T16:26:54.063Z","data":null,"livemode":false,"reason":null,"related_object":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","type":"event_destination","url":"/v2/core/event_destinations/ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6"},"type":"v2.core.event_destination.ping"}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}},"/v2/core/events":{"get":{"summary":"List Events","description":"List events, going back up to 30 days.","operationId":"GetV2CoreEvents","parameters":[{"name":"created","in":"query","description":"Set of filters to query events within a range of `created` timestamps.","required":false,"style":"deepObject","schema":{"type":"object","properties":{"gt":{"type":"string","description":"Filter for events created after the specified timestamp.","format":"date-time"},"gte":{"type":"string","description":"Filter for events created at or after the specified timestamp.","format":"date-time"},"lt":{"type":"string","description":"Filter for events created before the specified timestamp.","format":"date-time"},"lte":{"type":"string","description":"Filter for events created at or before the specified timestamp.","format":"date-time"}}}},{"name":"limit","in":"query","description":"The page size.","required":false,"style":"form","schema":{"type":"integer"}},{"name":"object_id","in":"query","description":"Primary object ID used to retrieve related events.","required":false,"style":"form","schema":{"type":"string"}},{"name":"types","in":"query","description":"An array of up to 20 strings containing specific event names.","required":false,"style":"deepObject","schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"required":["data","next_page_url","previous_page_url"],"type":"object","properties":{"data":{"type":"array","description":"List of events.","items":{"$ref":"#/components/schemas/v2.core.event"}},"next_page_url":{"type":"string","description":"URL to fetch the next page of the list. If there are no more pages, the value is null.","nullable":true},"previous_page_url":{"type":"string","description":"URL to fetch the previous page of the list. If there are no previous pages, the value is null.","nullable":true}}}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_list_events","x-stripeDocsSamples":[{"request":{"pathParams":{},"requestBody":{"object_id":"mtr_test_61RCjiqdTDC91zgip41IqPCzPnxqqSVc"}},"response":{"data":[{"id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","context":null,"created":"2024-09-26T17:46:22.134Z","data":{"developer_message_summary":"There is 1 invalid event","reason":{"error_count":1,"error_types":[{"code":"meter_event_no_customer_defined","error_count":1,"sample_errors":[{"error_message":"Customer mapping key stripe_customer_id not found in payload.","request":{"identifier":"cb447754-6880-45c2-8f2f-ef19b6ce81e9"}}]}]},"validation_end":"2024-09-26T17:46:20.000Z","validation_start":"2024-09-26T17:46:10.000Z"},"livemode":false,"reason":null,"related_object":{"id":"mtr_test_61RCjiqdTDC91zgip41IqPCzPnxqqSVc","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61RCjiqdTDC91zgip41IqPCzPnxqqSVc"},"type":"v1.billing.meter.error_report_triggered"}],"next_page_url":null,"previous_page_url":null}}],"x-stripeErrors":[]}},"/v2/core/events/{id}":{"get":{"summary":"Retrieve an Event","description":"Retrieves the details of an event.","operationId":"GetV2CoreEventsId","parameters":[{"name":"id","in":"path","description":"Unique identifier for the object.","required":true,"style":"simple","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v2.core.event"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/v2.error.not_found"},{"$ref":"#/components/schemas/v2.error"}]}}}}},"x-stableId":"v2_method_retrieve_event","x-stripeDocsSamples":[{"request":{"pathParams":{"id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u"},"requestBody":{}},"response":{"id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","context":null,"created":"2024-09-26T17:46:22.134Z","data":{"developer_message_summary":"There is 1 invalid event","reason":{"error_count":1,"error_types":[{"code":"meter_event_no_customer_defined","error_count":1,"sample_errors":[{"error_message":"Customer mapping key stripe_customer_id not found in payload.","request":{"identifier":"cb447754-6880-45c2-8f2f-ef19b6ce81e9"}}]}]},"validation_end":"2024-09-26T17:46:20.000Z","validation_start":"2024-09-26T17:46:10.000Z"},"livemode":false,"reason":null,"related_object":{"id":"mtr_test_61RCjiqdTDC91zgip41IqPCzPnxqqSVc","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61RCjiqdTDC91zgip41IqPCzPnxqqSVc"},"type":"v1.billing.meter.error_report_triggered"}}],"x-stripeErrors":[{"code":"not_found","description":"The resource wasn't found.","httpStatusCode":404}]}}},"components":{"schemas":{"account":{"title":"Account","required":["id","object"],"type":"object","properties":{"business_profile":{"description":"Business information about the account.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/account_business_profile"}]},"business_type":{"type":"string","description":"The business type.","nullable":true,"enum":["company","government_entity","individual","non_profit"],"x-stripeBypassValidation":true},"capabilities":{"$ref":"#/components/schemas/account_capabilities"},"charges_enabled":{"type":"boolean","description":"Whether the account can process charges."},"company":{"$ref":"#/components/schemas/legal_entity_company"},"controller":{"$ref":"#/components/schemas/account_unification_account_controller"},"country":{"maxLength":5000,"type":"string","description":"The account's country."},"created":{"type":"integer","description":"Time at which the account was connected. Measured in seconds since the Unix epoch.","format":"unix-time"},"default_currency":{"maxLength":5000,"type":"string","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)."},"details_submitted":{"type":"boolean","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."},"email":{"maxLength":5000,"type":"string","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.","nullable":true},"external_accounts":{"title":"ExternalAccountList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","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"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"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.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"future_requirements":{"$ref":"#/components/schemas/account_future_requirements"},"groups":{"description":"The groups associated with the account.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/account_group_membership"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"individual":{"$ref":"#/components/schemas/person"},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["account"]},"payouts_enabled":{"type":"boolean","description":"Whether the funds in this account can be paid out."},"requirements":{"$ref":"#/components/schemas/account_requirements"},"settings":{"description":"Options for customizing how the account functions within Stripe.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/account_settings"}]},"tos_acceptance":{"$ref":"#/components/schemas/account_tos_acceptance"},"type":{"type":"string","description":"The Stripe account type. Can be `standard`, `express`, `custom`, or `none`.","enum":["custom","express","none","standard"]}},"description":"For new integrations, we recommend using the [Accounts v2 API](/api/v2/core/accounts), in place of /v1/accounts and /v1/customers to represent a user.\n\nThis 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).","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/application"}},"description":"Occurs whenever a user authorizes an application. Sent to the related application only.","x-expandableFields":[],"x-stripeEvent":{"type":"account.application.authorized"}},"account.application.deauthorized":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/application"}},"description":"Occurs whenever a user deauthorizes an application. Sent to the related application only.","x-expandableFields":[],"x-stripeEvent":{"type":"account.application.deauthorized"}},"account.external_account.created":{"required":["object"],"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}]}},"description":"Occurs whenever an external account is created.","x-expandableFields":[],"x-stripeEvent":{"type":"account.external_account.created"}},"account.external_account.deleted":{"required":["object"],"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}]}},"description":"Occurs whenever an external account is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"account.external_account.deleted"}},"account.external_account.updated":{"required":["object"],"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}]}},"description":"Occurs whenever an external account is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"account.external_account.updated"}},"account.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/account"}},"description":"Occurs whenever an account status or property has changed.","x-expandableFields":[],"x-stripeEvent":{"type":"account.updated"}},"account_annual_revenue":{"title":"AccountAnnualRevenue","required":["amount","currency","fiscal_year_end"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).","nullable":true},"currency":{"type":"string","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).","format":"currency","nullable":true},"fiscal_year_end":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","fiscal_year_end"]},"account_bacs_debit_payments_settings":{"title":"AccountBacsDebitPaymentsSettings","required":["display_name","service_user_number"],"type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","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.","nullable":true},"service_user_number":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["display_name","service_user_number"]},"account_branding_settings":{"title":"AccountBrandingSettings","required":["icon","logo","primary_color","secondary_color"],"type":"object","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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"primary_color":{"maxLength":5000,"type":"string","description":"A CSS hex color value representing the primary branding color for this account","nullable":true},"secondary_color":{"maxLength":5000,"type":"string","description":"A CSS hex color value representing the secondary branding color for this account","nullable":true}},"description":"","x-expandableFields":["icon","logo"],"x-stripeMostCommon":["icon","logo","primary_color","secondary_color"]},"account_business_profile":{"title":"AccountBusinessProfile","required":["mcc","minority_owned_business_designation","name","support_address","support_email","support_phone","support_url","url"],"type":"object","properties":{"annual_revenue":{"description":"The applicant's gross annual revenue for its preceding fiscal year.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/account_annual_revenue"}]},"estimated_worker_count":{"type":"integer","description":"An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.","nullable":true},"mcc":{"maxLength":5000,"type":"string","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.","nullable":true},"minority_owned_business_designation":{"type":"array","description":"Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.","nullable":true,"items":{"type":"string","enum":["lgbtqi_owned_business","minority_owned_business","none_of_these_apply","prefer_not_to_answer","women_owned_business"]}},"monthly_estimated_revenue":{"$ref":"#/components/schemas/account_monthly_estimated_revenue"},"name":{"maxLength":5000,"type":"string","description":"The customer-facing business name.","nullable":true},"product_description":{"maxLength":40000,"type":"string","description":"Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.","nullable":true},"support_address":{"description":"A publicly available mailing address for sending support issues to.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"support_email":{"maxLength":5000,"type":"string","description":"A publicly available email address for sending support issues to.","nullable":true},"support_phone":{"maxLength":5000,"type":"string","description":"A publicly available phone number to call with support issues.","nullable":true},"support_url":{"maxLength":5000,"type":"string","description":"A publicly available website for handling support issues.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"The business's publicly available website.","nullable":true}},"description":"","x-expandableFields":["annual_revenue","monthly_estimated_revenue","support_address"],"x-stripeMostCommon":["annual_revenue","estimated_worker_count","mcc","minority_owned_business_designation","monthly_estimated_revenue","name","product_description","support_address","support_email","support_phone","support_url","url"]},"account_capabilities":{"title":"AccountCapabilities","type":"object","properties":{"acss_debit_payments":{"type":"string","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"]},"affirm_payments":{"type":"string","description":"The status of the Affirm capability of the account, or whether the account can directly process Affirm charges.","enum":["active","inactive","pending"]},"afterpay_clearpay_payments":{"type":"string","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"]},"alma_payments":{"type":"string","description":"The status of the Alma capability of the account, or whether the account can directly process Alma payments.","enum":["active","inactive","pending"]},"amazon_pay_payments":{"type":"string","description":"The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.","enum":["active","inactive","pending"]},"au_becs_debit_payments":{"type":"string","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"]},"bacs_debit_payments":{"type":"string","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"]},"bancontact_payments":{"type":"string","description":"The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.","enum":["active","inactive","pending"]},"bank_transfer_payments":{"type":"string","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"]},"billie_payments":{"type":"string","description":"The status of the Billie capability of the account, or whether the account can directly process Billie payments.","enum":["active","inactive","pending"]},"blik_payments":{"type":"string","description":"The status of the blik payments capability of the account, or whether the account can directly process blik charges.","enum":["active","inactive","pending"]},"boleto_payments":{"type":"string","description":"The status of the boleto payments capability of the account, or whether the account can directly process boleto charges.","enum":["active","inactive","pending"]},"card_issuing":{"type":"string","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"]},"card_payments":{"type":"string","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"]},"cartes_bancaires_payments":{"type":"string","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"]},"cashapp_payments":{"type":"string","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"]},"crypto_payments":{"type":"string","description":"The status of the Crypto capability of the account, or whether the account can directly process Crypto payments.","enum":["active","inactive","pending"]},"eps_payments":{"type":"string","description":"The status of the EPS payments capability of the account, or whether the account can directly process EPS charges.","enum":["active","inactive","pending"]},"fpx_payments":{"type":"string","description":"The status of the FPX payments capability of the account, or whether the account can directly process FPX charges.","enum":["active","inactive","pending"]},"gb_bank_transfer_payments":{"type":"string","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"]},"giropay_payments":{"type":"string","description":"The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.","enum":["active","inactive","pending"]},"grabpay_payments":{"type":"string","description":"The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.","enum":["active","inactive","pending"]},"ideal_payments":{"type":"string","description":"The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.","enum":["active","inactive","pending"]},"india_international_payments":{"type":"string","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"]},"jcb_payments":{"type":"string","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"]},"jp_bank_transfer_payments":{"type":"string","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"]},"kakao_pay_payments":{"type":"string","description":"The status of the KakaoPay capability of the account, or whether the account can directly process KakaoPay payments.","enum":["active","inactive","pending"]},"klarna_payments":{"type":"string","description":"The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.","enum":["active","inactive","pending"]},"konbini_payments":{"type":"string","description":"The status of the konbini payments capability of the account, or whether the account can directly process konbini charges.","enum":["active","inactive","pending"]},"kr_card_payments":{"type":"string","description":"The status of the KrCard capability of the account, or whether the account can directly process KrCard payments.","enum":["active","inactive","pending"]},"legacy_payments":{"type":"string","description":"The status of the legacy payments capability of the account.","enum":["active","inactive","pending"]},"link_payments":{"type":"string","description":"The status of the link_payments capability of the account, or whether the account can directly process Link charges.","enum":["active","inactive","pending"]},"mb_way_payments":{"type":"string","description":"The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.","enum":["active","inactive","pending"]},"mobilepay_payments":{"type":"string","description":"The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.","enum":["active","inactive","pending"]},"multibanco_payments":{"type":"string","description":"The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.","enum":["active","inactive","pending"]},"mx_bank_transfer_payments":{"type":"string","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"]},"naver_pay_payments":{"type":"string","description":"The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.","enum":["active","inactive","pending"]},"nz_bank_account_becs_debit_payments":{"type":"string","description":"The status of the New Zealand BECS Direct Debit payments capability of the account, or whether the account can directly process New Zealand BECS Direct Debit charges.","enum":["active","inactive","pending"]},"oxxo_payments":{"type":"string","description":"The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.","enum":["active","inactive","pending"]},"p24_payments":{"type":"string","description":"The status of the P24 payments capability of the account, or whether the account can directly process P24 charges.","enum":["active","inactive","pending"]},"pay_by_bank_payments":{"type":"string","description":"The status of the pay_by_bank payments capability of the account, or whether the account can directly process pay_by_bank charges.","enum":["active","inactive","pending"]},"payco_payments":{"type":"string","description":"The status of the Payco capability of the account, or whether the account can directly process Payco payments.","enum":["active","inactive","pending"]},"paynow_payments":{"type":"string","description":"The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.","enum":["active","inactive","pending"]},"payto_payments":{"type":"string","description":"The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.","enum":["active","inactive","pending"]},"pix_payments":{"type":"string","description":"The status of the pix payments capability of the account, or whether the account can directly process pix charges.","enum":["active","inactive","pending"]},"promptpay_payments":{"type":"string","description":"The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.","enum":["active","inactive","pending"]},"revolut_pay_payments":{"type":"string","description":"The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.","enum":["active","inactive","pending"]},"samsung_pay_payments":{"type":"string","description":"The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.","enum":["active","inactive","pending"]},"satispay_payments":{"type":"string","description":"The status of the Satispay capability of the account, or whether the account can directly process Satispay payments.","enum":["active","inactive","pending"]},"sepa_bank_transfer_payments":{"type":"string","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"]},"sepa_debit_payments":{"type":"string","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"]},"sofort_payments":{"type":"string","description":"The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.","enum":["active","inactive","pending"]},"swish_payments":{"type":"string","description":"The status of the Swish capability of the account, or whether the account can directly process Swish payments.","enum":["active","inactive","pending"]},"tax_reporting_us_1099_k":{"type":"string","description":"The status of the tax reporting 1099-K (US) capability of the account.","enum":["active","inactive","pending"]},"tax_reporting_us_1099_misc":{"type":"string","description":"The status of the tax reporting 1099-MISC (US) capability of the account.","enum":["active","inactive","pending"]},"transfers":{"type":"string","description":"The status of the transfers capability of the account, or whether your platform can transfer funds to the account.","enum":["active","inactive","pending"]},"treasury":{"type":"string","description":"The status of the banking capability, or whether the account can have bank accounts.","enum":["active","inactive","pending"]},"twint_payments":{"type":"string","description":"The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.","enum":["active","inactive","pending"]},"upi_payments":{"type":"string","description":"The status of the upi payments capability of the account, or whether the account can directly process upi charges.","enum":["active","inactive","pending"]},"us_bank_account_ach_payments":{"type":"string","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"]},"us_bank_transfer_payments":{"type":"string","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"]},"zip_payments":{"type":"string","description":"The status of the Zip capability of the account, or whether the account can directly process Zip charges.","enum":["active","inactive","pending"]}},"description":"","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","billie_payments","blik_payments","boleto_payments","card_issuing","card_payments","cartes_bancaires_payments","cashapp_payments","crypto_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","mb_way_payments","mobilepay_payments","multibanco_payments","mx_bank_transfer_payments","naver_pay_payments","nz_bank_account_becs_debit_payments","oxxo_payments","p24_payments","pay_by_bank_payments","payco_payments","paynow_payments","payto_payments","pix_payments","promptpay_payments","revolut_pay_payments","samsung_pay_payments","satispay_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","upi_payments","us_bank_account_ach_payments","us_bank_transfer_payments","zip_payments"]},"account_capability_future_requirements":{"title":"AccountCapabilityFutureRequirements","required":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"],"type":"object","properties":{"alternatives":{"type":"array","description":"Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the same `original_fields_due`. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providing `original_fields_due` again also serves as a pathway for attempting to resolve the fields.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_alternative"}},"current_deadline":{"type":"integer","description":"Date on which `future_requirements` becomes 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},"currently_due":{"type":"array","description":"Fields that need to be resolved to keep the capability enabled. If not resolved by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.","items":{"maxLength":5000,"type":"string"}},"disabled_reason":{"type":"string","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.","nullable":true,"enum":["other","paused.inactivity","pending.onboarding","pending.review","platform_disabled","platform_paused","rejected.inactivity","rejected.other","rejected.unsupported_business","requirements.fields_needed"],"x-stripeBypassValidation":true},"errors":{"type":"array","description":"Details about validation and verification failures for `due` requirements that must be resolved.","items":{"$ref":"#/components/schemas/account_requirements_error"}},"eventually_due":{"type":"array","description":"Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.","items":{"maxLength":5000,"type":"string"}},"past_due":{"type":"array","description":"Fields that haven't been resolved by `requirements.current_deadline`. These fields need to be resolved to enable the capability on the account. `future_requirements.past_due` is a subset of `requirements.past_due`.","items":{"maxLength":5000,"type":"string"}},"pending_verification":{"type":"array","description":"Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["alternatives","errors"],"x-stripeMostCommon":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"]},"account_capability_requirements":{"title":"AccountCapabilityRequirements","required":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"],"type":"object","properties":{"alternatives":{"type":"array","description":"Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the same `original_fields_due`. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providing `original_fields_due` again also serves as a pathway for attempting to resolve the fields.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_alternative"}},"current_deadline":{"type":"integer","description":"The date by which all required account information must be both submitted and verified. This includes fields listed in `currently_due` as well as those in `pending_verification`. If any required information is missing or unverified by this date, the account may be disabled. Note that `current_deadline` may change if additional `currently_due` requirements are requested.","format":"unix-time","nullable":true},"currently_due":{"type":"array","description":"Fields that need to be resolved to keep the capability enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the capability is disabled.","items":{"maxLength":5000,"type":"string"}},"disabled_reason":{"type":"string","description":"Description of why the capability is disabled. [Learn more about handling verification issues](https://docs.stripe.com/connect/handling-api-verification).","nullable":true,"enum":["other","paused.inactivity","pending.onboarding","pending.review","platform_disabled","platform_paused","rejected.inactivity","rejected.other","rejected.unsupported_business","requirements.fields_needed"],"x-stripeBypassValidation":true},"errors":{"type":"array","description":"Details about validation and verification failures for `due` requirements that must be resolved.","items":{"$ref":"#/components/schemas/account_requirements_error"}},"eventually_due":{"type":"array","description":"Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.","items":{"maxLength":5000,"type":"string"}},"past_due":{"type":"array","description":"Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the capability on the account.","items":{"maxLength":5000,"type":"string"}},"pending_verification":{"type":"array","description":"Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["alternatives","errors"],"x-stripeMostCommon":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"]},"account_card_issuing_settings":{"title":"AccountCardIssuingSettings","type":"object","properties":{"tos_acceptance":{"$ref":"#/components/schemas/card_issuing_account_terms_of_service"}},"description":"","x-expandableFields":["tos_acceptance"],"x-stripeMostCommon":["tos_acceptance"]},"account_card_payments_settings":{"title":"AccountCardPaymentsSettings","required":["statement_descriptor_prefix","statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji"],"type":"object","properties":{"decline_on":{"$ref":"#/components/schemas/account_decline_charge_on"},"statement_descriptor_prefix":{"maxLength":5000,"type":"string","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.","nullable":true},"statement_descriptor_prefix_kana":{"maxLength":5000,"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.","nullable":true},"statement_descriptor_prefix_kanji":{"maxLength":5000,"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.","nullable":true}},"description":"","x-expandableFields":["decline_on"],"x-stripeMostCommon":["decline_on","statement_descriptor_prefix","statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji"]},"account_dashboard_settings":{"title":"AccountDashboardSettings","required":["display_name","timezone"],"type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","description":"The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts.","nullable":true},"timezone":{"maxLength":5000,"type":"string","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).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["display_name","timezone"]},"account_decline_charge_on":{"title":"AccountDeclineChargeOn","required":["avs_failure","cvc_failure"],"type":"object","properties":{"avs_failure":{"type":"boolean","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."},"cvc_failure":{"type":"boolean","description":"Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["avs_failure","cvc_failure"]},"account_future_requirements":{"title":"AccountFutureRequirements","required":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"],"type":"object","properties":{"alternatives":{"type":"array","description":"Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_alternative"}},"current_deadline":{"type":"integer","description":"Date on which `future_requirements` becomes 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},"currently_due":{"type":"array","description":"Fields that need to be resolved to keep the account enabled. If not resolved by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"disabled_reason":{"type":"string","description":"This is typed as an enum for consistency with `requirements.disabled_reason`.","nullable":true,"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"]},"errors":{"type":"array","description":"Details about validation and verification failures for `due` requirements that must be resolved.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_error"}},"eventually_due":{"type":"array","description":"Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"past_due":{"type":"array","description":"Fields that haven't been resolved by `requirements.current_deadline`. These fields need to be resolved to enable the capability on the account. `future_requirements.past_due` is a subset of `requirements.past_due`.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"pending_verification":{"type":"array","description":"Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.","nullable":true,"items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["alternatives","errors"],"x-stripeMostCommon":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"]},"account_group_membership":{"title":"AccountGroupMembership","required":["payments_pricing"],"type":"object","properties":{"payments_pricing":{"maxLength":5000,"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://docs.stripe.com/connect/platform-pricing-tools) for details.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payments_pricing"]},"account_invoices_settings":{"title":"AccountInvoicesSettings","required":["default_account_tax_ids","hosted_payment_method_save"],"type":"object","properties":{"default_account_tax_ids":{"type":"array","description":"The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.","nullable":true,"items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/tax_id"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/tax_id"}]}}},"hosted_payment_method_save":{"type":"string","description":"Whether to save the payment method after a payment is completed for a one-time invoice or a subscription invoice when the customer already has a default payment method on the hosted invoice page.","nullable":true,"enum":["always","never","offer"]}},"description":"","x-expandableFields":["default_account_tax_ids"],"x-stripeMostCommon":["default_account_tax_ids","hosted_payment_method_save"]},"account_link":{"title":"AccountLink","required":["created","expires_at","object","url"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"expires_at":{"type":"integer","description":"The timestamp at which this account link will expire.","format":"unix-time"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["account_link"]},"url":{"maxLength":5000,"type":"string","description":"The URL for the 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://docs.stripe.com/connect/custom/hosted-onboarding)","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":{"title":"AccountMonthlyEstimatedRevenue","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal)."},"currency":{"type":"string","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).","format":"currency"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency"]},"account_payments_settings":{"title":"AccountPaymentsSettings","required":["statement_descriptor","statement_descriptor_kana","statement_descriptor_kanji","statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji"],"type":"object","properties":{"statement_descriptor":{"maxLength":5000,"type":"string","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.","nullable":true},"statement_descriptor_kana":{"maxLength":5000,"type":"string","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).","nullable":true},"statement_descriptor_kanji":{"maxLength":5000,"type":"string","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).","nullable":true},"statement_descriptor_prefix_kana":{"maxLength":5000,"type":"string","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).","nullable":true},"statement_descriptor_prefix_kanji":{"maxLength":5000,"type":"string","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).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["statement_descriptor","statement_descriptor_kana","statement_descriptor_kanji","statement_descriptor_prefix_kana","statement_descriptor_prefix_kanji"]},"account_payout_settings":{"title":"AccountPayoutSettings","required":["debit_negative_balances","schedule","statement_descriptor"],"type":"object","properties":{"debit_negative_balances":{"type":"boolean","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`."},"schedule":{"$ref":"#/components/schemas/transfer_schedule"},"statement_descriptor":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":["schedule"],"x-stripeMostCommon":["debit_negative_balances","schedule","statement_descriptor"]},"account_requirements":{"title":"AccountRequirements","required":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"],"type":"object","properties":{"alternatives":{"type":"array","description":"Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_alternative"}},"current_deadline":{"type":"integer","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},"currently_due":{"type":"array","description":"Fields that need to be resolved to keep the account enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the account is disabled.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"disabled_reason":{"type":"string","description":"If the account is disabled, this enum describes why. [Learn more about handling verification issues](https://docs.stripe.com/connect/handling-api-verification).","nullable":true,"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"]},"errors":{"type":"array","description":"Details about validation and verification failures for `due` requirements that must be resolved.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_error"}},"eventually_due":{"type":"array","description":"Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"past_due":{"type":"array","description":"Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the account.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"pending_verification":{"type":"array","description":"Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.","nullable":true,"items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["alternatives","errors"],"x-stripeMostCommon":["alternatives","current_deadline","currently_due","disabled_reason","errors","eventually_due","past_due","pending_verification"]},"account_requirements_alternative":{"title":"AccountRequirementsAlternative","required":["alternative_fields_due","original_fields_due"],"type":"object","properties":{"alternative_fields_due":{"type":"array","description":"Fields that can be provided to resolve all fields in `original_fields_due`.","items":{"maxLength":5000,"type":"string"}},"original_fields_due":{"type":"array","description":"Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["alternative_fields_due","original_fields_due"]},"account_requirements_error":{"title":"AccountRequirementsError","required":["code","reason","requirement"],"type":"object","properties":{"code":{"type":"string","description":"The code for the type of error.","enum":["external_request","information_missing","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_signator","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","unsupported_business_type","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_authorizer_authority","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_legal_entity_structure_mismatch","verification_missing_directors","verification_missing_executives","verification_missing_owners","verification_rejected_ownership_exemption_reason","verification_requires_additional_memorandum_of_associations","verification_requires_additional_proof_of_registration","verification_supportability"],"x-stripeBypassValidation":true},"reason":{"maxLength":5000,"type":"string","description":"An informative message that indicates the error type and provides additional details about the error."},"requirement":{"maxLength":5000,"type":"string","description":"The specific user onboarding requirement field (in the requirements hash) that needs to be resolved."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","reason","requirement"]},"account_sepa_debit_payments_settings":{"title":"AccountSepaDebitPaymentsSettings","type":"object","properties":{"creditor_id":{"maxLength":5000,"type":"string","description":"SEPA creditor identifier that identifies the company making the payment."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["creditor_id"]},"account_session":{"title":"ConnectEmbeddedMethodAccountSessionCreateMethodAccountSession","required":["account","client_secret","components","expires_at","livemode","object"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The ID of the account the AccountSession was created for"},"client_secret":{"maxLength":5000,"type":"string","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://docs.stripe.com/connect/get-started-connect-embedded-components) and learn about how `client_secret` should be handled."},"components":{"$ref":"#/components/schemas/connect_embedded_account_session_create_components"},"expires_at":{"type":"integer","description":"The timestamp at which this AccountSession will expire.","format":"unix-time"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["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://docs.stripe.com/connect/get-started-connect-embedded-components)","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":{"title":"AccountSettings","required":["branding","card_payments","dashboard","payments"],"type":"object","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"}},"description":"","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":{"title":"AccountTermsOfService","required":["date","ip"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the account representative accepted the service agreement.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the account representative accepted the service agreement."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","user_agent"]},"account_tos_acceptance":{"title":"AccountTOSAcceptance","type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted their service agreement","format":"unix-time","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the account representative accepted their service agreement","nullable":true},"service_agreement":{"maxLength":5000,"type":"string","description":"The user's service agreement type"},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the account representative accepted their service agreement","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","service_agreement","user_agent"]},"account_treasury_settings":{"title":"AccountTreasurySettings","type":"object","properties":{"tos_acceptance":{"$ref":"#/components/schemas/account_terms_of_service"}},"description":"","x-expandableFields":["tos_acceptance"],"x-stripeMostCommon":["tos_acceptance"]},"account_unification_account_controller":{"title":"AccountUnificationAccountController","required":["type"],"type":"object","properties":{"fees":{"$ref":"#/components/schemas/account_unification_account_controller_fees"},"is_controller":{"type":"boolean","description":"`true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://docs.stripe.com/connect/platform-controls-for-standard-accounts). Otherwise, this field is null."},"losses":{"$ref":"#/components/schemas/account_unification_account_controller_losses"},"requirement_collection":{"type":"string","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"]},"stripe_dashboard":{"$ref":"#/components/schemas/account_unification_account_controller_stripe_dashboard"},"type":{"type":"string","description":"The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself.","enum":["account","application"]}},"description":"","x-expandableFields":["fees","losses","stripe_dashboard"],"x-stripeMostCommon":["fees","is_controller","losses","requirement_collection","stripe_dashboard","type"]},"account_unification_account_controller_fees":{"title":"AccountUnificationAccountControllerFees","required":["payer"],"type":"object","properties":{"payer":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payer"]},"account_unification_account_controller_losses":{"title":"AccountUnificationAccountControllerLosses","required":["payments"],"type":"object","properties":{"payments":{"type":"string","description":"A value indicating who is liable when this account can't pay back negative balances from payments.","enum":["application","stripe"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payments"]},"account_unification_account_controller_stripe_dashboard":{"title":"AccountUnificationAccountControllerStripeDashboard","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"A value indicating the Stripe dashboard this account has access to independent of the Connect application.","enum":["express","full","none"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"address":{"title":"Address","required":["city","country","line1","line2","postal_code","state"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name.","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","nullable":true},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"],"x-stripeResource":{"class_name":"Address","in_package":""}},"alma_installments":{"title":"alma_installments","required":["count"],"type":"object","properties":{"count":{"type":"integer","description":"The number of installments."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["count"]},"amazon_pay_underlying_payment_method_funding_details":{"title":"amazon_pay_underlying_payment_method_funding_details","required":["type"],"type":"object","properties":{"card":{"$ref":"#/components/schemas/payment_method_details_passthrough_card"},"type":{"type":"string","description":"funding type of the underlying payment method.","nullable":true,"enum":["card"]}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card","type"]},"api_errors":{"title":"APIErrors","required":["type"],"type":"object","properties":{"advice_code":{"maxLength":5000,"type":"string","description":"For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one."},"charge":{"maxLength":5000,"type":"string","description":"For card errors, the ID of the failed charge."},"code":{"maxLength":5000,"type":"string","description":"For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/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","account_token_required_for_v2_account","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_session_expired","customer_tax_location_invalid","debit_not_authorized","email_invalid","expired_card","financial_connections_account_inactive","financial_connections_account_pending_account_numbers","financial_connections_account_unavailable_account_numbers","financial_connections_no_successful_transaction_refresh","forwarding_api_inactive","forwarding_api_invalid_parameter","forwarding_api_retryable_upstream_error","forwarding_api_upstream_connection_error","forwarding_api_upstream_connection_timeout","forwarding_api_upstream_error","idempotency_key_in_use","incorrect_address","incorrect_cvc","incorrect_number","incorrect_zip","india_recurring_payment_mandate_canceled","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_rate_limit_exceeded","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","request_blocked","resource_already_exists","resource_missing","return_intent_already_processed","routing_number_invalid","secret_key_required","sepa_unsupported_account","service_period_coupon_with_metered_tiered_item_unsupported","setup_attempt_failed","setup_intent_authentication_failure","setup_intent_invalid_parameter","setup_intent_mandate_invalid","setup_intent_mobile_wallet_unsupported","setup_intent_setup_attempt_expired","setup_intent_unexpected_state","shipping_address_invalid","shipping_calculation_failed","sku_inactive","state_unsupported","status_transition_invalid","storer_capability_missing","storer_capability_not_active","stripe_tax_inactive","tax_id_invalid","tax_id_prohibited","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"]},"decline_code":{"maxLength":5000,"type":"string","description":"For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one."},"doc_url":{"maxLength":5000,"type":"string","description":"A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported."},"message":{"maxLength":40000,"type":"string","description":"A human-readable message providing more details about the error. For card errors, these messages can be shown to your users."},"network_advice_code":{"maxLength":5000,"type":"string","description":"For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error."},"network_decline_code":{"maxLength":5000,"type":"string","description":"For payments declined by the network, an alphanumeric code which indicates the reason the payment failed."},"param":{"maxLength":5000,"type":"string","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."},"payment_intent":{"$ref":"#/components/schemas/payment_intent"},"payment_method":{"$ref":"#/components/schemas/payment_method"},"payment_method_type":{"maxLength":5000,"type":"string","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."},"request_log_url":{"maxLength":5000,"type":"string","description":"A URL to the request log entry in your dashboard."},"setup_intent":{"$ref":"#/components/schemas/setup_intent"},"source":{"$ref":"#/components/schemas/payment_source"},"type":{"type":"string","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"]}},"description":"","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":{"title":"ApplePayDomain","required":["created","domain_name","id","livemode","object"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"domain_name":{"maxLength":5000,"type":"string"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["apple_pay_domain"]}},"description":"","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":{"title":"Application","required":["id","name","object"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"name":{"maxLength":5000,"type":"string","description":"The name of the application.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["application"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","name","object"],"x-stripeResource":{"class_name":"Application","in_package":""}},"application_fee":{"title":"PlatformFee","required":["account","amount","amount_refunded","application","balance_transaction","charge","created","currency","fee_source","id","livemode","object","originating_transaction","refunded","refunds"],"type":"object","properties":{"account":{"description":"ID of the Stripe account this fee was taken from.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"amount":{"type":"integer","description":"Amount earned, in cents (or local equivalent)."},"amount_refunded":{"type":"integer","description":"Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the fee if a partial refund was issued)"},"application":{"description":"ID of the Connect application that earned the fee.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"balance_transaction":{"description":"Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"charge":{"description":"ID of the charge that the application fee was taken from.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"fee_source":{"description":"Polymorphic source of the application fee. Includes the ID of the object the application fee was created from.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/platform_earning_fee_source"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["application_fee"]},"originating_transaction":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"refunded":{"type":"boolean","description":"Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false."},"refunds":{"title":"FeeRefundList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/fee_refund"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"A list of refunds that have been applied to the fee.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}},"description":"","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/application_fee"}},"description":"Occurs whenever an application fee is created on a charge.","x-expandableFields":[],"x-stripeEvent":{"type":"application_fee.created"}},"application_fee.refund.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/fee_refund"}},"description":"Occurs whenever an application fee refund is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"application_fee.refund.updated"}},"application_fee.refunded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/application_fee"}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"application_fee.refunded"}},"apps.secret":{"title":"SecretServiceResourceSecret","required":["created","expires_at","id","livemode","name","object","scope"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"deleted":{"type":"boolean","description":"If true, indicates that this secret has been deleted"},"expires_at":{"type":"integer","description":"The Unix timestamp for the expiry time of the secret, after which the secret deletes.","format":"unix-time","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"name":{"maxLength":5000,"type":"string","description":"A name for the secret that's unique within the scope."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["apps.secret"]},"payload":{"maxLength":5000,"type":"string","description":"The plaintext secret value to be stored.","nullable":true},"scope":{"$ref":"#/components/schemas/secret_service_resource_scope"}},"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://docs.stripe.com/stripe-apps/store-auth-data-custom-objects)","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":{"title":"AutomaticTax","required":["disabled_reason","enabled","liability","provider","status"],"type":"object","properties":{"disabled_reason":{"type":"string","description":"If Stripe disabled automatic tax, this enum describes why.","nullable":true,"enum":["finalization_requires_location_inputs","finalization_system_error"]},"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on this invoice. Note that incompatible invoice items (invoice items with manually specified [tax rates](https://docs.stripe.com/api/tax_rates), negative amounts, or `tax_behavior=unspecified`) cannot be added to automatic tax invoices."},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]},"provider":{"maxLength":5000,"type":"string","description":"The tax provider powering automatic tax.","nullable":true},"status":{"type":"string","description":"The status of the most recent automated tax calculation for this invoice.","nullable":true,"enum":["complete","failed","requires_location_inputs"]}},"description":"","x-expandableFields":["liability"],"x-stripeMostCommon":["disabled_reason","enabled","liability","provider","status"]},"balance":{"title":"Balance","required":["available","livemode","object","pending"],"type":"object","properties":{"available":{"type":"array","description":"Available funds that you can transfer or pay out automatically by Stripe or explicitly through the [Transfers API](https://api.stripe.com#transfers) or [Payouts API](https://api.stripe.com#payouts). You can find the available balance for each currency and payment type in the `source_types` property.","items":{"$ref":"#/components/schemas/balance_amount"}},"connect_reserved":{"type":"array","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"}},"instant_available":{"type":"array","description":"Funds that you can pay out using Instant Payouts.","items":{"$ref":"#/components/schemas/balance_amount_net"}},"issuing":{"$ref":"#/components/schemas/balance_detail"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["balance"]},"pending":{"type":"array","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"}},"refund_and_dispute_prefunding":{"$ref":"#/components/schemas/balance_detail_ungated"}},"description":"This is an object representing your Stripe balance. You can retrieve it to see\nthe balance currently on your Stripe account.\n\nThe top-level `available` and `pending` comprise your \"payments balance.\"\n\nRelated guide: [Balances and settlement time](https://docs.stripe.com/payments/balances), [Understanding Connect account balances](https://docs.stripe.com/connect/account-balances)","x-expandableFields":["available","connect_reserved","instant_available","issuing","pending","refund_and_dispute_prefunding"],"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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/balance"}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"balance.available"}},"balance_amount":{"title":"BalanceAmount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"Balance amount."},"currency":{"type":"string","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).","format":"currency"},"source_types":{"$ref":"#/components/schemas/balance_amount_by_source_type"}},"description":"","x-expandableFields":["source_types"],"x-stripeMostCommon":["amount","currency","source_types"]},"balance_amount_by_source_type":{"title":"BalanceAmountBySourceType","type":"object","properties":{"bank_account":{"type":"integer","description":"Amount coming from [legacy US ACH payments](https://docs.stripe.com/ach-deprecated)."},"card":{"type":"integer","description":"Amount coming from most payment methods, including cards as well as [non-legacy bank debits](https://docs.stripe.com/payments/bank-debits)."},"fpx":{"type":"integer","description":"Amount coming from [FPX](https://docs.stripe.com/payments/fpx), a Malaysian payment method."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_account","card","fpx"]},"balance_amount_net":{"title":"BalanceAmountNet","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"Balance amount."},"currency":{"type":"string","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).","format":"currency"},"net_available":{"type":"array","description":"Breakdown of balance by destination.","items":{"$ref":"#/components/schemas/balance_net_available"}},"source_types":{"$ref":"#/components/schemas/balance_amount_by_source_type"}},"description":"","x-expandableFields":["net_available","source_types"],"x-stripeMostCommon":["amount","currency","net_available","source_types"]},"balance_detail":{"title":"BalanceDetail","required":["available"],"type":"object","properties":{"available":{"type":"array","description":"Funds that are available for use.","items":{"$ref":"#/components/schemas/balance_amount"}}},"description":"","x-expandableFields":["available"],"x-stripeMostCommon":["available"]},"balance_detail_ungated":{"title":"BalanceDetailUngated","required":["available","pending"],"type":"object","properties":{"available":{"type":"array","description":"Funds that are available for use.","items":{"$ref":"#/components/schemas/balance_amount"}},"pending":{"type":"array","description":"Funds that are pending","items":{"$ref":"#/components/schemas/balance_amount"}}},"description":"","x-expandableFields":["available","pending"],"x-stripeMostCommon":["available","pending"]},"balance_net_available":{"title":"BalanceNetAvailable","required":["amount","destination"],"type":"object","properties":{"amount":{"type":"integer","description":"Net balance amount, subtracting fees from platform-set pricing."},"destination":{"maxLength":5000,"type":"string","description":"ID of the external account for this net balance (not expandable)."},"source_types":{"$ref":"#/components/schemas/balance_amount_by_source_type"}},"description":"","x-expandableFields":["source_types"],"x-stripeMostCommon":["amount","destination","source_types"]},"balance_settings":{"title":"BalanceSettingsResourceBalanceSettings","required":["object","payments"],"type":"object","properties":{"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["balance_settings"]},"payments":{"$ref":"#/components/schemas/balance_settings_resource_payments"}},"description":"Options for customizing account balances and payout settings for a Stripe platform’s connected accounts.","x-expandableFields":["payments"],"x-resourceId":"balance_settings","x-stripeMostCommon":["object","payments"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/balance_settings"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v1/balance_settings"}],"x-stripeResource":{"class_name":"BalanceSettings","in_package":""}},"balance_settings.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/balance_settings"}},"description":"Occurs whenever a balance settings status or property has changed.","x-expandableFields":[],"x-stripeEvent":{"type":"balance_settings.updated"}},"balance_settings_resource_payments":{"title":"BalanceSettingsResourcePayments","required":["debit_negative_balances","payouts","settlement_timing"],"type":"object","properties":{"debit_negative_balances":{"type":"boolean","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`.","nullable":true},"payouts":{"description":"Settings specific to the account's payouts.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/balance_settings_resource_payouts"}]},"settlement_timing":{"$ref":"#/components/schemas/balance_settings_resource_settlement_timing"}},"description":"","x-expandableFields":["payouts","settlement_timing"],"x-stripeMostCommon":["debit_negative_balances","payouts","settlement_timing"]},"balance_settings_resource_payout_schedule":{"title":"BalanceSettingsResourcePayoutSchedule","required":["interval"],"type":"object","properties":{"interval":{"type":"string","description":"How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`.","nullable":true,"enum":["daily","manual","monthly","weekly"]},"monthly_payout_days":{"type":"array","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.","items":{"type":"integer"}},"weekly_payout_days":{"type":"array","description":"The days of the week when available funds are paid out, specified as an array, for example, [`monday`, `tuesday`]. Only shown if `interval` is weekly.","items":{"type":"string","enum":["friday","monday","thursday","tuesday","wednesday"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["interval","monthly_payout_days","weekly_payout_days"]},"balance_settings_resource_payouts":{"title":"BalanceSettingsResourcePayouts","required":["minimum_balance_by_currency","schedule","statement_descriptor","status"],"type":"object","properties":{"minimum_balance_by_currency":{"type":"object","additionalProperties":{"type":"integer"},"description":"The minimum balance amount to retain per currency after automatic payouts. Only funds that exceed these amounts are paid out. Learn more about the [minimum balances for automatic payouts](/payouts/minimum-balances-for-automatic-payouts).","nullable":true},"schedule":{"description":"Details on when funds from charges are available, and when they are paid out to an external account. See our [Setting Bank and Debit Card Payouts](https://docs.stripe.com/connect/bank-transfers#payout-information) documentation for details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/balance_settings_resource_payout_schedule"}]},"statement_descriptor":{"maxLength":5000,"type":"string","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.","nullable":true},"status":{"type":"string","description":"Whether the funds in this account can be paid out.","enum":["disabled","enabled"]}},"description":"","x-expandableFields":["schedule"],"x-stripeMostCommon":["minimum_balance_by_currency","schedule","statement_descriptor","status"]},"balance_settings_resource_settlement_timing":{"title":"BalanceSettingsResourceSettlementTiming","required":["delay_days"],"type":"object","properties":{"delay_days":{"type":"integer","description":"The number of days charge funds are held before becoming available."},"delay_days_override":{"type":"integer","description":"The number of days charge funds are held before becoming available. If present, overrides the default, or minimum available, for the account."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["delay_days","delay_days_override"]},"balance_transaction":{"title":"BalanceTransaction","required":["amount","available_on","balance_type","created","currency","description","exchange_rate","fee","fee_details","id","net","object","reporting_category","source","status","type"],"type":"object","properties":{"amount":{"type":"integer","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."},"available_on":{"type":"integer","description":"The date that the transaction's net funds become available in the Stripe balance.","format":"unix-time"},"balance_type":{"type":"string","description":"The balance that this transaction impacts.","enum":["issuing","payments","refund_and_dispute_prefunding","risk_reserved"],"x-stripeBypassValidation":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"exchange_rate":{"type":"number","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},"fee":{"type":"integer","description":"Fees (in cents (or local equivalent)) paid for this transaction. Represented as a positive integer when assessed."},"fee_details":{"type":"array","description":"Detailed breakdown of fees (in cents (or local equivalent)) paid for this transaction.","items":{"$ref":"#/components/schemas/fee"}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"net":{"type":"integer","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`"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["balance_transaction"]},"reporting_category":{"maxLength":5000,"type":"string","description":"Learn more about how [reporting categories](https://stripe.com/docs/reports/reporting-categories) can help you understand balance transactions from an accounting perspective."},"source":{"description":"This transaction relates to the Stripe object.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction_source"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction_source"}]}},"status":{"maxLength":5000,"type":"string","description":"The transaction's net funds status in the Stripe balance, which are either `available` or `pending`."},"type":{"type":"string","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`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `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","payout_minimum_balance_hold","payout_minimum_balance_release","refund","refund_failure","reserve_hold","reserve_release","reserve_transaction","reserved_funds","stripe_balance_payment_debit","stripe_balance_payment_debit_reversal","stripe_fee","stripe_fx_fee","tax_fee","topup","topup_reversal","transfer","transfer_cancel","transfer_failure","transfer_refund"]}},"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://docs.stripe.com/reports/balance-transaction-types)","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":{"title":"Polymorphic","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"}],"x-stripeBypassValidation":true,"x-stripeResource":{"class_name":"BalanceTransactionSource"}},"bank_account":{"title":"BankAccount","required":["account_holder_name","account_holder_type","account_type","bank_name","country","currency","fingerprint","id","last4","object","routing_number","status"],"type":"object","properties":{"account":{"description":"The account this bank account belongs to. Only applicable on Accounts (not customers or recipients) This property is only available when returned as an [External Account](/api/external_account_bank_accounts/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"account_holder_name":{"maxLength":5000,"type":"string","description":"The name of the person or business that owns the bank account.","nullable":true},"account_holder_type":{"maxLength":5000,"type":"string","description":"The type of entity that holds the account. This can be either `individual` or `company`.","nullable":true},"account_type":{"maxLength":5000,"type":"string","description":"The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.","nullable":true},"available_payout_methods":{"type":"array","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.","nullable":true,"items":{"type":"string","enum":["instant","standard"]}},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the routing number (e.g., `WELLS FARGO`).","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in."},"currency":{"type":"string","description":"Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.","format":"currency"},"customer":{"description":"The ID of the customer that the bank account is associated with.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"default_for_currency":{"type":"boolean","description":"Whether this bank account is the default external account for its currency.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"future_requirements":{"description":"Information about the [upcoming new requirements for the bank account](https://docs.stripe.com/connect/custom-accounts/future-requirements), including what information needs to be collected, and by when.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/external_account_requirements"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the bank account number."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["bank_account"]},"requirements":{"description":"Information about the requirements for the bank account, including what information needs to be collected.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/external_account_requirements"}]},"routing_number":{"maxLength":5000,"type":"string","description":"The routing transit number for the bank account.","nullable":true},"status":{"maxLength":5000,"type":"string","description":"For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, `tokenized_account_number_deactivated` 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 the status is `tokenized_account_number_deactivated`, the account utilizes a tokenized account number which has been deactivated due to expiration or revocation. This account will need to be reverified to continue using it for money movement. 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`, `verification_failed`, and `tokenized_account_number_deactivated`. 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."}},"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)","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_account_number_details":{"title":"BankConnectionsResourceAccountNumberDetails","required":["expected_expiry_date","identifier_type","status","supported_networks"],"type":"object","properties":{"expected_expiry_date":{"type":"integer","description":"When the account number is expected to expire, if applicable.","format":"unix-time","nullable":true},"identifier_type":{"type":"string","description":"The type of account number associated with the account.","enum":["account_number","tokenized_account_number"]},"status":{"type":"string","description":"Whether the account number is currently active and usable for transactions.","enum":["deactivated","transactable"]},"supported_networks":{"type":"array","description":"The payment networks that the account number can be used for.","items":{"type":"string","enum":["ach"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expected_expiry_date","identifier_type","status","supported_networks"]},"bank_connections_resource_accountholder":{"title":"BankConnectionsResourceAccountholder","required":["type"],"type":"object","properties":{"account":{"description":"The ID of the Stripe account that this account belongs to. Only available when `account_holder.type` is `account`.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"customer":{"description":"The ID for an Account representing a customer that this account belongs to. Only available when `account_holder.type` is `customer`.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string"},"type":{"type":"string","description":"Type of account holder that this account belongs to.","enum":["account","customer"]}},"description":"","x-expandableFields":["account","customer"],"x-stripeMostCommon":["account","customer","customer_account","type"]},"bank_connections_resource_balance":{"title":"BankConnectionsResourceBalance","required":["as_of","current","type"],"type":"object","properties":{"as_of":{"type":"integer","description":"The time that the external institution calculated this balance. Measured in seconds since the Unix epoch.","format":"unix-time"},"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":{"type":"object","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":{"type":"string","description":"The `type` of the balance. An additional hash is included on the balance with a name matching this value.","enum":["cash","credit"]}},"description":"","x-expandableFields":["cash","credit"],"x-stripeMostCommon":["as_of","cash","credit","current","type"]},"bank_connections_resource_balance_api_resource_cash_balance":{"title":"BankConnectionsResourceBalanceAPIResourceCashBalance","required":["available"],"type":"object","properties":{"available":{"type":"object","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["available"]},"bank_connections_resource_balance_api_resource_credit_balance":{"title":"BankConnectionsResourceBalanceAPIResourceCreditBalance","required":["used"],"type":"object","properties":{"used":{"type":"object","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["used"]},"bank_connections_resource_balance_refresh":{"title":"BankConnectionsResourceBalanceRefresh","required":["last_attempted_at","next_refresh_available_at","status"],"type":"object","properties":{"last_attempted_at":{"type":"integer","description":"The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.","format":"unix-time"},"next_refresh_available_at":{"type":"integer","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},"status":{"type":"string","description":"The status of the last refresh attempt.","enum":["failed","pending","succeeded"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["last_attempted_at","next_refresh_available_at","status"]},"bank_connections_resource_link_account_session_filters":{"title":"BankConnectionsResourceLinkAccountSessionFilters","required":["account_subcategories","countries"],"type":"object","properties":{"account_subcategories":{"type":"array","description":"Restricts the Session to subcategories of accounts that can be linked. Valid subcategories are: `checking`, `savings`, `mortgage`, `line_of_credit`, `credit_card`.","nullable":true,"items":{"type":"string","enum":["checking","credit_card","line_of_credit","mortgage","savings"]}},"countries":{"type":"array","description":"List of countries from which to filter accounts.","nullable":true,"items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_subcategories","countries"]},"bank_connections_resource_ownership_refresh":{"title":"BankConnectionsResourceOwnershipRefresh","required":["last_attempted_at","next_refresh_available_at","status"],"type":"object","properties":{"last_attempted_at":{"type":"integer","description":"The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.","format":"unix-time"},"next_refresh_available_at":{"type":"integer","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},"status":{"type":"string","description":"The status of the last refresh attempt.","enum":["failed","pending","succeeded"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["last_attempted_at","next_refresh_available_at","status"]},"bank_connections_resource_transaction_refresh":{"title":"BankConnectionsResourceTransactionRefresh","required":["id","last_attempted_at","next_refresh_available_at","status"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"last_attempted_at":{"type":"integer","description":"The time at which the last refresh attempt was initiated. Measured in seconds since the Unix epoch.","format":"unix-time"},"next_refresh_available_at":{"type":"integer","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},"status":{"type":"string","description":"The status of the last refresh attempt.","enum":["failed","pending","succeeded"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","last_attempted_at","next_refresh_available_at","status"]},"bank_connections_resource_transaction_resource_status_transitions":{"title":"BankConnectionsResourceTransactionResourceStatusTransitions","required":["posted_at","void_at"],"type":"object","properties":{"posted_at":{"type":"integer","description":"Time at which this transaction posted. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"void_at":{"type":"integer","description":"Time at which this transaction was voided. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["posted_at","void_at"]},"billing.alert":{"title":"ThresholdsResourceAlert","required":["alert_type","id","livemode","object","status","title","usage_threshold"],"type":"object","properties":{"alert_type":{"type":"string","description":"Defines the type of the alert.","enum":["usage_threshold"],"x-stripeBypassValidation":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.alert"]},"status":{"type":"string","description":"Status of the alert. This can be active, inactive or archived.","nullable":true,"enum":["active","archived","inactive"]},"title":{"maxLength":5000,"type":"string","description":"Title of the alert."},"usage_threshold":{"description":"Encapsulates configuration of the alert to monitor usage on a specific [Billing Meter](https://docs.stripe.com/api/billing/meter).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/thresholds_resource_usage_threshold_config"}]}},"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.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.alert_triggered"}},"description":"Occurs whenever your custom alert threshold is met.","x-expandableFields":[],"x-stripeEvent":{"type":"billing.alert.triggered"}},"billing.alert_triggered":{"title":"ThresholdsResourceAlert","required":["alert","created","customer","livemode","object","value"],"type":"object","properties":{"alert":{"$ref":"#/components/schemas/billing.alert"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer":{"maxLength":5000,"type":"string","description":"ID of customer for which the alert triggered"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.alert_triggered"]},"value":{"type":"integer","description":"The value triggering the alert"}},"description":"","x-expandableFields":["alert"],"x-stripeMostCommon":["alert","created","customer","livemode","object","value"],"x-stripeResource":{"class_name":"AlertTriggered","in_package":"Billing"}},"billing.credit_balance_summary":{"title":"CreditBalanceSummary","required":["balances","customer","customer_account","livemode","object"],"type":"object","properties":{"balances":{"type":"array","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"}},"customer":{"description":"The customer the balance is for.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The account the balance is for.","nullable":true},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.credit_balance_summary"]}},"description":"Indicates the billing credit balance for billing credits granted to a customer.","x-expandableFields":["balances","customer"],"x-resourceId":"billing.credit_balance_summary","x-stripeMostCommon":["balances","customer","customer_account","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":{"title":"CreditBalanceTransaction","required":["created","credit","credit_grant","debit","effective_at","id","livemode","object","test_clock","type"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"credit":{"description":"Credit details for this credit balance transaction. Only present if type is `credit`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_credit_grants_resource_balance_credit"}]},"credit_grant":{"description":"The credit grant associated with this credit balance transaction.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/billing.credit_grant"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/billing.credit_grant"}]}},"debit":{"description":"Debit details for this credit balance transaction. Only present if type is `debit`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_credit_grants_resource_balance_debit"}]},"effective_at":{"type":"integer","description":"The effective time of this credit balance transaction.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.credit_balance_transaction"]},"test_clock":{"description":"ID of the test clock this credit balance transaction belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}},"type":{"type":"string","description":"The type of credit balance transaction (credit or debit).","nullable":true,"enum":["credit","debit"]}},"description":"A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant.","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_balance_transaction.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.credit_balance_transaction"}},"description":"Occurs when a credit balance transaction is created","x-expandableFields":[],"x-stripeEvent":{"type":"billing.credit_balance_transaction.created"}},"billing.credit_grant":{"title":"CreditGrant","required":["amount","applicability_config","category","created","customer","customer_account","effective_at","expires_at","id","livemode","metadata","name","object","test_clock","updated","voided_at"],"type":"object","properties":{"amount":{"$ref":"#/components/schemas/billing_credit_grants_resource_amount"},"applicability_config":{"$ref":"#/components/schemas/billing_credit_grants_resource_applicability_config"},"category":{"type":"string","description":"The category of this credit grant. This is for tracking purposes and isn't displayed to the customer.","enum":["paid","promotional"]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer":{"description":"ID of the customer receiving the billing credits.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the account representing the customer receiving the billing credits","nullable":true},"effective_at":{"type":"integer","description":"The time when the billing credits become effective-when they're eligible for use.","format":"unix-time","nullable":true},"expires_at":{"type":"integer","description":"The time when the billing credits expire. If not present, the billing credits don't expire.","format":"unix-time","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"name":{"maxLength":5000,"type":"string","description":"A descriptive name shown in dashboard.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.credit_grant"]},"priority":{"type":"integer","description":"The priority for applying this credit grant. The highest priority is 0 and the lowest is 100.","nullable":true},"test_clock":{"description":"ID of the test clock this credit grant belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}},"updated":{"type":"integer","description":"Time at which the object was last updated. Measured in seconds since the Unix epoch.","format":"unix-time"},"voided_at":{"type":"integer","description":"The time when this credit grant was voided. If not present, the credit grant hasn't been voided.","format":"unix-time","nullable":true}},"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)","x-expandableFields":["amount","applicability_config","customer","test_clock"],"x-resourceId":"billing.credit_grant","x-stripeMostCommon":["amount","applicability_config","category","created","customer","customer_account","effective_at","expires_at","id","livemode","metadata","name","object","priority","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.credit_grant.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.credit_grant"}},"description":"Occurs when a credit grant is created","x-expandableFields":[],"x-stripeEvent":{"type":"billing.credit_grant.created"}},"billing.credit_grant.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.credit_grant"}},"description":"Occurs when a credit grant is updated","x-expandableFields":[],"x-stripeEvent":{"type":"billing.credit_grant.updated"}},"billing.meter":{"title":"BillingMeter","required":["created","customer_mapping","default_aggregation","display_name","event_name","event_time_window","id","livemode","object","status","status_transitions","updated","value_settings"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_mapping":{"$ref":"#/components/schemas/billing_meter_resource_customer_mapping_settings"},"default_aggregation":{"$ref":"#/components/schemas/billing_meter_resource_aggregation_settings"},"display_name":{"maxLength":5000,"type":"string","description":"The meter's name."},"event_name":{"maxLength":5000,"type":"string","description":"The name of the meter event to record usage for. Corresponds with the `event_name` field on meter events."},"event_time_window":{"type":"string","description":"The time window which meter events have been pre-aggregated for, if any.","nullable":true,"enum":["day","hour"]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.meter"]},"status":{"type":"string","description":"The meter's status.","enum":["active","inactive"]},"status_transitions":{"$ref":"#/components/schemas/billing_meter_resource_billing_meter_status_transitions"},"updated":{"type":"integer","description":"Time at which the object was last updated. Measured in seconds since the Unix epoch.","format":"unix-time"},"value_settings":{"$ref":"#/components/schemas/billing_meter_resource_billing_meter_value"}},"description":"Meters specify how to aggregate meter events over a billing period. Meter events represent the actions that customers take in your system. Meters attach to prices and form the basis of the bill.\n\nRelated guide: [Usage based billing](https://docs.stripe.com/billing/subscriptions/usage-based)","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.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.meter"}},"description":"Occurs when a meter is created","x-expandableFields":[],"x-stripeEvent":{"type":"billing.meter.created"}},"billing.meter.deactivated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.meter"}},"description":"Occurs when a meter is deactivated","x-expandableFields":[],"x-stripeEvent":{"type":"billing.meter.deactivated"}},"billing.meter.reactivated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.meter"}},"description":"Occurs when a meter is reactivated","x-expandableFields":[],"x-stripeEvent":{"type":"billing.meter.reactivated"}},"billing.meter.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing.meter"}},"description":"Occurs when a meter is updated","x-expandableFields":[],"x-stripeEvent":{"type":"billing.meter.updated"}},"billing.meter_event":{"title":"BillingMeterEvent","required":["created","event_name","identifier","livemode","object","payload","timestamp"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"event_name":{"maxLength":100,"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"identifier":{"maxLength":5000,"type":"string","description":"A unique identifier for the event."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.meter_event"]},"payload":{"type":"object","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://docs.stripe.com/billing/subscriptions/usage-based/meters/configure#meter-configuration-attributes)."},"timestamp":{"type":"integer","description":"The timestamp passed in when creating the event. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"Meter events represent actions that customers take in your system. You can use meter events to bill a customer based on their usage. Meter events are associated with billing meters, which define both the contents of the event’s payload and how to aggregate those events.","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":{"title":"BillingMeterEventAdjustment","required":["cancel","event_name","livemode","object","status","type"],"type":"object","properties":{"cancel":{"description":"Specifies which event to cancel.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_meter_resource_billing_meter_event_adjustment_cancel"}]},"event_name":{"maxLength":100,"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.meter_event_adjustment"]},"status":{"type":"string","description":"The meter event adjustment's status.","enum":["complete","pending"]},"type":{"type":"string","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"]}},"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.","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":{"title":"BillingMeterEventSummary","required":["aggregated_value","end_time","id","livemode","meter","object","start_time"],"type":"object","properties":{"aggregated_value":{"type":"number","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`."},"end_time":{"type":"integer","description":"End timestamp for this event summary (exclusive). Must be aligned with minute boundaries.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"meter":{"maxLength":5000,"type":"string","description":"The meter associated with this event summary."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing.meter_event_summary"]},"start_time":{"type":"integer","description":"Start timestamp for this event summary (inclusive). Must be aligned with minute boundaries.","format":"unix-time"}},"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.\n\nNote: Meters events are aggregated asynchronously so the meter event summaries provide an eventually consistent view of the reported usage.","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_bill_resource_invoice_item_parents_invoice_item_parent":{"title":"BillingBillResourceInvoiceItemParentsInvoiceItemParent","required":["subscription_details","type"],"type":"object","properties":{"subscription_details":{"description":"Details about the subscription that generated this invoice item","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoice_item_parents_invoice_item_subscription_parent"}]},"type":{"type":"string","description":"The type of parent that generated this invoice item","enum":["subscription_details"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["subscription_details"],"x-stripeMostCommon":["subscription_details","type"]},"billing_bill_resource_invoice_item_parents_invoice_item_subscription_parent":{"title":"BillingBillResourceInvoiceItemParentsInvoiceItemSubscriptionParent","required":["subscription"],"type":"object","properties":{"subscription":{"maxLength":5000,"type":"string","description":"The subscription that generated this invoice item"},"subscription_item":{"maxLength":5000,"type":"string","description":"The subscription item that generated this invoice item"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["subscription","subscription_item"]},"billing_bill_resource_invoicing_lines_common_credited_items":{"title":"BillingBillResourceInvoicingLinesCommonCreditedItems","required":["invoice","invoice_line_items"],"type":"object","properties":{"invoice":{"maxLength":5000,"type":"string","description":"Invoice containing the credited invoice line items"},"invoice_line_items":{"type":"array","description":"Credited invoice line items","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["invoice","invoice_line_items"]},"billing_bill_resource_invoicing_lines_common_proration_details":{"title":"BillingBillResourceInvoicingLinesCommonProrationDetails","required":["credited_items"],"type":"object","properties":{"credited_items":{"description":"For a credit proration `line_item`, the original debit line_items to which the credit proration applies.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_lines_common_credited_items"}]}},"description":"","x-expandableFields":["credited_items"],"x-stripeMostCommon":["credited_items"]},"billing_bill_resource_invoicing_lines_parents_invoice_line_item_invoice_item_parent":{"title":"BillingBillResourceInvoicingLinesParentsInvoiceLineItemInvoiceItemParent","required":["invoice_item","proration","proration_details","subscription"],"type":"object","properties":{"invoice_item":{"maxLength":5000,"type":"string","description":"The invoice item that generated this line item"},"proration":{"type":"boolean","description":"Whether this is a proration"},"proration_details":{"description":"Additional details for proration line items","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_lines_common_proration_details"}]},"subscription":{"maxLength":5000,"type":"string","description":"The subscription that the invoice item belongs to","nullable":true}},"description":"","x-expandableFields":["proration_details"],"x-stripeMostCommon":["invoice_item","proration","proration_details","subscription"]},"billing_bill_resource_invoicing_lines_parents_invoice_line_item_parent":{"title":"BillingBillResourceInvoicingLinesParentsInvoiceLineItemParent","required":["invoice_item_details","subscription_item_details","type"],"type":"object","properties":{"invoice_item_details":{"description":"Details about the invoice item that generated this line item","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_lines_parents_invoice_line_item_invoice_item_parent"}]},"subscription_item_details":{"description":"Details about the subscription item that generated this line item","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_lines_parents_invoice_line_item_subscription_item_parent"}]},"type":{"type":"string","description":"The type of parent that generated this line item","enum":["invoice_item_details","subscription_item_details"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["invoice_item_details","subscription_item_details"],"x-stripeMostCommon":["invoice_item_details","subscription_item_details","type"]},"billing_bill_resource_invoicing_lines_parents_invoice_line_item_subscription_item_parent":{"title":"BillingBillResourceInvoicingLinesParentsInvoiceLineItemSubscriptionItemParent","required":["invoice_item","proration","proration_details","subscription","subscription_item"],"type":"object","properties":{"invoice_item":{"maxLength":5000,"type":"string","description":"The invoice item that generated this line item","nullable":true},"proration":{"type":"boolean","description":"Whether this is a proration"},"proration_details":{"description":"Additional details for proration line items","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_lines_common_proration_details"}]},"subscription":{"maxLength":5000,"type":"string","description":"The subscription that the subscription item belongs to","nullable":true},"subscription_item":{"maxLength":5000,"type":"string","description":"The subscription item that generated this line item"}},"description":"","x-expandableFields":["proration_details"],"x-stripeMostCommon":["invoice_item","proration","proration_details","subscription","subscription_item"]},"billing_bill_resource_invoicing_parents_invoice_parent":{"title":"BillingBillResourceInvoicingParentsInvoiceParent","required":["quote_details","subscription_details","type"],"type":"object","properties":{"quote_details":{"description":"Details about the quote that generated this invoice","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_parents_invoice_quote_parent"}]},"subscription_details":{"description":"Details about the subscription that generated this invoice","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_parents_invoice_subscription_parent"}]},"type":{"type":"string","description":"The type of parent that generated this invoice","enum":["quote_details","subscription_details"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["quote_details","subscription_details"],"x-stripeMostCommon":["quote_details","subscription_details","type"]},"billing_bill_resource_invoicing_parents_invoice_quote_parent":{"title":"BillingBillResourceInvoicingParentsInvoiceQuoteParent","required":["quote"],"type":"object","properties":{"quote":{"maxLength":5000,"type":"string","description":"The quote that generated this invoice"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["quote"]},"billing_bill_resource_invoicing_parents_invoice_subscription_parent":{"title":"BillingBillResourceInvoicingParentsInvoiceSubscriptionParent","required":["metadata","subscription"],"type":"object","properties":{"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"subscription":{"description":"The subscription that generated this invoice","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription"}]}},"subscription_proration_date":{"type":"integer","description":"Only set for upcoming invoices that preview prorations. The time used to calculate prorations.","format":"unix-time"}},"description":"","x-expandableFields":["subscription"],"x-stripeMostCommon":["metadata","subscription","subscription_proration_date"]},"billing_bill_resource_invoicing_pricing_pricing":{"title":"BillingBillResourceInvoicingPricingPricing","required":["type","unit_amount_decimal"],"type":"object","properties":{"price_details":{"$ref":"#/components/schemas/billing_bill_resource_invoicing_pricing_pricing_price_details"},"type":{"type":"string","description":"The type of the pricing details.","enum":["price_details"],"x-stripeBypassValidation":true},"unit_amount_decimal":{"type":"string","description":"The unit amount (in the `currency` specified) of the item which contains a decimal value with at most 12 decimal places.","format":"decimal","nullable":true}},"description":"","x-expandableFields":["price_details"],"x-stripeMostCommon":["price_details","type","unit_amount_decimal"]},"billing_bill_resource_invoicing_pricing_pricing_price_details":{"title":"BillingBillResourceInvoicingPricingPricingPriceDetails","required":["price","product"],"type":"object","properties":{"price":{"description":"The ID of the price this item is associated with.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/price"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/price"}]}},"product":{"maxLength":5000,"type":"string","description":"The ID of the product this item is associated with."}},"description":"","x-expandableFields":["price"],"x-stripeMostCommon":["price","product"]},"billing_bill_resource_invoicing_taxes_tax":{"title":"BillingBillResourceInvoicingTaxesTax","required":["amount","tax_behavior","tax_rate_details","taxability_reason","taxable_amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the tax, in cents (or local equivalent)."},"tax_behavior":{"type":"string","description":"Whether this tax is inclusive or exclusive.","enum":["exclusive","inclusive"]},"tax_rate_details":{"description":"Additional details about the tax rate. Only present when `type` is `tax_rate_details`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_taxes_tax_rate_details"}]},"taxability_reason":{"type":"string","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_available","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"],"x-stripeBypassValidation":true},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent).","nullable":true},"type":{"type":"string","description":"The type of tax information.","enum":["tax_rate_details"]}},"description":"","x-expandableFields":["tax_rate_details"],"x-stripeMostCommon":["amount","tax_behavior","tax_rate_details","taxability_reason","taxable_amount","type"]},"billing_bill_resource_invoicing_taxes_tax_rate_details":{"title":"BillingBillResourceInvoicingTaxesTaxRateDetails","required":["tax_rate"],"type":"object","properties":{"tax_rate":{"maxLength":5000,"type":"string","description":"ID of the tax rate"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["tax_rate"]},"billing_clocks_resource_status_details_advancing_status_details":{"title":"BillingClocksResourceStatusDetailsAdvancingStatusDetails","required":["target_frozen_time"],"type":"object","properties":{"target_frozen_time":{"type":"integer","description":"The `frozen_time` that the Test Clock is advancing towards.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["target_frozen_time"]},"billing_clocks_resource_status_details_status_details":{"title":"BillingClocksResourceStatusDetailsStatusDetails","type":"object","properties":{"advancing":{"$ref":"#/components/schemas/billing_clocks_resource_status_details_advancing_status_details"}},"description":"","x-expandableFields":["advancing"],"x-stripeMostCommon":["advancing"]},"billing_credit_grants_resource_amount":{"title":"BillingCreditGrantsResourceAmount","required":["monetary","type"],"type":"object","properties":{"monetary":{"description":"The monetary amount.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_credit_grants_resource_monetary_amount"}]},"type":{"type":"string","description":"The type of this amount. We currently only support `monetary` billing credits.","enum":["monetary"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["monetary"],"x-stripeMostCommon":["monetary","type"]},"billing_credit_grants_resource_applicability_config":{"title":"BillingCreditGrantsResourceApplicabilityConfig","required":["scope"],"type":"object","properties":{"scope":{"$ref":"#/components/schemas/billing_credit_grants_resource_scope"}},"description":"","x-expandableFields":["scope"],"x-stripeMostCommon":["scope"]},"billing_credit_grants_resource_applicable_price":{"title":"BillingCreditGrantsResourceApplicablePrice","required":["id"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id"]},"billing_credit_grants_resource_balance_credit":{"title":"BillingCreditGrantsResourceBalanceCredit","required":["amount","credits_application_invoice_voided","type"],"type":"object","properties":{"amount":{"$ref":"#/components/schemas/billing_credit_grants_resource_amount"},"credits_application_invoice_voided":{"description":"Details of the invoice to which the reinstated credits were originally applied. Only present if `type` is `credits_application_invoice_voided`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_credit_grants_resource_balance_credits_application_invoice_voided"}]},"type":{"type":"string","description":"The type of credit transaction.","enum":["credits_application_invoice_voided","credits_granted"]}},"description":"","x-expandableFields":["amount","credits_application_invoice_voided"],"x-stripeMostCommon":["amount","credits_application_invoice_voided","type"]},"billing_credit_grants_resource_balance_credits_application_invoice_voided":{"title":"BillingCreditGrantsResourceBalanceCreditsApplicationInvoiceVoided","required":["invoice","invoice_line_item"],"type":"object","properties":{"invoice":{"description":"The invoice to which the reinstated billing credits were originally applied.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"invoice_line_item":{"maxLength":5000,"type":"string","description":"The invoice line item to which the reinstated billing credits were originally applied."}},"description":"","x-expandableFields":["invoice"],"x-stripeMostCommon":["invoice","invoice_line_item"]},"billing_credit_grants_resource_balance_credits_applied":{"title":"BillingCreditGrantsResourceBalanceCreditsApplied","required":["invoice","invoice_line_item"],"type":"object","properties":{"invoice":{"description":"The invoice to which the billing credits were applied.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"invoice_line_item":{"maxLength":5000,"type":"string","description":"The invoice line item to which the billing credits were applied."}},"description":"","x-expandableFields":["invoice"],"x-stripeMostCommon":["invoice","invoice_line_item"]},"billing_credit_grants_resource_balance_debit":{"title":"BillingCreditGrantsResourceBalanceDebit","required":["amount","credits_applied","type"],"type":"object","properties":{"amount":{"$ref":"#/components/schemas/billing_credit_grants_resource_amount"},"credits_applied":{"description":"Details of how the billing credits were applied to an invoice. Only present if `type` is `credits_applied`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_credit_grants_resource_balance_credits_applied"}]},"type":{"type":"string","description":"The type of debit transaction.","enum":["credits_applied","credits_expired","credits_voided"]}},"description":"","x-expandableFields":["amount","credits_applied"],"x-stripeMostCommon":["amount","credits_applied","type"]},"billing_credit_grants_resource_monetary_amount":{"title":"BillingCreditGrantsResourceMonetaryAmount","required":["currency","value"],"type":"object","properties":{"currency":{"maxLength":5000,"type":"string","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)."},"value":{"type":"integer","description":"A positive integer representing the amount."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["currency","value"]},"billing_credit_grants_resource_scope":{"title":"BillingCreditGrantsResourceScope","type":"object","properties":{"price_type":{"type":"string","description":"The price type that credit grants can apply to. 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. Cannot be used in combination with `prices`.","enum":["metered"]},"prices":{"type":"array","description":"The prices that credit grants can apply to. We currently only support `metered` prices. This refers to prices that have a [Billing Meter](https://docs.stripe.com/api/billing/meter) attached to them. Cannot be used in combination with `price_type`.","items":{"$ref":"#/components/schemas/billing_credit_grants_resource_applicable_price"}}},"description":"","x-expandableFields":["prices"],"x-stripeMostCommon":["price_type","prices"]},"billing_details":{"title":"billing_details","required":["address","email","name","phone","tax_id"],"type":"object","properties":{"address":{"description":"Billing address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"email":{"maxLength":5000,"type":"string","description":"Email address.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Full name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"Billing phone number (including extension).","nullable":true},"tax_id":{"maxLength":5000,"type":"string","description":"Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.","nullable":true}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","email","name","phone","tax_id"]},"billing_meter_resource_aggregation_settings":{"title":"BillingMeterResourceAggregationSettings","required":["formula"],"type":"object","properties":{"formula":{"type":"string","description":"Specifies how events are aggregated.","enum":["count","last","sum"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["formula"]},"billing_meter_resource_billing_meter_event_adjustment_cancel":{"title":"BillingMeterResourceBillingMeterEventAdjustmentCancel","required":["identifier"],"type":"object","properties":{"identifier":{"maxLength":100,"type":"string","description":"Unique identifier for the event.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["identifier"]},"billing_meter_resource_billing_meter_status_transitions":{"title":"BillingMeterResourceBillingMeterStatusTransitions","required":["deactivated_at"],"type":"object","properties":{"deactivated_at":{"type":"integer","description":"The time the meter was deactivated, if any. Measured in seconds since Unix epoch.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["deactivated_at"]},"billing_meter_resource_billing_meter_value":{"title":"BillingMeterResourceBillingMeterValue","required":["event_payload_key"],"type":"object","properties":{"event_payload_key":{"maxLength":5000,"type":"string","description":"The key in the meter event payload to use as the value for this meter."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["event_payload_key"]},"billing_meter_resource_customer_mapping_settings":{"title":"BillingMeterResourceCustomerMappingSettings","required":["event_payload_key","type"],"type":"object","properties":{"event_payload_key":{"maxLength":5000,"type":"string","description":"The key in the meter event payload to use for mapping the event to a customer."},"type":{"type":"string","description":"The method for mapping a meter event to a customer.","enum":["by_id"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["event_payload_key","type"]},"billing_portal.configuration":{"title":"PortalConfiguration","required":["active","application","business_profile","created","default_return_url","features","id","is_default","livemode","login_page","metadata","name","object","updated"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the configuration is active and can be used to create portal sessions."},"application":{"description":"ID of the Connect Application that created the configuration.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}]}},"business_profile":{"$ref":"#/components/schemas/portal_business_profile"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"default_return_url":{"maxLength":5000,"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://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url) when creating the session.","nullable":true},"features":{"$ref":"#/components/schemas/portal_features"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"is_default":{"type":"boolean","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."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"login_page":{"$ref":"#/components/schemas/portal_login_page"},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"name":{"maxLength":5000,"type":"string","description":"The name of the configuration.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing_portal.configuration"]},"updated":{"type":"integer","description":"Time at which the object was last updated. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"A portal configuration describes the functionality and behavior you embed in a portal session. Related guide: [Configure the customer portal](/customer-management/configure-portal).","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","name","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing_portal.configuration"}},"description":"Occurs whenever a portal configuration is created.","x-expandableFields":[],"x-stripeEvent":{"type":"billing_portal.configuration.created"}},"billing_portal.configuration.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing_portal.configuration"}},"description":"Occurs whenever a portal configuration is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"billing_portal.configuration.updated"}},"billing_portal.session":{"title":"PortalSession","required":["configuration","created","customer","customer_account","flow","id","livemode","locale","object","on_behalf_of","return_url","url"],"type":"object","properties":{"configuration":{"description":"The configuration used by this session, describing the features available.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/billing_portal.configuration"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/billing_portal.configuration"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer for this session."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account for this session.","nullable":true},"flow":{"description":"Information about a specific flow for the customer to go through. See the [docs](https://docs.stripe.com/customer-management/portal-deep-links) to learn more about using customer portal deep links and flows.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_flow"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"locale":{"type":"string","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.","nullable":true,"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"]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["billing_portal.session"]},"on_behalf_of":{"maxLength":5000,"type":"string","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://docs.stripe.com/connect/separate-charges-and-transfers#settlement-merchant). Use the [Accounts API](https://docs.stripe.com/api/accounts/object#account_object-settings-branding) to modify the `on_behalf_of` account's branding settings, which the portal displays.","nullable":true},"return_url":{"maxLength":5000,"type":"string","description":"The URL to redirect customers to when they click on the portal's link to return to your website.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"The short-lived URL of the session that gives customers access to the customer portal."}},"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)","x-expandableFields":["configuration","flow"],"x-resourceId":"billing_portal.session","x-stripeMostCommon":["configuration","created","customer","customer_account","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/billing_portal.session"}},"description":"Occurs whenever a portal session is created.","x-expandableFields":[],"x-stripeEvent":{"type":"billing_portal.session.created"}},"cancellation_details":{"title":"CancellationDetails","required":["comment","feedback","reason"],"type":"object","properties":{"comment":{"maxLength":5000,"type":"string","description":"Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.","nullable":true},"feedback":{"type":"string","description":"The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.","nullable":true,"enum":["customer_service","low_quality","missing_features","other","switched_service","too_complex","too_expensive","unused"]},"reason":{"type":"string","description":"Why this subscription was canceled.","nullable":true,"enum":["canceled_by_retention_policy","cancellation_requested","payment_disputed","payment_failed"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["comment","feedback","reason"]},"capability":{"title":"AccountCapability","required":["account","id","object","requested","requested_at","status"],"type":"object","properties":{"account":{"description":"The account for which the capability enables functionality.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"future_requirements":{"$ref":"#/components/schemas/account_capability_future_requirements"},"id":{"maxLength":5000,"type":"string","description":"The identifier for the capability."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["capability"]},"requested":{"type":"boolean","description":"Whether the capability has been requested."},"requested_at":{"type":"integer","description":"Time at which the capability was requested. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"requirements":{"$ref":"#/components/schemas/account_capability_requirements"},"status":{"type":"string","description":"The status of the capability.","enum":["active","inactive","pending","unrequested"],"x-stripeBypassValidation":true}},"description":"This is an object representing a capability for a Stripe account.\n\nRelated guide: [Account capabilities](https://docs.stripe.com/connect/account-capabilities)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/capability"}},"description":"Occurs whenever a capability has new requirements or a new status.","x-expandableFields":[],"x-stripeEvent":{"type":"capability.updated"}},"card":{"title":"Card","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","regulated_status","tokenization_method"],"type":"object","properties":{"account":{"nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"address_city":{"maxLength":5000,"type":"string","description":"City/District/Suburb/Town/Village.","nullable":true},"address_country":{"maxLength":5000,"type":"string","description":"Billing address country, if provided when creating card.","nullable":true},"address_line1":{"maxLength":5000,"type":"string","description":"Address line 1 (Street address/PO Box/Company name).","nullable":true},"address_line1_check":{"maxLength":5000,"type":"string","description":"If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"address_line2":{"maxLength":5000,"type":"string","description":"Address line 2 (Apartment/Suite/Unit/Building).","nullable":true},"address_state":{"maxLength":5000,"type":"string","description":"State/County/Province/Region.","nullable":true},"address_zip":{"maxLength":5000,"type":"string","description":"ZIP or postal code.","nullable":true},"address_zip_check":{"maxLength":5000,"type":"string","description":"If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"allow_redisplay":{"type":"string","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”.","nullable":true,"enum":["always","limited","unspecified"]},"available_payout_methods":{"type":"array","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.","nullable":true,"items":{"type":"string","enum":["instant","standard"]}},"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`."},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"currency":{"type":"string","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 when returned as an [External Account](/api/external_account_cards/object) where [controller.is_controller](/api/accounts/object#account_object-controller-is_controller) is `true`.","format":"currency","nullable":true},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"cvc_check":{"maxLength":5000,"type":"string","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).","nullable":true},"default_for_currency":{"type":"boolean","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},"description":{"maxLength":5000,"type":"string","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.)"},"dynamic_last4":{"maxLength":5000,"type":"string","description":"(For tokenized numbers only.) The last four digits of the device account number.","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)"},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)"},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"name":{"maxLength":5000,"type":"string","description":"Cardholder name.","nullable":true},"networks":{"$ref":"#/components/schemas/token_card_networks"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["card"]},"regulated_status":{"type":"string","description":"Status of a card based on the card issuer.","nullable":true,"enum":["regulated","unregulated"]},"status":{"maxLength":5000,"type":"string","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.","nullable":true},"tokenization_method":{"maxLength":5000,"type":"string","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.","nullable":true}},"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://docs.stripe.com/sources/cards)","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":{"title":"card_generated_from_payment_method_details","required":["type"],"type":"object","properties":{"card_present":{"$ref":"#/components/schemas/payment_method_details_card_present"},"type":{"maxLength":5000,"type":"string","description":"The type of payment method transaction-specific details from the transaction that generated this `card` payment method. Always `card_present`."}},"description":"","x-expandableFields":["card_present"],"x-stripeMostCommon":["card_present","type"]},"card_issuing_account_terms_of_service":{"title":"CardIssuingAccountTermsOfService","required":["date","ip"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the account representative accepted the service agreement.","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the account representative accepted the service agreement.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the account representative accepted the service agreement."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","user_agent"]},"card_mandate_payment_method_details":{"title":"card_mandate_payment_method_details","type":"object","properties":{},"description":"","x-expandableFields":[]},"cash_balance":{"title":"cash_balance","required":["available","customer","customer_account","livemode","object","settings"],"type":"object","properties":{"available":{"type":"object","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://docs.stripe.com/currencies#zero-decimal).","nullable":true},"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer whose cash balance this object represents."},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of an Account representing a customer whose cash balance this object represents.","nullable":true},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["cash_balance"]},"settings":{"$ref":"#/components/schemas/customer_balance_customer_balance_settings"}},"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.","x-expandableFields":["settings"],"x-resourceId":"cash_balance","x-stripeMostCommon":["available","customer","customer_account","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/cash_balance"}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"cash_balance.funds_available"}},"charge":{"title":"Charge","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","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"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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)."},"amount_captured":{"type":"integer","description":"Amount in cents (or local equivalent) captured (can be less than the amount attribute on the charge if a partial capture was made)."},"amount_refunded":{"type":"integer","description":"Amount in cents (or local equivalent) refunded (can be less than the amount attribute on the charge if a partial refund was issued)."},"application":{"description":"ID of the Connect application that created the charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"application_fee":{"description":"The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application_fee"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application_fee"}]}},"application_fee_amount":{"type":"integer","description":"The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.","nullable":true},"authorization_code":{"maxLength":5000,"type":"string","description":"Authorization code on the charge."},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"billing_details":{"$ref":"#/components/schemas/billing_details"},"calculated_statement_descriptor":{"maxLength":5000,"type":"string","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.","nullable":true},"captured":{"type":"boolean","description":"If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"customer":{"description":"ID of the customer this charge is for if one exists.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"description":{"maxLength":40000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"disputed":{"type":"boolean","description":"Whether the charge has been disputed."},"failure_balance_transaction":{"description":"ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"failure_code":{"maxLength":5000,"type":"string","description":"Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).","nullable":true},"failure_message":{"maxLength":5000,"type":"string","description":"Message to user further explaining reason for charge failure if available.","nullable":true},"fraud_details":{"description":"Information on fraud assessments for the charge.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/charge_fraud_details"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"level3":{"$ref":"#/components/schemas/level3"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["charge"]},"on_behalf_of":{"description":"The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"outcome":{"description":"Details about whether the payment was accepted, and why. See [understanding declines](https://docs.stripe.com/declines) for details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/charge_outcome"}]},"paid":{"type":"boolean","description":"`true` if the charge succeeded, or was successfully authorized for later capture."},"payment_intent":{"description":"ID of the PaymentIntent associated with this charge, if one exists.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the payment method used in this charge.","nullable":true},"payment_method_details":{"description":"Details about the payment method at the time of the transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details"}]},"presentment_details":{"$ref":"#/components/schemas/payment_flows_payment_intent_presentment_details"},"radar_options":{"$ref":"#/components/schemas/radar_radar_options"},"receipt_email":{"maxLength":5000,"type":"string","description":"This is the email address that the receipt for this charge was sent to.","nullable":true},"receipt_number":{"maxLength":5000,"type":"string","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.","nullable":true},"receipt_url":{"maxLength":5000,"type":"string","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.","nullable":true},"refunded":{"type":"boolean","description":"Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false."},"refunds":{"title":"RefundList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/refund"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"A list of refunds that have been applied to the charge.","nullable":true,"x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"review":{"description":"ID of the review associated with this charge if one exists.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/review"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/review"}]}},"shipping":{"description":"Shipping information for the charge.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shipping"}]},"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,"anyOf":[{"$ref":"#/components/schemas/payment_source"}]},"source_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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/transfer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/transfer"}]}},"statement_descriptor":{"maxLength":5000,"type":"string","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.","nullable":true},"statement_descriptor_suffix":{"maxLength":5000,"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. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.","nullable":true},"status":{"type":"string","description":"The status of the payment is either `succeeded`, `pending`, or `failed`.","enum":["failed","pending","succeeded"]},"transfer":{"description":"ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/transfer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/transfer"}]}},"transfer_data":{"description":"An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/charge_transfer_data"}]},"transfer_group":{"maxLength":5000,"type":"string","description":"A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.","nullable":true}},"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 [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges.\nSome legacy payment flows create Charges directly, which is not recommended for new integrations.","x-expandableFields":["application","application_fee","balance_transaction","billing_details","customer","failure_balance_transaction","fraud_details","level3","on_behalf_of","outcome","payment_intent","payment_method_details","presentment_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","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/charge"}},"description":"Occurs whenever a previously uncaptured charge is captured.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.captured"}},"charge.dispute.closed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/dispute"}},"description":"Occurs when a dispute is closed and the dispute status changes to `lost`, `warning_closed`, or `won`.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.dispute.closed"}},"charge.dispute.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/dispute"}},"description":"Occurs whenever a customer disputes a charge with their bank.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.dispute.created"}},"charge.dispute.funds_reinstated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/dispute"}},"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).","x-expandableFields":[],"x-stripeEvent":{"type":"charge.dispute.funds_reinstated"}},"charge.dispute.funds_withdrawn":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/dispute"}},"description":"Occurs when funds are removed from your account due to a dispute.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.dispute.funds_withdrawn"}},"charge.dispute.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/dispute"}},"description":"Occurs when the dispute is updated (usually with evidence).","x-expandableFields":[],"x-stripeEvent":{"type":"charge.dispute.updated"}},"charge.expired":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/charge"}},"description":"Occurs whenever an uncaptured charge expires.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.expired"}},"charge.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/charge"}},"description":"Occurs whenever a failed charge attempt occurs.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.failed"}},"charge.pending":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/charge"}},"description":"Occurs whenever a pending charge is created.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.pending"}},"charge.refund.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/refund"}},"description":"Occurs whenever a refund is updated on selected payment methods. For updates on all refunds, listen to `refund.updated` instead.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.refund.updated"}},"charge.refunded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/charge"}},"description":"Occurs whenever a charge is refunded, including partial refunds. Listen to `refund.created` for information about the refund.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.refunded"}},"charge.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/charge"}},"description":"Occurs whenever a charge is successful.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.succeeded"}},"charge.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/charge"}},"description":"Occurs whenever a charge description or metadata is updated, or upon an asynchronous capture.","x-expandableFields":[],"x-stripeEvent":{"type":"charge.updated"}},"charge_fraud_details":{"title":"ChargeFraudDetails","type":"object","properties":{"stripe_report":{"maxLength":5000,"type":"string","description":"Assessments from Stripe. If set, the value is `fraudulent`."},"user_report":{"maxLength":5000,"type":"string","description":"Assessments reported by you. If set, possible values of are `safe` and `fraudulent`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["stripe_report","user_report"]},"charge_outcome":{"title":"ChargeOutcome","required":["advice_code","network_advice_code","network_decline_code","network_status","reason","seller_message","type"],"type":"object","properties":{"advice_code":{"type":"string","description":"An enumerated value providing a more detailed explanation on [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines).","nullable":true,"enum":["confirm_card_data","do_not_try_again","try_again_later"]},"network_advice_code":{"maxLength":5000,"type":"string","description":"For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.","nullable":true},"network_decline_code":{"maxLength":5000,"type":"string","description":"For charges declined by the network, an alphanumeric code which indicates the reason the charge failed.","nullable":true},"network_status":{"maxLength":5000,"type":"string","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://docs.stripe.com/declines#blocked-payments) after bank authorization, and may temporarily appear as \"pending\" on a cardholder's statement.","nullable":true},"reason":{"maxLength":5000,"type":"string","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 blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://docs.stripe.com/declines) for more details.","nullable":true},"risk_level":{"maxLength":5000,"type":"string","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."},"risk_score":{"type":"integer","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."},"rule":{"description":"The ID of the Radar rule that matched the payment, if applicable.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/rule"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/rule"}]}},"seller_message":{"maxLength":5000,"type":"string","description":"A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.","nullable":true},"type":{"maxLength":5000,"type":"string","description":"Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://docs.stripe.com/declines) and [Radar reviews](https://docs.stripe.com/radar/reviews) for details."}},"description":"","x-expandableFields":["rule"],"x-stripeMostCommon":["advice_code","network_advice_code","network_decline_code","network_status","reason","risk_level","risk_score","rule","seller_message","type"]},"charge_transfer_data":{"title":"ChargeTransferData","required":["amount","destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.","nullable":true},"destination":{"description":"ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}}},"description":"","x-expandableFields":["destination"],"x-stripeMostCommon":["amount","destination"]},"checkout.session":{"title":"Session","required":["adaptive_pricing","after_expiration","allow_promotion_codes","amount_subtotal","amount_total","automatic_tax","billing_address_collection","cancel_url","client_reference_id","client_secret","collected_information","consent","consent_collection","created","currency","currency_conversion","custom_fields","custom_text","customer","customer_account","customer_creation","customer_details","customer_email","discounts","expires_at","id","integration_identifier","invoice","invoice_creation","livemode","locale","metadata","mode","object","origin_context","payment_intent","payment_link","payment_method_collection","payment_method_configuration_details","payment_method_options","payment_method_types","payment_status","permissions","recovered_from","saved_payment_method_options","setup_intent","shipping_address_collection","shipping_cost","shipping_options","status","submit_type","subscription","success_url","total_details","ui_mode","url","wallet_options"],"type":"object","properties":{"adaptive_pricing":{"description":"Settings for price localization with [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_adaptive_pricing"}]},"after_expiration":{"description":"When set, provides configuration for actions to take if this Checkout Session expires.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_after_expiration"}]},"allow_promotion_codes":{"type":"boolean","description":"Enables user redeemable promotion codes.","nullable":true},"amount_subtotal":{"type":"integer","description":"Total of all items before discounts or taxes are applied.","nullable":true},"amount_total":{"type":"integer","description":"Total of all items after discounts and taxes are applied.","nullable":true},"automatic_tax":{"$ref":"#/components/schemas/payment_pages_checkout_session_automatic_tax"},"billing_address_collection":{"type":"string","description":"Describes whether Checkout should collect the customer's billing address. Defaults to `auto`.","nullable":true,"enum":["auto","required"]},"branding_settings":{"$ref":"#/components/schemas/payment_pages_checkout_session_branding_settings"},"cancel_url":{"maxLength":5000,"type":"string","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.","nullable":true},"client_reference_id":{"maxLength":5000,"type":"string","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.","nullable":true},"client_secret":{"maxLength":5000,"type":"string","description":"The client secret of your Checkout Session. Applies to Checkout Sessions with `ui_mode: embedded` or `ui_mode: custom`. For `ui_mode: embedded`, the client secret is to be used when initializing Stripe.js embedded checkout.\n For `ui_mode: custom`, use the client secret with [initCheckout](https://docs.stripe.com/js/custom_checkout/init) on your front end.","nullable":true},"collected_information":{"description":"Information about the customer collected within the Checkout Session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_collected_information"}]},"consent":{"description":"Results of `consent_collection` for this session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_consent"}]},"consent_collection":{"description":"When set, provides configuration for the Checkout Session to gather active consent from customers.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_consent_collection"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency","nullable":true},"currency_conversion":{"description":"Currency conversion details for [Adaptive Pricing](https://docs.stripe.com/payments/checkout/adaptive-pricing) sessions created before 2025-03-31.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_currency_conversion"}]},"custom_fields":{"type":"array","description":"Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.","items":{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_fields"}},"custom_text":{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_text"},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account for this Session.","nullable":true},"customer_creation":{"type":"string","description":"Configure whether a Checkout Session creates a Customer when the Checkout Session completes.","nullable":true,"enum":["always","if_required"]},"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,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_customer_details"}]},"customer_email":{"maxLength":5000,"type":"string","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.","nullable":true},"discounts":{"type":"array","description":"List of coupons and promotion codes attached to the Checkout Session.","nullable":true,"items":{"$ref":"#/components/schemas/payment_pages_checkout_session_discount"}},"excluded_payment_method_types":{"type":"array","description":"A list of the types of payment methods (e.g., `card`) that should be excluded from this Checkout Session. This should only be used when payment methods for this Checkout Session are managed through the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).","items":{"maxLength":5000,"type":"string"}},"expires_at":{"type":"integer","description":"The timestamp at which the Checkout Session will expire.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"integration_identifier":{"maxLength":5000,"type":"string","description":"The integration identifier for this Checkout Session. Multiple Checkout Sessions can have the same integration identifier.","nullable":true},"invoice":{"description":"ID of the invoice created by the Checkout Session, if it exists.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"invoice_creation":{"description":"Details on the state of invoice creation for the Checkout Session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_invoice_creation"}]},"line_items":{"title":"PaymentPagesCheckoutSessionListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"The line items purchased by the customer.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"locale":{"type":"string","description":"The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.","nullable":true,"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"],"x-stripeBypassValidation":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"mode":{"type":"string","description":"The mode of the Checkout Session.","enum":["payment","setup","subscription"],"x-stripeBypassValidation":true},"name_collection":{"$ref":"#/components/schemas/payment_pages_checkout_session_name_collection"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["checkout.session"]},"optional_items":{"type":"array","description":"The optional items presented to the customer at checkout.","nullable":true,"items":{"$ref":"#/components/schemas/payment_pages_checkout_session_optional_item"}},"origin_context":{"type":"string","description":"Where the user is coming from. This informs the optimizations that are applied to the session.","nullable":true,"enum":["mobile_app","web"]},"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://docs.stripe.com/api/checkout/sessions/expire) instead.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"payment_link":{"description":"The ID of the Payment Link that created this Session.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_link"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_link"}]}},"payment_method_collection":{"type":"string","description":"Configure whether a Checkout Session should collect a payment method. Defaults to `always`.","nullable":true,"enum":["always","if_required"]},"payment_method_configuration_details":{"description":"Information about the payment method configuration used for this Checkout session if using dynamic payment methods.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_config_biz_payment_method_configuration_details"}]},"payment_method_options":{"description":"Payment-method-specific configuration for the PaymentIntent or SetupIntent of this CheckoutSession.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/checkout_session_payment_method_options"}]},"payment_method_types":{"type":"array","description":"A list of the types of payment methods (e.g. card) this Checkout\nSession is allowed to accept.","items":{"maxLength":5000,"type":"string"}},"payment_status":{"type":"string","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"]},"permissions":{"description":"This property is used to set up permissions for various actions (e.g., update) on the CheckoutSession object.\n\nFor specific permissions, please refer to their dedicated subsections, such as `permissions.update_shipping_details`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_permissions"}]},"phone_number_collection":{"$ref":"#/components/schemas/payment_pages_checkout_session_phone_number_collection"},"presentment_details":{"$ref":"#/components/schemas/payment_flows_payment_intent_presentment_details"},"recovered_from":{"maxLength":5000,"type":"string","description":"The ID of the original expired Checkout Session that triggered the recovery flow.","nullable":true},"redirect_on_completion":{"type":"string","description":"This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.","enum":["always","if_required","never"]},"return_url":{"maxLength":5000,"type":"string","description":"Applies to Checkout Sessions with `ui_mode: embedded` or `ui_mode: custom`. The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site."},"saved_payment_method_options":{"description":"Controls saved payment method settings for the session. Only available in `payment` and `subscription` mode.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_saved_payment_method_options"}]},"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://docs.stripe.com/api/checkout/sessions/expire) instead.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/setup_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/setup_intent"}]}},"shipping_address_collection":{"description":"When set, provides configuration for Checkout to collect a shipping address from a customer.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_shipping_address_collection"}]},"shipping_cost":{"description":"The details of the customer cost of shipping, including the customer chosen ShippingRate.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_shipping_cost"}]},"shipping_options":{"type":"array","description":"The shipping rate options applied to this Session.","items":{"$ref":"#/components/schemas/payment_pages_checkout_session_shipping_option"}},"status":{"type":"string","description":"The status of the Checkout Session, one of `open`, `complete`, or `expired`.","nullable":true,"enum":["complete","expired","open"]},"submit_type":{"type":"string","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.","nullable":true,"enum":["auto","book","donate","pay","subscribe"]},"subscription":{"description":"The ID of the [Subscription](https://docs.stripe.com/api/subscriptions) for Checkout Sessions in `subscription` mode.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription"}]}},"success_url":{"maxLength":5000,"type":"string","description":"The URL the customer will be directed to after the payment or\nsubscription creation is successful.","nullable":true},"tax_id_collection":{"$ref":"#/components/schemas/payment_pages_checkout_session_tax_id_collection"},"total_details":{"description":"Tax and discount details for the computed total amount.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_total_details"}]},"ui_mode":{"type":"string","description":"The UI mode of the Session. Defaults to `hosted_page`.","nullable":true,"enum":["elements","embedded_page","form","hosted_page"],"x-stripeBypassValidation":true},"url":{"maxLength":5000,"type":"string","description":"The URL to the Checkout Session. Applies to Checkout Sessions with `ui_mode: hosted`. Redirect customers to this URL to take them to Checkout. If you’re using [Custom Domains](https://docs.stripe.com/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.","nullable":true},"wallet_options":{"description":"Wallet-specific configuration for this Checkout Session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/checkout_session_wallet_options"}]}},"description":"A Checkout Session represents your customer's session as they pay for\none-time purchases or subscriptions through [Checkout](https://docs.stripe.com/payments/checkout)\nor [Payment Links](https://docs.stripe.com/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://docs.stripe.com/api/customers), and either the successful\n[PaymentIntent](https://docs.stripe.com/api/payment_intents) or an active\n[Subscription](https://docs.stripe.com/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://docs.stripe.com/checkout/quickstart)","x-expandableFields":["adaptive_pricing","after_expiration","automatic_tax","branding_settings","collected_information","consent","consent_collection","currency_conversion","custom_fields","custom_text","customer","customer_details","discounts","invoice","invoice_creation","line_items","name_collection","optional_items","payment_intent","payment_link","payment_method_configuration_details","payment_method_options","permissions","phone_number_collection","presentment_details","saved_payment_method_options","setup_intent","shipping_address_collection","shipping_cost","shipping_options","subscription","tax_id_collection","total_details","wallet_options"],"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","ui_mode","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/checkout.session"}},"description":"Occurs when a payment intent using a delayed payment method fails.","x-expandableFields":[],"x-stripeEvent":{"type":"checkout.session.async_payment_failed"}},"checkout.session.async_payment_succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/checkout.session"}},"description":"Occurs when a payment intent using a delayed payment method finally succeeds.","x-expandableFields":[],"x-stripeEvent":{"type":"checkout.session.async_payment_succeeded"}},"checkout.session.completed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/checkout.session"}},"description":"Occurs when a Checkout Session has been successfully completed.","x-expandableFields":[],"x-stripeEvent":{"type":"checkout.session.completed"}},"checkout.session.expired":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/checkout.session"}},"description":"Occurs when a Checkout Session is expired.","x-expandableFields":[],"x-stripeEvent":{"type":"checkout.session.expired"}},"checkout_acss_debit_mandate_options":{"title":"CheckoutAcssDebitMandateOptions","required":["interval_description","payment_schedule","transaction_type"],"type":"object","properties":{"custom_mandate_url":{"maxLength":5000,"type":"string","description":"A URL for custom mandate text"},"default_for":{"type":"array","description":"List of Stripe products where this mandate can be selected automatically. Returned when the Session is in `setup` mode.","items":{"type":"string","enum":["invoice","subscription"]}},"interval_description":{"maxLength":5000,"type":"string","description":"Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.","nullable":true},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","nullable":true,"enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","nullable":true,"enum":["business","personal"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom_mandate_url","default_for","interval_description","payment_schedule","transaction_type"]},"checkout_acss_debit_payment_method_options":{"title":"CheckoutAcssDebitPaymentMethodOptions","type":"object","properties":{"currency":{"type":"string","description":"Currency supported by the bank account. Returned when the Session is in `setup` mode.","enum":["cad","usd"]},"mandate_options":{"$ref":"#/components/schemas/checkout_acss_debit_mandate_options"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["currency","mandate_options","setup_future_usage","target_date","verification_method"]},"checkout_affirm_payment_method_options":{"title":"CheckoutAffirmPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_afterpay_clearpay_payment_method_options":{"title":"CheckoutAfterpayClearpayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"],"x-stripeResource":{"class_name":"AfterpayClearpay","in_package":""}},"checkout_alipay_payment_method_options":{"title":"CheckoutAlipayPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_alma_payment_method_options":{"title":"CheckoutAlmaPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"checkout_amazon_pay_payment_method_options":{"title":"CheckoutAmazonPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_au_becs_debit_payment_method_options":{"title":"CheckoutAuBecsDebitPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage","target_date"]},"checkout_bacs_debit_payment_method_options":{"title":"CheckoutBacsDebitPaymentMethodOptions","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/checkout_payment_method_options_mandate_options_bacs_debit"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},"checkout_bancontact_payment_method_options":{"title":"CheckoutBancontactPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_billie_payment_method_options":{"title":"CheckoutBilliePaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"checkout_boleto_payment_method_options":{"title":"CheckoutBoletoPaymentMethodOptions","required":["expires_after_days"],"type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"checkout_card_installments_options":{"title":"CheckoutCardInstallmentsOptions","type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates if installments are enabled"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"checkout_card_payment_method_options":{"title":"CheckoutCardPaymentMethodOptions","required":["request_three_d_secure"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"installments":{"$ref":"#/components/schemas/checkout_card_installments_options"},"request_extended_authorization":{"type":"string","description":"Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.","enum":["if_available","never"]},"request_incremental_authorization":{"type":"string","description":"Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.","enum":["if_available","never"]},"request_multicapture":{"type":"string","description":"Request ability to make [multiple captures](/payments/multicapture) for this CheckoutSession.","enum":["if_available","never"]},"request_overcapture":{"type":"string","description":"Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.","enum":["if_available","never"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"restrictions":{"$ref":"#/components/schemas/payment_pages_private_card_payment_method_options_resource_restrictions"},"setup_future_usage":{"type":"string","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"]},"statement_descriptor_suffix_kana":{"maxLength":5000,"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":{"maxLength":5000,"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."}},"description":"","x-expandableFields":["installments","restrictions"],"x-stripeMostCommon":["capture_method","installments","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"]},"checkout_cashapp_payment_method_options":{"title":"CheckoutCashappPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_customer_balance_bank_transfer_payment_method_options":{"title":"CheckoutCustomerBalanceBankTransferPaymentMethodOptions","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"$ref":"#/components/schemas/payment_method_options_customer_balance_eu_bank_account"},"requested_address_types":{"type":"array","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":{"type":"string","enum":["aba","iban","sepa","sort_code","spei","swift","zengin"],"x-stripeBypassValidation":true}},"type":{"type":"string","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`.","nullable":true,"enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["eu_bank_transfer"],"x-stripeMostCommon":["eu_bank_transfer","requested_address_types","type"]},"checkout_customer_balance_payment_method_options":{"title":"CheckoutCustomerBalancePaymentMethodOptions","required":["funding_type"],"type":"object","properties":{"bank_transfer":{"$ref":"#/components/schemas/checkout_customer_balance_bank_transfer_payment_method_options"},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.","nullable":true,"enum":["bank_transfer"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":["bank_transfer"],"x-stripeMostCommon":["bank_transfer","funding_type","setup_future_usage"]},"checkout_eps_payment_method_options":{"title":"CheckoutEpsPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_fpx_payment_method_options":{"title":"CheckoutFpxPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_giropay_payment_method_options":{"title":"CheckoutGiropayPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_grab_pay_payment_method_options":{"title":"CheckoutGrabPayPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_ideal_payment_method_options":{"title":"CheckoutIdealPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_kakao_pay_payment_method_options":{"title":"CheckoutKakaoPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_klarna_payment_method_options":{"title":"CheckoutKlarnaPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_konbini_payment_method_options":{"title":"CheckoutKonbiniPaymentMethodOptions","required":["expires_after_days"],"type":"object","properties":{"expires_after_days":{"type":"integer","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},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"checkout_kr_card_payment_method_options":{"title":"CheckoutKrCardPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_link_payment_method_options":{"title":"CheckoutLinkPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_link_wallet_options":{"title":"CheckoutLinkWalletOptions","type":"object","properties":{"display":{"type":"string","description":"Describes whether Checkout should display Link. Defaults to `auto`.","enum":["auto","never"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["display"]},"checkout_mobilepay_payment_method_options":{"title":"CheckoutMobilepayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_multibanco_payment_method_options":{"title":"CheckoutMultibancoPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_naver_pay_payment_method_options":{"title":"CheckoutNaverPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_oxxo_payment_method_options":{"title":"CheckoutOxxoPaymentMethodOptions","required":["expires_after_days"],"type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"checkout_p24_payment_method_options":{"title":"CheckoutP24PaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_payco_payment_method_options":{"title":"CheckoutPaycoPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"checkout_payment_method_options_mandate_options_bacs_debit":{"title":"checkout_payment_method_options_mandate_options_bacs_debit","type":"object","properties":{"reference_prefix":{"maxLength":5000,"type":"string","description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference_prefix"],"x-stripeResource":{"class_name":"BacsDebitMandateOptions","in_package":""}},"checkout_payment_method_options_mandate_options_sepa_debit":{"title":"checkout_payment_method_options_mandate_options_sepa_debit","type":"object","properties":{"reference_prefix":{"maxLength":5000,"type":"string","description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference_prefix"],"x-stripeResource":{"class_name":"SepaDebitMandateOptions","in_package":""}},"checkout_paynow_payment_method_options":{"title":"CheckoutPaynowPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_paypal_payment_method_options":{"title":"CheckoutPaypalPaymentMethodOptions","required":["preferred_locale","reference"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"preferred_locale":{"maxLength":5000,"type":"string","description":"Preferred locale of the PayPal checkout page that the customer is redirected to.","nullable":true},"reference":{"maxLength":5000,"type":"string","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.","nullable":true},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","preferred_locale","reference","setup_future_usage"]},"checkout_payto_payment_method_options":{"title":"CheckoutPaytoPaymentMethodOptions","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/mandate_options_payto"},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage"]},"checkout_pix_payment_method_options":{"title":"CheckoutPixPaymentMethodOptions","required":["expires_after_seconds"],"type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax.","enum":["always","never"]},"expires_after_seconds":{"type":"integer","description":"The number of seconds after which Pix payment will expire.","nullable":true},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds","setup_future_usage"]},"checkout_revolut_pay_payment_method_options":{"title":"CheckoutRevolutPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"checkout_samsung_pay_payment_method_options":{"title":"CheckoutSamsungPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"checkout_satispay_payment_method_options":{"title":"CheckoutSatispayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"checkout_sepa_debit_payment_method_options":{"title":"CheckoutSepaDebitPaymentMethodOptions","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/checkout_payment_method_options_mandate_options_sepa_debit"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},"checkout_session_payment_method_options":{"title":"CheckoutSessionPaymentMethodOptions","type":"object","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"},"alma":{"$ref":"#/components/schemas/checkout_alma_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"},"billie":{"$ref":"#/components/schemas/checkout_billie_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"},"payto":{"$ref":"#/components/schemas/checkout_payto_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"},"satispay":{"$ref":"#/components/schemas/checkout_satispay_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"},"twint":{"$ref":"#/components/schemas/checkout_twint_payment_method_options"},"upi":{"$ref":"#/components/schemas/checkout_upi_payment_method_options"},"us_bank_account":{"$ref":"#/components/schemas/checkout_us_bank_account_payment_method_options"}},"description":"","x-expandableFields":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","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","payto","pix","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","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","payto","pix","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account"]},"checkout_session_wallet_options":{"title":"CheckoutSessionWalletOptions","type":"object","properties":{"link":{"$ref":"#/components/schemas/checkout_link_wallet_options"}},"description":"","x-expandableFields":["link"],"x-stripeMostCommon":["link"]},"checkout_sofort_payment_method_options":{"title":"CheckoutSofortPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_swish_payment_method_options":{"title":"CheckoutSwishPaymentMethodOptions","required":["reference"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The order reference that will be displayed to customers in the Swish application. Defaults to the `id` of the Payment Intent.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference"]},"checkout_twint_payment_method_options":{"title":"CheckoutTwintPaymentMethodOptions","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"checkout_upi_payment_method_options":{"title":"CheckoutUPIPaymentMethodOptions","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/mandate_options_upi"},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage"]},"checkout_us_bank_account_payment_method_options":{"title":"CheckoutUsBankAccountPaymentMethodOptions","type":"object","properties":{"financial_connections":{"$ref":"#/components/schemas/linked_account_options_common"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["financial_connections"],"x-stripeMostCommon":["financial_connections","setup_future_usage","target_date","verification_method"]},"climate.order":{"title":"ClimateRemovalsOrders","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"],"type":"object","properties":{"amount_fees":{"type":"integer","description":"Total amount of [Frontier](https://frontierclimate.com/)'s service fees in the currency's smallest unit."},"amount_subtotal":{"type":"integer","description":"Total amount of the carbon removal in the currency's smallest unit."},"amount_total":{"type":"integer","description":"Total amount of the order including fees in the currency's smallest unit."},"beneficiary":{"$ref":"#/components/schemas/climate_removals_beneficiary"},"canceled_at":{"type":"integer","description":"Time at which the order was canceled. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"cancellation_reason":{"type":"string","description":"Reason for the cancellation of this order.","nullable":true,"enum":["expired","product_unavailable","requested"],"x-stripeBypassValidation":true},"certificate":{"maxLength":5000,"type":"string","description":"For delivered orders, a URL to a delivery certificate for the order.","nullable":true},"confirmed_at":{"type":"integer","description":"Time at which the order was confirmed. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","description":"Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase, representing the currency for this order."},"delayed_at":{"type":"integer","description":"Time at which the order's expected_delivery_year was delayed. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"delivered_at":{"type":"integer","description":"Time at which the order was delivered. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"delivery_details":{"type":"array","description":"Details about the delivery of carbon removal for this order.","items":{"$ref":"#/components/schemas/climate_removals_order_deliveries"}},"expected_delivery_year":{"type":"integer","description":"The year this order is expected to be delivered."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"metric_tons":{"type":"string","description":"Quantity of carbon removal that is included in this order.","format":"decimal"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["climate.order"]},"product":{"description":"Unique ID for the Climate `Product` this order is purchasing.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/climate.product"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/climate.product"}]}},"product_substituted_at":{"type":"integer","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},"status":{"type":"string","description":"The current status of this order.","enum":["awaiting_funds","canceled","confirmed","delivered","open"]}},"description":"Orders represent your intent to purchase a particular Climate product. When you create an order, the\npayment is deducted from your merchant balance.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/climate.order"}},"description":"Occurs when a Climate order is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"climate.order.canceled"}},"climate.order.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/climate.order"}},"description":"Occurs when a Climate order is created.","x-expandableFields":[],"x-stripeEvent":{"type":"climate.order.created"}},"climate.order.delayed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/climate.order"}},"description":"Occurs when a Climate order is delayed.","x-expandableFields":[],"x-stripeEvent":{"type":"climate.order.delayed"}},"climate.order.delivered":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/climate.order"}},"description":"Occurs when a Climate order is delivered.","x-expandableFields":[],"x-stripeEvent":{"type":"climate.order.delivered"}},"climate.order.product_substituted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/climate.order"}},"description":"Occurs when a Climate order's product is substituted for another.","x-expandableFields":[],"x-stripeEvent":{"type":"climate.order.product_substituted"}},"climate.product":{"title":"ClimateRemovalsProducts","required":["created","current_prices_per_metric_ton","delivery_year","id","livemode","metric_tons_available","name","object","suppliers"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"current_prices_per_metric_ton":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/climate_removals_products_price"},"description":"Current prices for a metric ton of carbon removal in a currency's smallest unit."},"delivery_year":{"type":"integer","description":"The year in which the carbon removal is expected to be delivered.","nullable":true},"id":{"maxLength":5000,"type":"string","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."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"metric_tons_available":{"type":"string","description":"The quantity of metric tons available for reservation.","format":"decimal"},"name":{"maxLength":5000,"type":"string","description":"The Climate product's name."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["climate.product"]},"suppliers":{"type":"array","description":"The carbon removal suppliers that fulfill orders for this Climate product.","items":{"$ref":"#/components/schemas/climate.supplier"}}},"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.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/climate.product"}},"description":"Occurs when a Climate product is created.","x-expandableFields":[],"x-stripeEvent":{"type":"climate.product.created"}},"climate.product.pricing_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/climate.product"}},"description":"Occurs when a Climate product is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"climate.product.pricing_updated"}},"climate.supplier":{"title":"ClimateRemovalsSuppliers","required":["id","info_url","livemode","locations","name","object","removal_pathway"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"info_url":{"maxLength":5000,"type":"string","description":"Link to a webpage to learn more about the supplier."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"locations":{"type":"array","description":"The locations in which this supplier operates.","items":{"$ref":"#/components/schemas/climate_removals_location"}},"name":{"maxLength":5000,"type":"string","description":"Name of this carbon removal supplier."},"object":{"type":"string","description":"String representing the object’s type. Objects of the same type share the same value.","enum":["climate.supplier"]},"removal_pathway":{"type":"string","description":"The scientific pathway used for carbon removal.","enum":["biomass_carbon_removal_and_storage","direct_air_capture","enhanced_weathering","marine_carbon_removal"],"x-stripeBypassValidation":true}},"description":"A supplier of carbon removal.","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":{"title":"ClimateRemovalsBeneficiary","required":["public_name"],"type":"object","properties":{"public_name":{"maxLength":5000,"type":"string","description":"Publicly displayable name for the end beneficiary of carbon removal."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["public_name"]},"climate_removals_location":{"title":"ClimateRemovalsLocation","required":["city","country","latitude","longitude","region"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"The city where the supplier is located.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country where the supplier is located."},"latitude":{"type":"number","description":"The geographic latitude where the supplier is located.","nullable":true},"longitude":{"type":"number","description":"The geographic longitude where the supplier is located.","nullable":true},"region":{"maxLength":5000,"type":"string","description":"The state/county/province/region where the supplier is located.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","latitude","longitude","region"]},"climate_removals_order_deliveries":{"title":"ClimateRemovalsOrderDeliveries","required":["delivered_at","location","metric_tons","registry_url","supplier"],"type":"object","properties":{"delivered_at":{"type":"integer","description":"Time at which the delivery occurred. Measured in seconds since the Unix epoch.","format":"unix-time"},"location":{"description":"Specific location of this delivery.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/climate_removals_location"}]},"metric_tons":{"maxLength":5000,"type":"string","description":"Quantity of carbon removal supplied by this delivery."},"registry_url":{"maxLength":5000,"type":"string","description":"Once retired, a URL to the registry entry for the tons from this delivery.","nullable":true},"supplier":{"$ref":"#/components/schemas/climate.supplier"}},"description":"The delivery of a specified quantity of carbon for an order.","x-expandableFields":["location","supplier"],"x-stripeMostCommon":["delivered_at","location","metric_tons","registry_url","supplier"]},"climate_removals_products_price":{"title":"ClimateRemovalsProductsPrice","required":["amount_fees","amount_subtotal","amount_total"],"type":"object","properties":{"amount_fees":{"type":"integer","description":"Fees for one metric ton of carbon removal in the currency's smallest unit."},"amount_subtotal":{"type":"integer","description":"Subtotal for one metric ton of carbon removal (excluding fees) in the currency's smallest unit."},"amount_total":{"type":"integer","description":"Total for one metric ton of carbon removal (including fees) in the currency's smallest unit."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_fees","amount_subtotal","amount_total"]},"confirmation_token":{"title":"ConfirmationTokensResourceConfirmationToken","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"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"expires_at":{"type":"integer","description":"Time at which this ConfirmationToken expires and can no longer be used to confirm a PaymentIntent or SetupIntent.","format":"unix-time","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"mandate_data":{"description":"Data used for generating a Mandate.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/confirmation_tokens_resource_mandate_data"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["confirmation_token"]},"payment_intent":{"maxLength":5000,"type":"string","description":"ID of the PaymentIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.","nullable":true},"payment_method_options":{"description":"Payment-method-specific configuration for this ConfirmationToken.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/confirmation_tokens_resource_payment_method_options"}]},"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,"anyOf":[{"$ref":"#/components/schemas/confirmation_tokens_resource_payment_method_preview"}]},"return_url":{"maxLength":5000,"type":"string","description":"Return URL used to confirm the Intent.","nullable":true},"setup_future_usage":{"type":"string","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://docs.stripe.com/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.","nullable":true,"enum":["off_session","on_session"]},"setup_intent":{"maxLength":5000,"type":"string","description":"ID of the SetupIntent that this ConfirmationToken was used to confirm, or null if this ConfirmationToken has not yet been used.","nullable":true},"shipping":{"description":"Shipping information collected on this ConfirmationToken.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/confirmation_tokens_resource_shipping"}]},"use_stripe_sdk":{"type":"boolean","description":"Indicates whether the Stripe SDK is used to handle confirmation flow. Defaults to `true` on ConfirmationToken."}},"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://docs.stripe.com/payments/finalize-payments-on-the-server)\n- [Build two-step confirmation](https://docs.stripe.com/payments/build-a-two-step-confirmation).","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":{"title":"ConfirmationTokensResourceMandateData","required":["customer_acceptance"],"type":"object","properties":{"customer_acceptance":{"$ref":"#/components/schemas/confirmation_tokens_resource_mandate_data_resource_customer_acceptance"}},"description":"Data used for generating a Mandate.","x-expandableFields":["customer_acceptance"],"x-stripeMostCommon":["customer_acceptance"]},"confirmation_tokens_resource_mandate_data_resource_customer_acceptance":{"title":"ConfirmationTokensResourceMandateDataResourceCustomerAcceptance","required":["online","type"],"type":"object","properties":{"online":{"description":"If this is a Mandate accepted online, this hash contains details about the online acceptance.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/confirmation_tokens_resource_mandate_data_resource_customer_acceptance_resource_online"}]},"type":{"maxLength":5000,"type":"string","description":"The type of customer acceptance information included with the Mandate."}},"description":"This hash contains details about the customer acceptance of the Mandate.","x-expandableFields":["online"],"x-stripeMostCommon":["online","type"]},"confirmation_tokens_resource_mandate_data_resource_customer_acceptance_resource_online":{"title":"ConfirmationTokensResourceMandateDataResourceCustomerAcceptanceResourceOnline","required":["ip_address","user_agent"],"type":"object","properties":{"ip_address":{"maxLength":5000,"type":"string","description":"The IP address from which the Mandate was accepted by the customer.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the Mandate was accepted by the customer.","nullable":true}},"description":"This hash contains details about the online acceptance.","x-expandableFields":[],"x-stripeMostCommon":["ip_address","user_agent"]},"confirmation_tokens_resource_payment_method_options":{"title":"ConfirmationTokensResourcePaymentMethodOptions","required":["card"],"type":"object","properties":{"card":{"description":"This hash contains the card payment method options.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/confirmation_tokens_resource_payment_method_options_resource_card"}]}},"description":"Payment-method-specific configuration","x-expandableFields":["card"],"x-stripeMostCommon":["card"]},"confirmation_tokens_resource_payment_method_options_resource_card":{"title":"ConfirmationTokensResourcePaymentMethodOptionsResourceCard","required":["cvc_token"],"type":"object","properties":{"cvc_token":{"maxLength":5000,"type":"string","description":"The `cvc_update` Token collected from the Payment Element.","nullable":true},"installments":{"$ref":"#/components/schemas/confirmation_tokens_resource_payment_method_options_resource_card_resource_installment"}},"description":"This hash contains the card payment method options.","x-expandableFields":["installments"],"x-stripeMostCommon":["cvc_token","installments"]},"confirmation_tokens_resource_payment_method_options_resource_card_resource_installment":{"title":"ConfirmationTokensResourcePaymentMethodOptionsResourceCardResourceInstallment","type":"object","properties":{"plan":{"$ref":"#/components/schemas/payment_method_details_card_installments_plan"}},"description":"Installment configuration for payments.","x-expandableFields":["plan"],"x-stripeMostCommon":["plan"]},"confirmation_tokens_resource_payment_method_preview":{"title":"ConfirmationTokensResourcePaymentMethodPreview","required":["billing_details","customer","customer_account","type"],"type":"object","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":{"type":"string","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"]},"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"},"billie":{"$ref":"#/components/schemas/payment_method_billie"},"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"},"crypto":{"$ref":"#/components/schemas/payment_method_crypto"},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string","nullable":true},"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"},"mb_way":{"$ref":"#/components/schemas/payment_method_mb_way"},"mobilepay":{"$ref":"#/components/schemas/payment_method_mobilepay"},"multibanco":{"$ref":"#/components/schemas/payment_method_multibanco"},"naver_pay":{"$ref":"#/components/schemas/payment_method_naver_pay"},"nz_bank_account":{"$ref":"#/components/schemas/payment_method_nz_bank_account"},"oxxo":{"$ref":"#/components/schemas/payment_method_oxxo"},"p24":{"$ref":"#/components/schemas/payment_method_p24"},"pay_by_bank":{"$ref":"#/components/schemas/payment_method_pay_by_bank"},"payco":{"$ref":"#/components/schemas/payment_method_payco"},"paynow":{"$ref":"#/components/schemas/payment_method_paynow"},"paypal":{"$ref":"#/components/schemas/payment_method_paypal"},"payto":{"$ref":"#/components/schemas/payment_method_payto"},"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"},"satispay":{"$ref":"#/components/schemas/payment_method_satispay"},"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":{"type":"string","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","billie","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"$ref":"#/components/schemas/payment_method_upi"},"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"}},"description":"Details of the PaymentMethod collected by Payment Element","x-expandableFields":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","billing_details","blik","boleto","card","card_present","cashapp","crypto","customer","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeMostCommon":["billing_details","customer","customer_account","type"]},"confirmation_tokens_resource_shipping":{"title":"ConfirmationTokensResourceShipping","required":["address","name","phone"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension).","nullable":true}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","name","phone"]},"connect_account_reference":{"title":"ConnectAccountReference","required":["type"],"type":"object","properties":{"account":{"description":"The connected account being referenced when `type` is `account`.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"type":{"type":"string","description":"Type of the account referenced.","enum":["account","self"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["account"],"x-stripeMostCommon":["account","type"]},"connect_collection_transfer":{"title":"ConnectCollectionTransfer","required":["amount","currency","destination","id","livemode","object"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount transferred, in cents (or local equivalent)."},"currency":{"type":"string","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).","format":"currency"},"destination":{"description":"ID of the account that funds are being collected for.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["connect_collection_transfer"]}},"description":"","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":{"title":"ConnectEmbeddedAccountConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_account_features_claim"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"AccountConfig","in_package":""}},"connect_embedded_account_features_claim":{"title":"ConnectEmbeddedAccountFeaturesClaim","required":["disable_stripe_user_authentication","external_account_collection"],"type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection"],"x-stripeResource":{"class_name":"AccountFeatures","in_package":""}},"connect_embedded_account_session_create_components":{"title":"ConnectEmbeddedAccountSessionCreateComponents","required":["account_management","account_onboarding","balances","disputes_list","documents","financial_account","financial_account_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","notification_banner","payment_details","payment_disputes","payments","payout_details","payouts","payouts_list","tax_registrations","tax_settings"],"type":"object","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"},"disputes_list":{"$ref":"#/components/schemas/connect_embedded_disputes_list_config"},"documents":{"$ref":"#/components/schemas/connect_embedded_base_config_claim"},"financial_account":{"$ref":"#/components/schemas/connect_embedded_financial_account_config_claim"},"financial_account_transactions":{"$ref":"#/components/schemas/connect_embedded_financial_account_transactions_config_claim"},"instant_payouts_promotion":{"$ref":"#/components/schemas/connect_embedded_instant_payouts_promotion_config"},"issuing_card":{"$ref":"#/components/schemas/connect_embedded_issuing_card_config_claim"},"issuing_cards_list":{"$ref":"#/components/schemas/connect_embedded_issuing_cards_list_config_claim"},"notification_banner":{"$ref":"#/components/schemas/connect_embedded_account_config_claim"},"payment_details":{"$ref":"#/components/schemas/connect_embedded_payments_config_claim"},"payment_disputes":{"$ref":"#/components/schemas/connect_embedded_payment_disputes_config"},"payments":{"$ref":"#/components/schemas/connect_embedded_payments_config_claim"},"payout_details":{"$ref":"#/components/schemas/connect_embedded_base_config_claim"},"payouts":{"$ref":"#/components/schemas/connect_embedded_payouts_config"},"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"}},"description":"","x-expandableFields":["account_management","account_onboarding","balances","disputes_list","documents","financial_account","financial_account_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","notification_banner","payment_details","payment_disputes","payments","payout_details","payouts","payouts_list","tax_registrations","tax_settings"],"x-stripeMostCommon":["account_management","account_onboarding","balances","disputes_list","documents","financial_account","financial_account_transactions","instant_payouts_promotion","issuing_card","issuing_cards_list","notification_banner","payment_details","payment_disputes","payments","payout_details","payouts","payouts_list","tax_registrations","tax_settings"],"x-stripeResource":{"class_name":"Components","in_package":""}},"connect_embedded_base_config_claim":{"title":"ConnectEmbeddedBaseConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_base_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"BaseConfig","in_package":""}},"connect_embedded_base_features":{"title":"ConnectEmbeddedBaseFeatures","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"BaseFeatures","in_package":""}},"connect_embedded_disputes_list_config":{"title":"ConnectEmbeddedDisputesListConfig","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_disputes_list_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"DisputesListConfig","in_package":""}},"connect_embedded_disputes_list_features":{"title":"ConnectEmbeddedDisputesListFeatures","required":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management"],"type":"object","properties":{"capture_payments":{"type":"boolean","description":"Whether to allow capturing and cancelling payment intents. This is `true` by default."},"destination_on_behalf_of_charge_management":{"type":"boolean","description":"Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default."},"dispute_management":{"type":"boolean","description":"Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default."},"refund_management":{"type":"boolean","description":"Whether sending refunds is enabled. This is `true` by default."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management"],"x-stripeResource":{"class_name":"DisputesListFeatures","in_package":""}},"connect_embedded_financial_account_config_claim":{"title":"ConnectEmbeddedFinancialAccountConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_financial_account_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"FinancialAccountConfig","in_package":""}},"connect_embedded_financial_account_features":{"title":"ConnectEmbeddedFinancialAccountFeatures","required":["disable_stripe_user_authentication","external_account_collection","send_money","transfer_balance"],"type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."},"send_money":{"type":"boolean","description":"Whether to allow sending money."},"transfer_balance":{"type":"boolean","description":"Whether to allow transferring balance."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection","send_money","transfer_balance"],"x-stripeResource":{"class_name":"FinancialAccountFeatures","in_package":""}},"connect_embedded_financial_account_transactions_config_claim":{"title":"ConnectEmbeddedFinancialAccountTransactionsConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_financial_account_transactions_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"FinancialAccountTransactionsConfig","in_package":""}},"connect_embedded_financial_account_transactions_features":{"title":"ConnectEmbeddedFinancialAccountTransactionsFeatures","required":["card_spend_dispute_management"],"type":"object","properties":{"card_spend_dispute_management":{"type":"boolean","description":"Whether to allow card spend dispute management features."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["card_spend_dispute_management"],"x-stripeResource":{"class_name":"FinancialAccountTransactionsFeatures","in_package":""}},"connect_embedded_instant_payouts_promotion_config":{"title":"ConnectEmbeddedInstantPayoutsPromotionConfig","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_instant_payouts_promotion_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"InstantPayoutsPromotionConfig","in_package":""}},"connect_embedded_instant_payouts_promotion_features":{"title":"ConnectEmbeddedInstantPayoutsPromotionFeatures","required":["disable_stripe_user_authentication","external_account_collection","instant_payouts"],"type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."},"instant_payouts":{"type":"boolean","description":"Whether to allow creation of instant payouts. The default value is `enabled` when Stripe is responsible for negative account balances, and `use_dashboard_rules` otherwise."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["disable_stripe_user_authentication","external_account_collection","instant_payouts"],"x-stripeResource":{"class_name":"InstantPayoutsPromotionFeatures","in_package":""}},"connect_embedded_issuing_card_config_claim":{"title":"ConnectEmbeddedIssuingCardConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_issuing_card_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"IssuingCardConfig","in_package":""}},"connect_embedded_issuing_card_features":{"title":"ConnectEmbeddedIssuingCardFeatures","required":["card_management","card_spend_dispute_management","cardholder_management","spend_control_management"],"type":"object","properties":{"card_management":{"type":"boolean","description":"Whether to allow card management features."},"card_spend_dispute_management":{"type":"boolean","description":"Whether to allow card spend dispute management features."},"cardholder_management":{"type":"boolean","description":"Whether to allow cardholder management features."},"spend_control_management":{"type":"boolean","description":"Whether to allow spend control management features."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["card_management","card_spend_dispute_management","cardholder_management","spend_control_management"],"x-stripeResource":{"class_name":"IssuingCardFeatures","in_package":""}},"connect_embedded_issuing_cards_list_config_claim":{"title":"ConnectEmbeddedIssuingCardsListConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_issuing_cards_list_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"IssuingCardsListConfig","in_package":""}},"connect_embedded_issuing_cards_list_features":{"title":"ConnectEmbeddedIssuingCardsListFeatures","required":["card_management","card_spend_dispute_management","cardholder_management","disable_stripe_user_authentication","spend_control_management"],"type":"object","properties":{"card_management":{"type":"boolean","description":"Whether to allow card management features."},"card_spend_dispute_management":{"type":"boolean","description":"Whether to allow card spend dispute management features."},"cardholder_management":{"type":"boolean","description":"Whether to allow cardholder management features."},"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"spend_control_management":{"type":"boolean","description":"Whether to allow spend control management features."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["card_management","card_spend_dispute_management","cardholder_management","disable_stripe_user_authentication","spend_control_management"],"x-stripeResource":{"class_name":"IssuingCardsListFeatures","in_package":""}},"connect_embedded_payment_disputes_config":{"title":"ConnectEmbeddedPaymentDisputesConfig","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_payment_disputes_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"PaymentDisputesConfig","in_package":""}},"connect_embedded_payment_disputes_features":{"title":"ConnectEmbeddedPaymentDisputesFeatures","required":["destination_on_behalf_of_charge_management","dispute_management","refund_management"],"type":"object","properties":{"destination_on_behalf_of_charge_management":{"type":"boolean","description":"Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default."},"dispute_management":{"type":"boolean","description":"Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default."},"refund_management":{"type":"boolean","description":"Whether sending refunds is enabled. This is `true` by default."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["destination_on_behalf_of_charge_management","dispute_management","refund_management"],"x-stripeResource":{"class_name":"PaymentDisputesFeatures","in_package":""}},"connect_embedded_payments_config_claim":{"title":"ConnectEmbeddedPaymentsConfigClaim","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_payments_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"PaymentsConfig","in_package":""}},"connect_embedded_payments_features":{"title":"ConnectEmbeddedPaymentsFeatures","required":["capture_payments","destination_on_behalf_of_charge_management","dispute_management","refund_management"],"type":"object","properties":{"capture_payments":{"type":"boolean","description":"Whether to allow capturing and cancelling payment intents. This is `true` by default."},"destination_on_behalf_of_charge_management":{"type":"boolean","description":"Whether connected accounts can manage destination charges that are created on behalf of them. This is `false` by default."},"dispute_management":{"type":"boolean","description":"Whether responding to disputes is enabled, including submitting evidence and accepting disputes. This is `true` by default."},"refund_management":{"type":"boolean","description":"Whether sending refunds is enabled. This is `true` by default."}},"description":"","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":{"title":"ConnectEmbeddedPayoutsConfig","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the embedded component is enabled."},"features":{"$ref":"#/components/schemas/connect_embedded_payouts_features"}},"description":"","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"],"x-stripeResource":{"class_name":"PayoutsConfig","in_package":""}},"connect_embedded_payouts_features":{"title":"ConnectEmbeddedPayoutsFeatures","required":["disable_stripe_user_authentication","edit_payout_schedule","external_account_collection","instant_payouts","standard_payouts"],"type":"object","properties":{"disable_stripe_user_authentication":{"type":"boolean","description":"Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`."},"edit_payout_schedule":{"type":"boolean","description":"Whether to allow payout schedule to be changed. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`."},"external_account_collection":{"type":"boolean","description":"Whether external account collection is enabled. 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 `true`."},"instant_payouts":{"type":"boolean","description":"Whether to allow creation of instant payouts. The default value is `enabled` when Stripe is responsible for negative account balances, and `use_dashboard_rules` otherwise."},"standard_payouts":{"type":"boolean","description":"Whether to allow creation of standard payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`."}},"description":"","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":{"title":"CountrySpec","required":["default_currency","id","object","supported_bank_account_currencies","supported_payment_currencies","supported_payment_methods","supported_transfer_countries","verification_fields"],"type":"object","properties":{"default_currency":{"maxLength":5000,"type":"string","description":"The default currency for this country. This applies to both payment methods and bank accounts."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object. Represented as the ISO country code for this country."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["country_spec"]},"supported_bank_account_currencies":{"type":"object","additionalProperties":{"type":"array","items":{"maxLength":5000,"type":"string"}},"description":"Currencies that can be accepted in the specific country (for transfers)."},"supported_payment_currencies":{"type":"array","description":"Currencies that can be accepted in the specified country (for payments).","items":{"maxLength":5000,"type":"string"}},"supported_payment_methods":{"type":"array","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"}},"supported_transfer_countries":{"type":"array","description":"Countries that can accept transfers from the specified country.","items":{"maxLength":5000,"type":"string"}},"verification_fields":{"$ref":"#/components/schemas/country_spec_verification_fields"}},"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).","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":{"title":"CountrySpecVerificationFieldDetails","required":["additional","minimum"],"type":"object","properties":{"additional":{"type":"array","description":"Additional fields which are only required for some users.","items":{"maxLength":5000,"type":"string"}},"minimum":{"type":"array","description":"Fields which every account must eventually provide.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["additional","minimum"]},"country_spec_verification_fields":{"title":"CountrySpecVerificationFields","required":["company","individual"],"type":"object","properties":{"company":{"$ref":"#/components/schemas/country_spec_verification_field_details"},"individual":{"$ref":"#/components/schemas/country_spec_verification_field_details"}},"description":"","x-expandableFields":["company","individual"],"x-stripeMostCommon":["company","individual"]},"coupon":{"title":"Coupon","required":["amount_off","created","currency","duration","duration_in_months","id","livemode","max_redemptions","metadata","name","object","percent_off","redeem_by","times_redeemed","valid"],"type":"object","properties":{"amount_off":{"type":"integer","description":"Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer.","nullable":true},"applies_to":{"$ref":"#/components/schemas/coupon_applies_to"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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.","format":"currency","nullable":true},"currency_options":{"type":"object","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)."},"duration":{"type":"string","description":"One of `forever`, `once`, or `repeating`. Describes how long a customer who applies this coupon will get the discount.","enum":["forever","once","repeating"],"x-stripeBypassValidation":true},"duration_in_months":{"type":"integer","description":"If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"max_redemptions":{"type":"integer","description":"Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid.","nullable":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"name":{"maxLength":5000,"type":"string","description":"Name of the coupon displayed to customers on for instance invoices or receipts.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["coupon"]},"percent_off":{"type":"number","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},"redeem_by":{"type":"integer","description":"Date after which the coupon can no longer be redeemed.","format":"unix-time","nullable":true},"times_redeemed":{"type":"integer","description":"Number of times this coupon has been applied to a customer."},"valid":{"type":"boolean","description":"Taking account of the above properties, whether this coupon can still be applied to a customer."}},"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://api.stripe.com#subscriptions), [invoices](https://api.stripe.com#invoices),\n[checkout sessions](https://docs.stripe.com/api/checkout/sessions), [quotes](https://api.stripe.com#quotes), and more. Coupons do not work with conventional one-off [charges](/api/charges/create) or [payment intents](https://docs.stripe.com/api/payment_intents).","x-expandableFields":["applies_to","currency_options"],"x-resourceId":"coupon","x-stripeMostCommon":["amount_off","currency","duration","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/coupon"}},"description":"Occurs whenever a coupon is created.","x-expandableFields":[],"x-stripeEvent":{"type":"coupon.created"}},"coupon.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/coupon"}},"description":"Occurs whenever a coupon is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"coupon.deleted"}},"coupon.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/coupon"}},"description":"Occurs whenever a coupon is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"coupon.updated"}},"coupon_applies_to":{"title":"CouponAppliesTo","required":["products"],"type":"object","properties":{"products":{"type":"array","description":"A list of product IDs this coupon applies to","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["products"]},"coupon_currency_option":{"title":"CouponCurrencyOption","required":["amount_off"],"type":"object","properties":{"amount_off":{"type":"integer","description":"Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_off"]},"credit_balance":{"title":"CreditBalance","required":["available_balance","ledger_balance"],"type":"object","properties":{"available_balance":{"$ref":"#/components/schemas/billing_credit_grants_resource_amount"},"ledger_balance":{"$ref":"#/components/schemas/billing_credit_grants_resource_amount"}},"description":"","x-expandableFields":["available_balance","ledger_balance"],"x-stripeMostCommon":["available_balance","ledger_balance"],"x-stripeResource":{"class_name":"CreditBalance","in_package":"Billing"}},"credit_note":{"title":"CreditNote","required":["amount","amount_shipping","created","currency","customer","customer_account","customer_balance_transaction","discount_amount","discount_amounts","effective_at","id","invoice","lines","livemode","memo","metadata","number","object","out_of_band_amount","pdf","post_payment_amount","pre_payment_amount","pretax_credit_amounts","reason","refunds","shipping_cost","status","subtotal","subtotal_excluding_tax","total","total_excluding_tax","total_taxes","type","voided_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax."},"amount_shipping":{"type":"integer","description":"This is the sum of all the shipping amounts."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"customer":{"description":"ID of the customer.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the account representing the customer.","nullable":true},"customer_balance_transaction":{"description":"Customer balance transaction related to this credit note.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer_balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer_balance_transaction"}]}},"discount_amount":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the total amount of discount that was credited."},"discount_amounts":{"type":"array","description":"The aggregate amounts calculated per discount for all line items.","items":{"$ref":"#/components/schemas/discounts_resource_discount_amount"}},"effective_at":{"type":"integer","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},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice":{"description":"ID of the invoice.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"lines":{"title":"CreditNoteLinesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/credit_note_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"Line items that make up the credit note","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"memo":{"maxLength":5000,"type":"string","description":"Customer-facing text that appears on the credit note PDF.","nullable":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"number":{"maxLength":5000,"type":"string","description":"A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["credit_note"]},"out_of_band_amount":{"type":"integer","description":"Amount that was credited outside of Stripe.","nullable":true},"pdf":{"maxLength":5000,"type":"string","description":"The link to download the PDF of the credit note."},"post_payment_amount":{"type":"integer","description":"The amount of the credit note that was refunded to the customer, credited to the customer's balance, credited outside of Stripe, or any combination thereof."},"pre_payment_amount":{"type":"integer","description":"The amount of the credit note by which the invoice's `amount_remaining` and `amount_due` were reduced."},"pretax_credit_amounts":{"type":"array","description":"The pretax credit amounts (ex: discount, credit grants, etc) for all line items.","items":{"$ref":"#/components/schemas/credit_notes_pretax_credit_amount"}},"reason":{"type":"string","description":"Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`","nullable":true,"enum":["duplicate","fraudulent","order_change","product_unsatisfactory"]},"refunds":{"type":"array","description":"Refunds related to this credit note.","items":{"$ref":"#/components/schemas/credit_note_refund"}},"shipping_cost":{"description":"The details of the cost of shipping, including the ShippingRate applied to the invoice.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoices_resource_shipping_cost"}]},"status":{"type":"string","description":"Status of this credit note, one of `issued` or `void`. Learn more about [voiding credit notes](https://docs.stripe.com/billing/invoices/credit-notes#voiding).","enum":["issued","void"],"x-stripeBypassValidation":true},"subtotal":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the amount of the credit note, excluding exclusive tax and invoice level discounts."},"subtotal_excluding_tax":{"type":"integer","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},"total":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the total amount of the credit note, including tax and all discount."},"total_excluding_tax":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the total amount of the credit note, excluding tax, but including discounts.","nullable":true},"total_taxes":{"type":"array","description":"The aggregate tax information for all line items.","nullable":true,"items":{"$ref":"#/components/schemas/billing_bill_resource_invoicing_taxes_tax"}},"type":{"type":"string","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":["mixed","post_payment","pre_payment"]},"voided_at":{"type":"integer","description":"The time that the credit note was voided.","format":"unix-time","nullable":true}},"description":"Issue a credit note to adjust an invoice's amount after the invoice is finalized.\n\nRelated guide: [Credit notes](https://docs.stripe.com/billing/invoices/credit-notes)","x-expandableFields":["customer","customer_balance_transaction","discount_amounts","invoice","lines","pretax_credit_amounts","refunds","shipping_cost","total_taxes"],"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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/credit_note"}},"description":"Occurs whenever a credit note is created.","x-expandableFields":[],"x-stripeEvent":{"type":"credit_note.created"}},"credit_note.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/credit_note"}},"description":"Occurs whenever a credit note is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"credit_note.updated"}},"credit_note.voided":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/credit_note"}},"description":"Occurs whenever a credit note is voided.","x-expandableFields":[],"x-stripeEvent":{"type":"credit_note.voided"}},"credit_note_line_item":{"title":"CreditNoteLineItem","required":["amount","description","discount_amount","discount_amounts","id","livemode","metadata","object","pretax_credit_amounts","quantity","tax_rates","taxes","type","unit_amount","unit_amount_decimal"],"type":"object","properties":{"amount":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts."},"description":{"maxLength":5000,"type":"string","description":"Description of the item being credited.","nullable":true},"discount_amount":{"type":"integer","description":"The integer amount in cents (or local equivalent) representing the discount being credited for this line item."},"discount_amounts":{"type":"array","description":"The amount of discount calculated per discount for this line item","items":{"$ref":"#/components/schemas/discounts_resource_discount_amount"}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice_line_item":{"maxLength":5000,"type":"string","description":"ID of the invoice line item being credited"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["credit_note_line_item"]},"pretax_credit_amounts":{"type":"array","description":"The pretax credit amounts (ex: discount, credit grants, etc) for this line item.","items":{"$ref":"#/components/schemas/credit_notes_pretax_credit_amount"}},"quantity":{"type":"integer","description":"The number of units of product being credited.","nullable":true},"tax_rates":{"type":"array","description":"The tax rates which apply to the line item.","items":{"$ref":"#/components/schemas/tax_rate"}},"taxes":{"type":"array","description":"The tax information of the line item.","nullable":true,"items":{"$ref":"#/components/schemas/billing_bill_resource_invoicing_taxes_tax"}},"type":{"type":"string","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"]},"unit_amount":{"type":"integer","description":"The cost of each unit of product being credited.","nullable":true},"unit_amount_decimal":{"type":"string","description":"Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.","format":"decimal","nullable":true}},"description":"The credit note line item object","x-expandableFields":["discount_amounts","pretax_credit_amounts","tax_rates","taxes"],"x-resourceId":"credit_note_line_item","x-stripeMostCommon":["amount","description","discount_amount","discount_amounts","id","invoice_line_item","livemode","metadata","object","pretax_credit_amounts","quantity","tax_rates","taxes","type","unit_amount","unit_amount_decimal"],"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_refund":{"title":"CreditNoteRefund","required":["amount_refunded","payment_record_refund","refund","type"],"type":"object","properties":{"amount_refunded":{"type":"integer","description":"Amount of the refund that applies to this credit note, in cents (or local equivalent)."},"payment_record_refund":{"description":"The PaymentRecord refund details associated with this credit note refund.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/credit_notes_payment_record_refund"}]},"refund":{"description":"ID of the refund.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/refund"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/refund"}]}},"type":{"type":"string","description":"Type of the refund, one of `refund` or `payment_record_refund`.","nullable":true,"enum":["payment_record_refund","refund"]}},"description":"","x-expandableFields":["payment_record_refund","refund"],"x-stripeMostCommon":["amount_refunded","payment_record_refund","refund","type"]},"credit_notes_payment_record_refund":{"title":"CreditNotesPaymentRecordRefund","required":["payment_record","refund_group"],"type":"object","properties":{"payment_record":{"maxLength":5000,"type":"string","description":"ID of the payment record."},"refund_group":{"maxLength":5000,"type":"string","description":"ID of the refund group."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payment_record","refund_group"]},"credit_notes_pretax_credit_amount":{"title":"CreditNotesPretaxCreditAmount","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the pretax credit amount."},"credit_balance_transaction":{"description":"The credit balance transaction that was applied to get this pretax credit amount.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/billing.credit_balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/billing.credit_balance_transaction"}]}},"discount":{"description":"The discount that was applied to get this pretax credit amount.","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":{"type":"string","description":"Type of the pretax credit amount referenced.","enum":["credit_balance_transaction","discount"]}},"description":"","x-expandableFields":["credit_balance_transaction","discount"],"x-stripeMostCommon":["amount","credit_balance_transaction","discount","type"]},"currency_option":{"title":"CurrencyOption","required":["custom_unit_amount","tax_behavior","unit_amount","unit_amount_decimal"],"type":"object","properties":{"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,"anyOf":[{"$ref":"#/components/schemas/custom_unit_amount"}]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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.","nullable":true,"enum":["exclusive","inclusive","unspecified"]},"tiers":{"type":"array","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"}},"unit_amount":{"type":"integer","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},"unit_amount_decimal":{"type":"string","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}},"description":"","x-expandableFields":["custom_unit_amount","tiers"],"x-stripeMostCommon":["unit_amount"]},"custom_logo":{"title":"custom_logo","required":["content_type","url"],"type":"object","properties":{"content_type":{"maxLength":5000,"type":"string","description":"Content type of the Dashboard-only CustomPaymentMethodType logo.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"URL of the Dashboard-only CustomPaymentMethodType logo."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["content_type","url"]},"custom_unit_amount":{"title":"CustomUnitAmount","required":["maximum","minimum","preset"],"type":"object","properties":{"maximum":{"type":"integer","description":"The maximum unit amount the customer can specify for this item.","nullable":true},"minimum":{"type":"integer","description":"The minimum unit amount the customer can specify for this item. Must be at least the minimum charge amount.","nullable":true},"preset":{"type":"integer","description":"The starting unit amount which can be updated by the customer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["maximum","minimum","preset"]},"customer":{"title":"Customer","required":["created","default_source","description","email","id","livemode","object","shipping"],"type":"object","properties":{"address":{"description":"The customer's address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"balance":{"type":"integer","description":"The current balance, if any, that's stored on the customer in their default currency. 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. For multi-currency balances, see [invoice_credit_balance](https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance)."},"business_name":{"maxLength":150,"type":"string","description":"The customer's business name."},"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,"anyOf":[{"$ref":"#/components/schemas/cash_balance"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","description":"Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.","nullable":true},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of an Account representing a customer. You can use this ID with any v1 API that accepts a customer_account parameter.","nullable":true},"default_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://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_source"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_source"}]}},"delinquent":{"type":"boolean","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://docs.stripe.com/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},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"discount":{"description":"Describes the current discount active on the customer, if there is one.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/discount"}]},"email":{"maxLength":5000,"type":"string","description":"The customer's email address.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"individual_name":{"maxLength":150,"type":"string","description":"The customer's individual name."},"invoice_credit_balance":{"type":"object","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."},"invoice_prefix":{"maxLength":5000,"type":"string","description":"The prefix for the customer used to generate unique invoice numbers.","nullable":true},"invoice_settings":{"$ref":"#/components/schemas/invoice_setting_customer_setting"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"name":{"maxLength":5000,"type":"string","description":"The customer's full name or business name.","nullable":true},"next_invoice_sequence":{"type":"integer","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."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["customer"]},"phone":{"maxLength":5000,"type":"string","description":"The customer's phone number.","nullable":true},"preferred_locales":{"type":"array","description":"The customer's preferred locales (languages), ordered by preference.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"shipping":{"description":"Mailing and shipping address for the customer. Appears on invoices emailed to this customer.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shipping"}]},"sources":{"title":"ApmsSourcesSourceList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/payment_source"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"The customer's payment sources, if any.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"subscriptions":{"title":"SubscriptionList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/subscription"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"The customer's current subscriptions, if any.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"tax":{"$ref":"#/components/schemas/customer_tax"},"tax_exempt":{"type":"string","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\"**.","nullable":true,"enum":["exempt","none","reverse"]},"tax_ids":{"title":"TaxIDsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax_id"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"The customer's tax IDs.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"test_clock":{"description":"ID of the test clock that this customer belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}}},"description":"This object represents a customer of your business. Use it to [create recurring charges](https://docs.stripe.com/invoicing/customer), [save payment](https://docs.stripe.com/payments/save-during-payment) and contact information,\nand track payments that belong to the same customer.","x-expandableFields":["address","cash_balance","default_source","discount","invoice_settings","shipping","sources","subscriptions","tax","tax_ids","test_clock"],"x-resourceId":"customer","x-stripeMostCommon":["address","customer_account","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/customer"}},"description":"Occurs whenever a new customer is created.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.created"}},"customer.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/customer"}},"description":"Occurs whenever a customer is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.deleted"}},"customer.discount.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/discount"}},"description":"Occurs whenever a coupon is attached to a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.discount.created"}},"customer.discount.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/discount"}},"description":"Occurs whenever a coupon is removed from a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.discount.deleted"}},"customer.discount.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/discount"}},"description":"Occurs whenever a customer is switched from one coupon to another.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.discount.updated"}},"customer.source.created":{"required":["object"],"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}]}},"description":"Occurs whenever a new source is created for a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.source.created"}},"customer.source.deleted":{"required":["object"],"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}]}},"description":"Occurs whenever a source is removed from a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.source.deleted"}},"customer.source.expiring":{"required":["object"],"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}]}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.source.expiring"}},"customer.source.updated":{"required":["object"],"type":"object","properties":{"object":{"anyOf":[{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}]}},"description":"Occurs whenever a source's details are changed.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.source.updated"}},"customer.subscription.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever a customer is signed up for a new plan.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.created"}},"customer.subscription.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever a customer's subscription ends.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.deleted"}},"customer.subscription.paused":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.paused"}},"customer.subscription.pending_update_applied":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever a customer's subscription's pending update is applied, and the subscription is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.pending_update_applied"}},"customer.subscription.pending_update_expired":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever a customer's subscription's pending update expires before the related invoice is paid.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.pending_update_expired"}},"customer.subscription.resumed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.resumed"}},"customer.subscription.trial_will_end":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"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`).","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.trial_will_end"}},"customer.subscription.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription"}},"description":"Occurs whenever a subscription changes (e.g., switching from one plan to another, or changing the status from trial to active).","x-expandableFields":[],"x-stripeEvent":{"type":"customer.subscription.updated"}},"customer.tax_id.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/tax_id"}},"description":"Occurs whenever a tax ID is created for a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.tax_id.created"}},"customer.tax_id.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/tax_id"}},"description":"Occurs whenever a tax ID is deleted from a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.tax_id.deleted"}},"customer.tax_id.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/tax_id"}},"description":"Occurs whenever a customer's tax ID is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.tax_id.updated"}},"customer.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/customer"}},"description":"Occurs whenever any property of a customer changes.","x-expandableFields":[],"x-stripeEvent":{"type":"customer.updated"}},"customer_acceptance":{"title":"customer_acceptance","required":["accepted_at","type"],"type":"object","properties":{"accepted_at":{"type":"integer","description":"The time that the customer accepts the mandate.","format":"unix-time","nullable":true},"offline":{"$ref":"#/components/schemas/offline_acceptance"},"online":{"$ref":"#/components/schemas/online_acceptance"},"type":{"type":"string","description":"The mandate includes the type of customer acceptance information, such as: `online` or `offline`.","enum":["offline","online"]}},"description":"","x-expandableFields":["offline","online"],"x-stripeMostCommon":["accepted_at","offline","online","type"]},"customer_balance_customer_balance_settings":{"title":"CustomerBalanceCustomerBalanceSettings","required":["reconciliation_mode","using_merchant_default"],"type":"object","properties":{"reconciliation_mode":{"type":"string","description":"The configuration for how funds that land in the customer cash balance are reconciled.","enum":["automatic","manual"]},"using_merchant_default":{"type":"boolean","description":"A flag to indicate if reconciliation mode returned is the user's default or is specific to this customer cash balance"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reconciliation_mode","using_merchant_default"]},"customer_balance_resource_cash_balance_transaction_resource_adjusted_for_overdraft":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceAdjustedForOverdraft","required":["balance_transaction","linked_transaction"],"type":"object","properties":{"balance_transaction":{"description":"The [Balance Transaction](https://docs.stripe.com/api/balance_transactions/object) that corresponds to funds taken out of your Stripe balance.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"linked_transaction":{"description":"The [Cash Balance Transaction](https://docs.stripe.com/api/cash_balance_transactions/object) that brought the customer balance negative, triggering the clawback of funds.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer_cash_balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer_cash_balance_transaction"}]}}},"description":"","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":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceAppliedToPaymentTransaction","required":["payment_intent"],"type":"object","properties":{"payment_intent":{"description":"The [Payment Intent](https://docs.stripe.com/api/payment_intents/object) that funds were applied to.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}}},"description":"","x-expandableFields":["payment_intent"],"x-stripeMostCommon":["payment_intent"]},"customer_balance_resource_cash_balance_transaction_resource_funded_transaction":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceFundedTransaction","required":["bank_transfer"],"type":"object","properties":{"bank_transfer":{"$ref":"#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer"}},"description":"","x-expandableFields":["bank_transfer"],"x-stripeMostCommon":["bank_transfer"]},"customer_balance_resource_cash_balance_transaction_resource_funded_transaction_resource_bank_transfer":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransfer","required":["reference","type"],"type":"object","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":{"maxLength":5000,"type":"string","description":"The user-supplied reference field on the bank transfer.","nullable":true},"type":{"type":"string","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"],"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"}},"description":"","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":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceEuBankTransfer","required":["bic","iban_last4","sender_name"],"type":"object","properties":{"bic":{"maxLength":5000,"type":"string","description":"The BIC of the bank of the sender of the funding.","nullable":true},"iban_last4":{"maxLength":5000,"type":"string","description":"The last 4 digits of the IBAN of the sender of the funding.","nullable":true},"sender_name":{"maxLength":5000,"type":"string","description":"The full name of the sender, as supplied by the sending bank.","nullable":true}},"description":"","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":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceGbBankTransfer","required":["account_number_last4","sender_name","sort_code"],"type":"object","properties":{"account_number_last4":{"maxLength":5000,"type":"string","description":"The last 4 digits of the account number of the sender of the funding.","nullable":true},"sender_name":{"maxLength":5000,"type":"string","description":"The full name of the sender, as supplied by the sending bank.","nullable":true},"sort_code":{"maxLength":5000,"type":"string","description":"The sort code of the bank of the sender of the funding","nullable":true}},"description":"","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":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceJpBankTransfer","required":["sender_bank","sender_branch","sender_name"],"type":"object","properties":{"sender_bank":{"maxLength":5000,"type":"string","description":"The name of the bank of the sender of the funding.","nullable":true},"sender_branch":{"maxLength":5000,"type":"string","description":"The name of the bank branch of the sender of the funding.","nullable":true},"sender_name":{"maxLength":5000,"type":"string","description":"The full name of the sender, as supplied by the sending bank.","nullable":true}},"description":"","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":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceFundedTransactionResourceBankTransferResourceUsBankTransfer","required":["sender_name"],"type":"object","properties":{"network":{"type":"string","description":"The banking network used for this funding.","enum":["ach","domestic_wire_us","swift"]},"sender_name":{"maxLength":5000,"type":"string","description":"The full name of the sender, as supplied by the sending bank.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["network","sender_name"]},"customer_balance_resource_cash_balance_transaction_resource_refunded_from_payment_transaction":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceRefundedFromPaymentTransaction","required":["refund"],"type":"object","properties":{"refund":{"description":"The [Refund](https://docs.stripe.com/api/refunds/object) that moved these funds into the customer's cash balance.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/refund"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/refund"}]}}},"description":"","x-expandableFields":["refund"],"x-stripeMostCommon":["refund"],"x-stripeResource":{"class_name":"RefundedFromPayment","in_package":""}},"customer_balance_resource_cash_balance_transaction_resource_transferred_to_balance":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceTransferredToBalance","required":["balance_transaction"],"type":"object","properties":{"balance_transaction":{"description":"The [Balance Transaction](https://docs.stripe.com/api/balance_transactions/object) that corresponds to funds transferred to your Stripe balance.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}}},"description":"","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":{"title":"CustomerBalanceResourceCashBalanceTransactionResourceUnappliedFromPaymentTransaction","required":["payment_intent"],"type":"object","properties":{"payment_intent":{"description":"The [Payment Intent](https://docs.stripe.com/api/payment_intents/object) that funds were unapplied from.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}}},"description":"","x-expandableFields":["payment_intent"],"x-stripeMostCommon":["payment_intent"],"x-stripeResource":{"class_name":"UnappliedFromPayment","in_package":""}},"customer_balance_transaction":{"title":"CustomerBalanceTransaction","required":["amount","checkout_session","created","credit_note","currency","customer","customer_account","description","ending_balance","id","invoice","livemode","metadata","object","type"],"type":"object","properties":{"amount":{"type":"integer","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`."},"checkout_session":{"description":"The ID of the checkout session (if any) that created the transaction.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/checkout.session"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/checkout.session"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"credit_note":{"description":"The ID of the credit note (if any) related to the transaction.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/credit_note"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/credit_note"}]}},"currency":{"type":"string","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).","format":"currency"},"customer":{"description":"The ID of the customer the transaction belongs to.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of an Account representing a customer that the transaction belongs to.","nullable":true},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"ending_balance":{"type":"integer","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."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice":{"description":"The ID of the invoice (if any) related to the transaction.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["customer_balance_transaction"]},"type":{"type":"string","description":"Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`, `initial`, `invoice_overpaid`, `invoice_too_large`, `invoice_too_small`, `unspent_receiver_credit`, `unapplied_from_invoice`, `checkout_session_subscription_payment`, or `checkout_session_subscription_payment_canceled`. See the [Customer Balance page](https://docs.stripe.com/billing/customer/balance#types) to learn more about transaction types.","enum":["adjustment","applied_to_invoice","checkout_session_subscription_payment","checkout_session_subscription_payment_canceled","credit_note","initial","invoice_overpaid","invoice_too_large","invoice_too_small","migration","unapplied_from_invoice","unspent_receiver_credit"],"x-stripeBypassValidation":true}},"description":"Each customer has a [Balance](https://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/billing/customer/balance)","x-expandableFields":["checkout_session","credit_note","customer","invoice"],"x-resourceId":"customer_balance_transaction","x-stripeMostCommon":["amount","currency","customer","customer_account","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":{"title":"CustomerCashBalanceTransaction","required":["created","currency","customer","customer_account","ending_balance","id","livemode","net_amount","object","type"],"type":"object","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":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","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)."},"customer":{"description":"The customer whose available cash balance changed as a result of this transaction.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of an Account representing a customer whose available cash balance changed as a result of this transaction.","nullable":true},"ending_balance":{"type":"integer","description":"The total available cash balance for the specified currency after this transaction was applied. Represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"funded":{"$ref":"#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_funded_transaction"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"net_amount":{"type":"integer","description":"The amount by which the cash balance changed, represented in the [smallest currency unit](https://docs.stripe.com/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."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["customer_cash_balance_transaction"]},"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":{"type":"string","description":"The type of the cash balance transaction. New types may be added in future. See [Customer Balance](https://docs.stripe.com/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"]},"unapplied_from_payment":{"$ref":"#/components/schemas/customer_balance_resource_cash_balance_transaction_resource_unapplied_from_payment_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.","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","customer_account","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/customer_cash_balance_transaction"}},"description":"Occurs whenever a new customer cash balance transactions is created.","x-expandableFields":[],"x-stripeEvent":{"type":"customer_cash_balance_transaction.created"}},"customer_session":{"title":"CustomerSessionResourceCustomerSession","required":["client_secret","created","customer","customer_account","expires_at","livemode","object"],"type":"object","properties":{"client_secret":{"maxLength":5000,"type":"string","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."},"components":{"$ref":"#/components/schemas/customer_session_resource_components"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer":{"description":"The Customer the Customer Session was created for.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The Account that the Customer Session was created for.","nullable":true},"expires_at":{"type":"integer","description":"The timestamp at which this Customer Session will expire.","format":"unix-time"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["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).","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":{"title":"CustomerSessionResourceComponents","required":["buy_button","customer_sheet","mobile_payment_element","payment_element","pricing_table"],"type":"object","properties":{"buy_button":{"$ref":"#/components/schemas/customer_session_resource_components_resource_buy_button"},"customer_sheet":{"$ref":"#/components/schemas/customer_session_resource_components_resource_customer_sheet"},"mobile_payment_element":{"$ref":"#/components/schemas/customer_session_resource_components_resource_mobile_payment_element"},"payment_element":{"$ref":"#/components/schemas/customer_session_resource_components_resource_payment_element"},"pricing_table":{"$ref":"#/components/schemas/customer_session_resource_components_resource_pricing_table"}},"description":"Configuration for the components supported by this Customer Session.","x-expandableFields":["buy_button","customer_sheet","mobile_payment_element","payment_element","pricing_table"],"x-stripeMostCommon":["buy_button","customer_sheet","mobile_payment_element","payment_element","pricing_table"]},"customer_session_resource_components_resource_buy_button":{"title":"CustomerSessionResourceComponentsResourceBuyButton","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the buy button is enabled."}},"description":"This hash contains whether the buy button is enabled.","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"customer_session_resource_components_resource_customer_sheet":{"title":"CustomerSessionResourceComponentsResourceCustomerSheet","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the customer sheet is enabled."},"features":{"description":"This hash defines whether the customer sheet supports certain features.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/customer_session_resource_components_resource_customer_sheet_resource_features"}]}},"description":"This hash contains whether the customer sheet is enabled and the features it supports.","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"]},"customer_session_resource_components_resource_customer_sheet_resource_features":{"title":"CustomerSessionResourceComponentsResourceCustomerSheetResourceFeatures","required":["payment_method_allow_redisplay_filters","payment_method_remove"],"type":"object","properties":{"payment_method_allow_redisplay_filters":{"type":"array","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 customer sheet 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\"].","nullable":true,"items":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_remove":{"type":"string","description":"Controls whether the customer sheet displays the option to remove a saved payment method.\"\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).","nullable":true,"enum":["disabled","enabled"],"x-stripeBypassValidation":true}},"description":"This hash contains the features the customer sheet supports.","x-expandableFields":[],"x-stripeMostCommon":["payment_method_allow_redisplay_filters","payment_method_remove"]},"customer_session_resource_components_resource_mobile_payment_element":{"title":"CustomerSessionResourceComponentsResourceMobilePaymentElement","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the mobile payment element is enabled."},"features":{"description":"This hash defines whether the mobile payment element supports certain features.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/customer_session_resource_components_resource_mobile_payment_element_resource_features"}]}},"description":"This hash contains whether the mobile payment element is enabled and the features it supports.","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"]},"customer_session_resource_components_resource_mobile_payment_element_resource_features":{"title":"CustomerSessionResourceComponentsResourceMobilePaymentElementResourceFeatures","required":["payment_method_allow_redisplay_filters","payment_method_redisplay","payment_method_remove","payment_method_save","payment_method_save_allow_redisplay_override"],"type":"object","properties":{"payment_method_allow_redisplay_filters":{"type":"array","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 mobile 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\"].","nullable":true,"items":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_redisplay":{"type":"string","description":"Controls whether or not the mobile payment element shows saved payment methods.","nullable":true,"enum":["disabled","enabled"],"x-stripeBypassValidation":true},"payment_method_remove":{"type":"string","description":"Controls whether the mobile payment element displays the option to remove a saved payment method.\"\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).","nullable":true,"enum":["disabled","enabled"],"x-stripeBypassValidation":true},"payment_method_save":{"type":"string","description":"Controls whether the mobile payment element displays a checkbox offering to save a new payment method.\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`.","nullable":true,"enum":["disabled","enabled"],"x-stripeBypassValidation":true},"payment_method_save_allow_redisplay_override":{"type":"string","description":"Allows overriding the value of allow_override when saving a new payment method when payment_method_save is set to disabled. Use values: \"always\", \"limited\", or \"unspecified\".\n\nIf not specified, defaults to `nil` (no override value).","nullable":true,"enum":["always","limited","unspecified"]}},"description":"This hash contains the features the mobile payment element supports.","x-expandableFields":[],"x-stripeMostCommon":["payment_method_allow_redisplay_filters","payment_method_redisplay","payment_method_remove","payment_method_save","payment_method_save_allow_redisplay_override"]},"customer_session_resource_components_resource_payment_element":{"title":"CustomerSessionResourceComponentsResourcePaymentElement","required":["enabled","features"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the Payment Element is enabled."},"features":{"description":"This hash defines whether the Payment Element supports certain features.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/customer_session_resource_components_resource_payment_element_resource_features"}]}},"description":"This hash contains whether the Payment Element is enabled and the features it supports.","x-expandableFields":["features"],"x-stripeMostCommon":["enabled","features"]},"customer_session_resource_components_resource_payment_element_resource_features":{"title":"CustomerSessionResourceComponentsResourcePaymentElementResourceFeatures","required":["payment_method_allow_redisplay_filters","payment_method_redisplay","payment_method_redisplay_limit","payment_method_remove","payment_method_save","payment_method_save_usage"],"type":"object","properties":{"payment_method_allow_redisplay_filters":{"type":"array","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":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_redisplay":{"type":"string","description":"Controls whether or not the Payment Element shows saved payment methods. This parameter defaults to `disabled`.","enum":["disabled","enabled"],"x-stripeBypassValidation":true},"payment_method_redisplay_limit":{"type":"integer","description":"Determines the max number of saved payment methods for the Payment Element to display. This parameter defaults to `3`. The maximum redisplay limit is `10`.","nullable":true},"payment_method_remove":{"type":"string","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"],"x-stripeBypassValidation":true},"payment_method_save":{"type":"string","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"],"x-stripeBypassValidation":true},"payment_method_save_usage":{"type":"string","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.","nullable":true,"enum":["off_session","on_session"]}},"description":"This hash contains the features the Payment Element supports.","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":{"title":"CustomerSessionResourceComponentsResourcePricingTable","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the pricing table is enabled."}},"description":"This hash contains whether the pricing table is enabled.","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"customer_tax":{"title":"CustomerTax","required":["automatic_tax","ip_address","location","provider"],"type":"object","properties":{"automatic_tax":{"type":"string","description":"Surfaces if automatic tax computation is possible given the current customer location information.","enum":["failed","not_collecting","supported","unrecognized_location"]},"ip_address":{"maxLength":5000,"type":"string","description":"A recent IP address of the customer used for tax reporting and tax location inference.","nullable":true},"location":{"description":"The identified tax location of the customer.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/customer_tax_location"}]},"provider":{"type":"string","description":"The tax calculation provider used for location resolution. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps).","enum":["anrok","avalara","sphere","stripe"]}},"description":"","x-expandableFields":["location"],"x-stripeMostCommon":["automatic_tax","ip_address","location","provider"]},"customer_tax_location":{"title":"CustomerTaxLocation","required":["country","source","state"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The identified tax country of the customer."},"source":{"type":"string","description":"The data source used to infer the customer's location.","enum":["billing_address","ip_address","payment_method","shipping_destination"]},"state":{"maxLength":5000,"type":"string","description":"The identified tax state, county, province, or region of the customer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country","source","state"]},"deleted_account":{"title":"DeletedAccount","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["account"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_account","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedAccount","in_package":""}},"deleted_apple_pay_domain":{"title":"DeletedApplePayDomain","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["apple_pay_domain"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_apple_pay_domain","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedApplePayDomain","in_package":""}},"deleted_application":{"title":"DeletedApplication","required":["deleted","id","name","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"name":{"maxLength":5000,"type":"string","description":"The name of the application.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["application"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["deleted","id","name","object"],"x-stripeResource":{"class_name":"DeletedApplication","in_package":""}},"deleted_bank_account":{"title":"DeletedBankAccount","required":["deleted","id","object"],"type":"object","properties":{"currency":{"maxLength":5000,"type":"string","description":"Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.","nullable":true},"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["bank_account"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["currency","deleted","id","object"],"x-stripeResource":{"class_name":"DeletedBankAccount","in_package":""}},"deleted_card":{"title":"DeletedCard","required":["deleted","id","object"],"type":"object","properties":{"currency":{"maxLength":5000,"type":"string","description":"Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.","nullable":true},"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["card"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["currency","deleted","id","object"],"x-stripeResource":{"class_name":"DeletedCard","in_package":""}},"deleted_coupon":{"title":"DeletedCoupon","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["coupon"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_coupon","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedCoupon","in_package":""}},"deleted_customer":{"title":"DeletedCustomer","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["customer"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_customer","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedCustomer","in_package":""}},"deleted_discount":{"title":"DeletedDiscount","required":["checkout_session","customer","customer_account","deleted","id","invoice","invoice_item","object","promotion_code","source","start","subscription","subscription_item"],"type":"object","properties":{"checkout_session":{"maxLength":5000,"type":"string","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.","nullable":true},"customer":{"description":"The ID of the customer associated with this discount.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account representing the customer associated with this discount.","nullable":true},"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","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."},"invoice":{"maxLength":5000,"type":"string","description":"The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.","nullable":true},"invoice_item":{"maxLength":5000,"type":"string","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.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["discount"]},"promotion_code":{"description":"The promotion code applied to create this discount.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/promotion_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/promotion_code"}]}},"source":{"$ref":"#/components/schemas/discount_source"},"start":{"type":"integer","description":"Date that the coupon was applied.","format":"unix-time"},"subscription":{"maxLength":5000,"type":"string","description":"The subscription that this coupon is applied to, if it is applied to a particular subscription.","nullable":true},"subscription_item":{"maxLength":5000,"type":"string","description":"The subscription item that this coupon is applied to, if it is applied to a particular subscription item.","nullable":true}},"description":"","x-expandableFields":["customer","promotion_code","source"],"x-resourceId":"deleted_discount","x-stripeMostCommon":["customer","customer_account","deleted","id","source","start","subscription"],"x-stripeResource":{"class_name":"DeletedDiscount","in_package":""}},"deleted_external_account":{"title":"Polymorphic","anyOf":[{"$ref":"#/components/schemas/deleted_bank_account"},{"$ref":"#/components/schemas/deleted_card"}],"x-resourceId":"deleted_external_account","x-stripeBypassValidation":true,"x-stripeResource":{"class_name":"DeletedExternalAccount"}},"deleted_invoice":{"title":"DeletedInvoice","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["invoice"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_invoice","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedInvoice","in_package":""}},"deleted_invoiceitem":{"title":"DeletedInvoiceItem","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["invoiceitem"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_invoiceitem","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedInvoiceItem","in_package":""}},"deleted_payment_source":{"title":"Polymorphic","anyOf":[{"$ref":"#/components/schemas/deleted_bank_account"},{"$ref":"#/components/schemas/deleted_card"}],"x-resourceId":"deleted_payment_source","x-stripeBypassValidation":true,"x-stripeResource":{"class_name":"DeletedPaymentSource"}},"deleted_person":{"title":"DeletedPerson","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["person"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_person","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedPerson","in_package":""}},"deleted_plan":{"title":"DeletedPlan","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["plan"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_plan","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedPlan","in_package":""}},"deleted_price":{"title":"DeletedPrice","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["price"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedPrice","in_package":""}},"deleted_product":{"title":"DeletedProduct","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["product"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_product","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedProduct","in_package":""}},"deleted_product_feature":{"title":"DeletedProductFeature","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["product_feature"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_product_feature","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedProductFeature","in_package":""}},"deleted_radar.value_list":{"title":"RadarListDeletedList","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["radar.value_list"]}},"description":"","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":{"title":"RadarListDeletedListItem","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["radar.value_list_item"]}},"description":"","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":{"title":"DeletedSubscriptionItem","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["subscription_item"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_subscription_item","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedSubscriptionItem","in_package":""}},"deleted_tax_id":{"title":"deleted_tax_id","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax_id"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_tax_id","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedTaxId","in_package":""}},"deleted_terminal.configuration":{"title":"TerminalConfigurationDeletedConfiguration","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.configuration"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_terminal.configuration","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedConfiguration","in_package":"Terminal"}},"deleted_terminal.location":{"title":"TerminalLocationDeletedLocation","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.location"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_terminal.location","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedLocation","in_package":"Terminal"}},"deleted_terminal.reader":{"title":"TerminalReaderDeletedReader","required":["deleted","device_type","id","object","serial_number"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"device_type":{"type":"string","description":"Device type of the reader.","enum":["bbpos_chipper2x","bbpos_wisepad3","bbpos_wisepos_e","mobile_phone_reader","simulated_stripe_s700","simulated_stripe_s710","simulated_wisepos_e","stripe_m2","stripe_s700","stripe_s710","verifone_P400"],"x-stripeBypassValidation":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.reader"]},"serial_number":{"maxLength":5000,"type":"string","description":"Serial number of the reader."}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_terminal.reader","x-stripeMostCommon":["deleted","device_type","id","object","serial_number"],"x-stripeResource":{"class_name":"DeletedReader","in_package":"Terminal"}},"deleted_test_helpers.test_clock":{"title":"DeletedTestClock","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["test_helpers.test_clock"]}},"description":"","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":{"title":"NotificationWebhookEndpointDeleted","required":["deleted","id","object"],"type":"object","properties":{"deleted":{"type":"boolean","description":"Always true for a deleted object","enum":[true]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["webhook_endpoint"]}},"description":"","x-expandableFields":[],"x-resourceId":"deleted_webhook_endpoint","x-stripeMostCommon":["deleted","id","object"],"x-stripeResource":{"class_name":"DeletedWebhookEndpoint","in_package":""}},"destination_details_unimplemented":{"title":"destination_details_unimplemented","type":"object","properties":{},"description":"","x-expandableFields":[]},"discount":{"title":"Discount","required":["checkout_session","customer","customer_account","end","id","invoice","invoice_item","object","promotion_code","source","start","subscription","subscription_item"],"type":"object","properties":{"checkout_session":{"maxLength":5000,"type":"string","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.","nullable":true},"customer":{"description":"The ID of the customer associated with this discount.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account representing the customer associated with this discount.","nullable":true},"end":{"type":"integer","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},"id":{"maxLength":5000,"type":"string","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."},"invoice":{"maxLength":5000,"type":"string","description":"The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.","nullable":true},"invoice_item":{"maxLength":5000,"type":"string","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.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["discount"]},"promotion_code":{"description":"The promotion code applied to create this discount.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/promotion_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/promotion_code"}]}},"source":{"$ref":"#/components/schemas/discount_source"},"start":{"type":"integer","description":"Date that the coupon was applied.","format":"unix-time"},"subscription":{"maxLength":5000,"type":"string","description":"The subscription that this coupon is applied to, if it is applied to a particular subscription.","nullable":true},"subscription_item":{"maxLength":5000,"type":"string","description":"The subscription item that this coupon is applied to, if it is applied to a particular subscription item.","nullable":true}},"description":"A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#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://docs.stripe.com/billing/subscriptions/discounts)","x-expandableFields":["customer","promotion_code","source"],"x-stripeMostCommon":["customer","customer_account","end","id","source","start","subscription"],"x-stripeResource":{"class_name":"Discount","in_package":""}},"discount_source":{"title":"DiscountSource","required":["coupon","type"],"type":"object","properties":{"coupon":{"description":"The coupon that was redeemed to create this discount.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/coupon"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/coupon"}]}},"type":{"type":"string","description":"The source type of the discount.","enum":["coupon"]}},"description":"","x-expandableFields":["coupon"],"x-stripeMostCommon":["coupon","type"]},"discounts_resource_discount_amount":{"title":"DiscountsResourceDiscountAmount","required":["amount","discount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the discount."},"discount":{"description":"The discount that was applied to get this discount amount.","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"}]}}},"description":"","x-expandableFields":["discount"],"x-stripeMostCommon":["amount","discount"]},"discounts_resource_stackable_discount_with_discount_end":{"title":"DiscountsResourceStackableDiscountWithDiscountEnd","required":["coupon","discount","promotion_code"],"type":"object","properties":{"coupon":{"description":"ID of the coupon to create a new discount for.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/coupon"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/coupon"}]}},"discount":{"description":"ID of an existing discount on the object (or one of its ancestors) to reuse.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/discount"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/discount"}]}},"promotion_code":{"description":"ID of the promotion code to create a new discount for.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/promotion_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/promotion_code"}]}}},"description":"","x-expandableFields":["coupon","discount","promotion_code"],"x-stripeMostCommon":["coupon","discount","promotion_code"]},"dispute":{"title":"Dispute","required":["amount","balance_transactions","charge","created","currency","enhanced_eligibility_types","evidence","evidence_details","id","is_charge_refundable","livemode","metadata","object","payment_intent","reason","status"],"type":"object","properties":{"amount":{"type":"integer","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)."},"balance_transactions":{"type":"array","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"}},"charge":{"description":"ID of the charge that's disputed.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"enhanced_eligibility_types":{"type":"array","description":"List of eligibility types that are included in `enhanced_evidence`.","items":{"type":"string","enum":["visa_compelling_evidence_3","visa_compliance"]}},"evidence":{"$ref":"#/components/schemas/dispute_evidence"},"evidence_details":{"$ref":"#/components/schemas/dispute_evidence_details"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"is_charge_refundable":{"type":"boolean","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."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"network_reason_code":{"maxLength":5000,"type":"string","description":"Network-dependent reason code for the dispute.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["dispute"]},"payment_intent":{"description":"ID of the PaymentIntent that's disputed.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"payment_method_details":{"$ref":"#/components/schemas/dispute_payment_method_details"},"reason":{"maxLength":5000,"type":"string","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`, `noncompliant`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Learn more about [dispute reasons](https://docs.stripe.com/disputes/categories)."},"status":{"type":"string","description":"The current status of a dispute. Possible values include:`warning_needs_response`, `warning_under_review`, `warning_closed`, `needs_response`, `under_review`, `won`, `lost`, or `prevented`.","enum":["lost","needs_response","prevented","under_review","warning_closed","warning_needs_response","warning_under_review","won"],"x-stripeBypassValidation":true}},"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://docs.stripe.com/disputes)","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":{"title":"DisputeEnhancedEligibility","type":"object","properties":{"visa_compelling_evidence_3":{"$ref":"#/components/schemas/dispute_enhanced_eligibility_visa_compelling_evidence3"},"visa_compliance":{"$ref":"#/components/schemas/dispute_enhanced_eligibility_visa_compliance"}},"description":"","x-expandableFields":["visa_compelling_evidence_3","visa_compliance"],"x-stripeMostCommon":["visa_compelling_evidence_3","visa_compliance"]},"dispute_enhanced_eligibility_visa_compelling_evidence3":{"title":"DisputeEnhancedEligibilityVisaCompellingEvidence3","required":["required_actions","status"],"type":"object","properties":{"required_actions":{"type":"array","description":"List of actions required to qualify dispute for Visa Compelling Evidence 3.0 evidence submission.","items":{"type":"string","enum":["missing_customer_identifiers","missing_disputed_transaction_description","missing_merchandise_or_services","missing_prior_undisputed_transaction_description","missing_prior_undisputed_transactions"]}},"status":{"type":"string","description":"Visa Compelling Evidence 3.0 eligibility status.","enum":["not_qualified","qualified","requires_action"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["required_actions","status"]},"dispute_enhanced_eligibility_visa_compliance":{"title":"DisputeEnhancedEligibilityVisaCompliance","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Visa compliance eligibility status.","enum":["fee_acknowledged","requires_fee_acknowledgement"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"dispute_enhanced_evidence":{"title":"DisputeEnhancedEvidence","type":"object","properties":{"visa_compelling_evidence_3":{"$ref":"#/components/schemas/dispute_enhanced_evidence_visa_compelling_evidence3"},"visa_compliance":{"$ref":"#/components/schemas/dispute_enhanced_evidence_visa_compliance"}},"description":"","x-expandableFields":["visa_compelling_evidence_3","visa_compliance"],"x-stripeMostCommon":["visa_compelling_evidence_3","visa_compliance"]},"dispute_enhanced_evidence_visa_compelling_evidence3":{"title":"DisputeEnhancedEvidenceVisaCompellingEvidence3","required":["disputed_transaction","prior_undisputed_transactions"],"type":"object","properties":{"disputed_transaction":{"description":"Disputed transaction details for Visa Compelling Evidence 3.0 evidence submission.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/dispute_visa_compelling_evidence3_disputed_transaction"}]},"prior_undisputed_transactions":{"type":"array","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"}}},"description":"","x-expandableFields":["disputed_transaction","prior_undisputed_transactions"],"x-stripeMostCommon":["disputed_transaction","prior_undisputed_transactions"]},"dispute_enhanced_evidence_visa_compliance":{"title":"DisputeEnhancedEvidenceVisaCompliance","required":["fee_acknowledged"],"type":"object","properties":{"fee_acknowledged":{"type":"boolean","description":"A field acknowledging the fee incurred when countering a Visa compliance dispute. If this field is set to true, evidence can be submitted for the compliance dispute. Stripe collects a 500 USD (or local equivalent) amount to cover the network costs associated with resolving compliance disputes. Stripe refunds the 500 USD network fee if you win the dispute."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fee_acknowledged"]},"dispute_evidence":{"title":"DisputeEvidence","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"],"type":"object","properties":{"access_activity_log":{"maxLength":150000,"type":"string","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.","nullable":true},"billing_address":{"maxLength":5000,"type":"string","description":"The billing address provided by the customer.","nullable":true},"cancellation_policy":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"cancellation_policy_disclosure":{"maxLength":150000,"type":"string","description":"An explanation of how and when the customer was shown your refund policy prior to purchase.","nullable":true},"cancellation_rebuttal":{"maxLength":150000,"type":"string","description":"A justification for why the customer's subscription was not canceled.","nullable":true},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"customer_email_address":{"maxLength":5000,"type":"string","description":"The email address of the customer.","nullable":true},"customer_name":{"maxLength":5000,"type":"string","description":"The name of the customer.","nullable":true},"customer_purchase_ip":{"maxLength":5000,"type":"string","description":"The IP address that the customer used when making the purchase.","nullable":true},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"duplicate_charge_explanation":{"maxLength":150000,"type":"string","description":"An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate.","nullable":true},"duplicate_charge_id":{"maxLength":5000,"type":"string","description":"The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge.","nullable":true},"enhanced_evidence":{"$ref":"#/components/schemas/dispute_enhanced_evidence"},"product_description":{"maxLength":150000,"type":"string","description":"A description of the product or service that was sold.","nullable":true},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"refund_policy":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"refund_policy_disclosure":{"maxLength":150000,"type":"string","description":"Documentation demonstrating that the customer was shown your refund policy prior to purchase.","nullable":true},"refund_refusal_explanation":{"maxLength":150000,"type":"string","description":"A justification for why the customer is not entitled to a refund.","nullable":true},"service_date":{"maxLength":5000,"type":"string","description":"The date on which the customer received or began receiving the purchased service, in a clear human-readable format.","nullable":true},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"shipping_address":{"maxLength":5000,"type":"string","description":"The address to which a physical product was shipped. You should try to include as complete address information as possible.","nullable":true},"shipping_carrier":{"maxLength":5000,"type":"string","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.","nullable":true},"shipping_date":{"maxLength":5000,"type":"string","description":"The date on which a physical product began its route to the shipping address, in a clear human-readable format.","nullable":true},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"shipping_tracking_number":{"maxLength":5000,"type":"string","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.","nullable":true},"uncategorized_file":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"uncategorized_text":{"maxLength":150000,"type":"string","description":"Any additional evidence or statements.","nullable":true}},"description":"","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":{"title":"DisputeEvidenceDetails","required":["due_by","enhanced_eligibility","has_evidence","past_due","submission_count"],"type":"object","properties":{"due_by":{"type":"integer","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},"enhanced_eligibility":{"$ref":"#/components/schemas/dispute_enhanced_eligibility"},"has_evidence":{"type":"boolean","description":"Whether evidence has been staged for this dispute."},"past_due":{"type":"boolean","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."},"submission_count":{"type":"integer","description":"The number of times evidence has been submitted. Typically, you may only submit evidence once."}},"description":"","x-expandableFields":["enhanced_eligibility"],"x-stripeMostCommon":["due_by","enhanced_eligibility","has_evidence","past_due","submission_count"]},"dispute_payment_method_details":{"title":"DisputePaymentMethodDetails","required":["type"],"type":"object","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":{"type":"string","description":"Payment method type.","enum":["amazon_pay","card","klarna","paypal"]}},"description":"","x-expandableFields":["amazon_pay","card","klarna","paypal"],"x-stripeMostCommon":["amazon_pay","card","klarna","paypal","type"]},"dispute_payment_method_details_amazon_pay":{"title":"DisputePaymentMethodDetailsAmazonPay","required":["dispute_type"],"type":"object","properties":{"dispute_type":{"type":"string","description":"The AmazonPay dispute type, chargeback or claim","nullable":true,"enum":["chargeback","claim"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["dispute_type"]},"dispute_payment_method_details_card":{"title":"DisputePaymentMethodDetailsCard","required":["brand","case_type","network_reason_code"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`."},"case_type":{"type":"string","description":"The type of dispute opened. Different case types may have varying fees and financial impact.","enum":["block","chargeback","compliance","inquiry","resolution"]},"network_reason_code":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brand","case_type","network_reason_code"]},"dispute_payment_method_details_klarna":{"title":"DisputePaymentMethodDetailsKlarna","required":["reason_code"],"type":"object","properties":{"chargeback_loss_reason_code":{"maxLength":5000,"type":"string","description":"Chargeback loss reason mapped by Stripe from Klarna's chargeback loss reason"},"reason_code":{"maxLength":5000,"type":"string","description":"The reason for the dispute as defined by Klarna","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["chargeback_loss_reason_code","reason_code"]},"dispute_payment_method_details_paypal":{"title":"DisputePaymentMethodDetailsPaypal","required":["case_id","reason_code"],"type":"object","properties":{"case_id":{"maxLength":5000,"type":"string","description":"The ID of the dispute in PayPal.","nullable":true},"reason_code":{"maxLength":5000,"type":"string","description":"The reason for the dispute as defined by PayPal","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["case_id","reason_code"]},"dispute_transaction_shipping_address":{"title":"DisputeTransactionShippingAddress","required":["city","country","line1","line2","postal_code","state"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name.","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","nullable":true},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"dispute_visa_compelling_evidence3_disputed_transaction":{"title":"DisputeVisaCompellingEvidence3DisputedTransaction","required":["customer_account_id","customer_device_fingerprint","customer_device_id","customer_email_address","customer_purchase_ip","merchandise_or_services","product_description","shipping_address"],"type":"object","properties":{"customer_account_id":{"maxLength":5000,"type":"string","description":"User Account ID used to log into business platform. Must be recognizable by the user.","nullable":true},"customer_device_fingerprint":{"maxLength":5000,"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.","nullable":true},"customer_device_id":{"maxLength":5000,"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.","nullable":true},"customer_email_address":{"maxLength":5000,"type":"string","description":"The email address of the customer.","nullable":true},"customer_purchase_ip":{"maxLength":5000,"type":"string","description":"The IP address that the customer used when making the purchase.","nullable":true},"merchandise_or_services":{"type":"string","description":"Categorization of disputed payment.","nullable":true,"enum":["merchandise","services"]},"product_description":{"maxLength":150000,"type":"string","description":"A description of the product or service that was sold.","nullable":true},"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,"anyOf":[{"$ref":"#/components/schemas/dispute_transaction_shipping_address"}]}},"description":"","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":{"title":"DisputeVisaCompellingEvidence3PriorUndisputedTransaction","required":["charge","customer_account_id","customer_device_fingerprint","customer_device_id","customer_email_address","customer_purchase_ip","product_description","shipping_address"],"type":"object","properties":{"charge":{"maxLength":5000,"type":"string","description":"Stripe charge ID for the Visa Compelling Evidence 3.0 eligible prior charge."},"customer_account_id":{"maxLength":5000,"type":"string","description":"User Account ID used to log into business platform. Must be recognizable by the user.","nullable":true},"customer_device_fingerprint":{"maxLength":5000,"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.","nullable":true},"customer_device_id":{"maxLength":5000,"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.","nullable":true},"customer_email_address":{"maxLength":5000,"type":"string","description":"The email address of the customer.","nullable":true},"customer_purchase_ip":{"maxLength":5000,"type":"string","description":"The IP address that the customer used when making the purchase.","nullable":true},"product_description":{"maxLength":150000,"type":"string","description":"A description of the product or service that was sold.","nullable":true},"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,"anyOf":[{"$ref":"#/components/schemas/dispute_transaction_shipping_address"}]}},"description":"","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":{"title":"EmailSent","required":["email_sent_at","email_sent_to"],"type":"object","properties":{"email_sent_at":{"type":"integer","description":"The timestamp when the email was sent.","format":"unix-time"},"email_sent_to":{"maxLength":5000,"type":"string","description":"The recipient's email address."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["email_sent_at","email_sent_to"]},"entitlements.active_entitlement":{"title":"ActiveEntitlement","required":["feature","id","livemode","lookup_key","object"],"type":"object","properties":{"feature":{"description":"The [Feature](https://docs.stripe.com/api/entitlements/feature) that the customer is entitled to.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/entitlements.feature"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/entitlements.feature"}]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"lookup_key":{"maxLength":5000,"type":"string","description":"A unique key you provide as your own system identifier. This may be up to 80 characters."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["entitlements.active_entitlement"]}},"description":"An active entitlement describes access to a feature for a customer.","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":{"title":"ActiveEntitlementSummary","required":["customer","entitlements","livemode","object"],"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The customer that is entitled to this feature."},"entitlements":{"title":"EntitlementsResourceCustomerEntitlementList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/entitlements.active_entitlement"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"The list of entitlements this customer has.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["entitlements.active_entitlement_summary"]}},"description":"A summary of a customer's active entitlements.","x-expandableFields":["entitlements"],"x-stripeMostCommon":["customer","entitlements"],"x-stripeResource":{"class_name":"ActiveEntitlementSummary","in_package":"Entitlements"}},"entitlements.active_entitlement_summary.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/entitlements.active_entitlement_summary"}},"description":"Occurs whenever a customer's entitlements change.","x-expandableFields":[],"x-stripeEvent":{"type":"entitlements.active_entitlement_summary.updated"}},"entitlements.feature":{"title":"Feature","required":["active","id","livemode","lookup_key","metadata","name","object"],"type":"object","properties":{"active":{"type":"boolean","description":"Inactive features cannot be attached to new products and will not be returned from the features list endpoint."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"lookup_key":{"maxLength":5000,"type":"string","description":"A unique key you provide as your own system identifier. This may be up to 80 characters."},"metadata":{"type":"object","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."},"name":{"maxLength":80,"type":"string","description":"The feature's name, for your own purpose, not meant to be displayable to the customer."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["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.","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":{"title":"EphemeralKey","required":["created","expires","id","livemode","object"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"expires":{"type":"integer","description":"Time at which the key will expire. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["ephemeral_key"]},"secret":{"maxLength":5000,"type":"string","description":"The key's secret. You can use this value to make authorized requests to the Stripe API."}},"description":"","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":{"required":["error"],"type":"object","properties":{"error":{"$ref":"#/components/schemas/api_errors"}},"description":"An error response from the Stripe API","x-stripeResource":{"class_name":"StripeErrorResponse","in_package":""}},"event":{"title":"NotificationEvent","required":["api_version","created","data","id","livemode","object","pending_webhooks","request","type"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The connected account that originates the event."},"api_version":{"maxLength":5000,"type":"string","description":"The Stripe API version used to render `data` when the event was created. The contents of `data` never change, so this value remains static regardless of the API version currently in use. This property is populated only for events created on or after October 31, 2014.","nullable":true},"context":{"maxLength":5000,"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"data":{"$ref":"#/components/schemas/notification_event_data"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["event"]},"pending_webhooks":{"type":"integer","description":"Number of webhooks that haven't been successfully delivered (for example, to return a 20x response) to the URLs you specify."},"request":{"description":"Information on the API request that triggers the event.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/notification_event_request"}]},"type":{"maxLength":5000,"type":"string","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","balance_settings.updated","billing.alert.triggered","billing.credit_grant.created","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.account_numbers_updated","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","financial_connections.account.upcoming_account_number_expiry","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.overpaid","invoice.paid","invoice.payment_action_required","invoice.payment_attempt_required","invoice.payment_failed","invoice.payment_succeeded","invoice.sent","invoice.upcoming","invoice.updated","invoice.voided","invoice.will_be_due","invoice_payment.paid","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","reserve.hold.created","reserve.hold.updated","reserve.plan.created","reserve.plan.disabled","reserve.plan.expired","reserve.plan.updated","reserve.release.created","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","terminal.reader.action_updated","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"]}},"description":"Snapshot events allow you to track and react to activity in your Stripe integration. When\nthe state of another API resource changes, Stripe creates an `Event` object that contains\nall the relevant information associated with that action, including the affected API\nresource. For example, a successful payment triggers a `charge.succeeded` event, which\ncontains the `Charge` in the event's data property. Some actions trigger multiple events.\nFor example, if you create a new subscription for a customer, it triggers both a\n`customer.subscription.created` event and a `charge.succeeded` event.\n\nConfigure an event destination in your account to listen for events that represent actions\nyour integration needs to respond to. Additionally, you can retrieve an individual event or\na list of events from the API.\n\n[Connect](https://docs.stripe.com/connect) platforms can also receive event notifications\nthat occur in their connected accounts. These events include an account attribute that\nidentifies the relevant connected account.\n\nYou can access events through the [Retrieve Event API](https://docs.stripe.com/api/events#retrieve_event)\nfor 30 days.","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":{"title":"ExchangeRate","required":["id","object","rates"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","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."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["exchange_rate"]},"rates":{"type":"object","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."}},"description":"[Deprecated] The `ExchangeRate` APIs are deprecated. Please use the [FX Quotes API](https://docs.stripe.com/payments/currencies/localize-prices/fx-quotes-api) instead.\n\n`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://docs.stripe.com/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://docs.stripe.com/exchange-rates) guide for more details.\n\n-----\n\n \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.*","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":{"title":"Polymorphic","anyOf":[{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"}],"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":{"title":"ExternalAccountRequirements","required":["currently_due","errors","past_due","pending_verification"],"type":"object","properties":{"currently_due":{"type":"array","description":"Fields that need to be resolved to keep the external account enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the account is disabled.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"errors":{"type":"array","description":"Details about validation and verification failures for `due` requirements that must be resolved.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_error"}},"past_due":{"type":"array","description":"Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the external account.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"pending_verification":{"type":"array","description":"Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.","nullable":true,"items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["errors"],"x-stripeMostCommon":["currently_due","errors","past_due","pending_verification"]},"fee":{"title":"Fee","required":["amount","application","currency","description","type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of the fee, in cents."},"application":{"maxLength":5000,"type":"string","description":"ID of the Connect application that earned the fee.","nullable":true},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"type":{"maxLength":5000,"type":"string","description":"Type of the fee, one of: `application_fee`, `payment_method_passthrough_fee`, `stripe_fee` or `tax`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","application","currency","description","type"]},"fee_refund":{"title":"FeeRefund","required":["amount","balance_transaction","created","currency","fee","id","metadata","object"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount, in cents (or local equivalent)."},"balance_transaction":{"description":"Balance transaction that describes the impact on your account balance.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"fee":{"description":"ID of the application fee that was refunded.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application_fee"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application_fee"}]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["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://docs.stripe.com/connect/destination-charges#refunding-app-fee)","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":{"title":"File","required":["created","expires_at","filename","id","object","purpose","size","title","type","url"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"expires_at":{"type":"integer","description":"The file expires and isn't available at this time in epoch seconds.","format":"unix-time","nullable":true},"filename":{"maxLength":5000,"type":"string","description":"The suitable name for saving the file to a filesystem.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"links":{"title":"FileResourceFileLinkList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/file_link"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/file_links","type":"string","description":"The URL where this list can be accessed."}},"description":"A list of [file links](https://api.stripe.com#file_links) that point at this file.","nullable":true,"x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["file"]},"purpose":{"type":"string","description":"The [purpose](https://docs.stripe.com/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","platform_terms_of_service","selfie","sigma_scheduled_query","tax_document_user_upload","terminal_android_apk","terminal_reader_splashscreen","terminal_wifi_certificate","terminal_wifi_private_key"],"x-stripeBypassValidation":true},"size":{"type":"integer","description":"The size of the file object in bytes."},"title":{"maxLength":5000,"type":"string","description":"A suitable title for the document.","nullable":true},"type":{"maxLength":5000,"type":"string","description":"The returned file type (for example, `csv`, `pdf`, `jpg`, or `png`).","nullable":true},"url":{"maxLength":5000,"type":"string","description":"Use your live secret API key to download the file from this URL.","nullable":true}},"description":"This object represents files hosted on Stripe's servers. You can upload\nfiles with the [create file](https://api.stripe.com#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://docs.stripe.com/file-upload)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/file"}},"description":"Occurs whenever a new Stripe-generated file is available for your account.","x-expandableFields":[],"x-stripeEvent":{"type":"file.created"}},"file_link":{"title":"FileLink","required":["created","expired","expires_at","file","id","livemode","metadata","object","url"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"expired":{"type":"boolean","description":"Returns if the link is already expired."},"expires_at":{"type":"integer","description":"Time that the link expires.","format":"unix-time","nullable":true},"file":{"description":"The file object this link points to.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["file_link"]},"url":{"maxLength":5000,"type":"string","description":"The publicly accessible URL to download the file.","nullable":true}},"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.","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":{"title":"BankConnectionsResourceLinkedAccount","required":["account_holder","account_numbers","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"],"type":"object","properties":{"account_holder":{"description":"The account holder that this account belongs to.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_accountholder"}]},"account_numbers":{"type":"array","description":"Details about the account numbers.","nullable":true,"items":{"$ref":"#/components/schemas/bank_connections_resource_account_number_details"}},"balance":{"description":"The most recent information about the account's balance.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_balance"}]},"balance_refresh":{"description":"The state of the most recent attempt to refresh the account balance.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_balance_refresh"}]},"category":{"type":"string","description":"The type of the account. Account category is further divided in `subcategory`.","enum":["cash","credit","investment","other"]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"display_name":{"maxLength":5000,"type":"string","description":"A human-readable name that has been assigned to this account, either by the account holder or by the institution.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"institution_name":{"maxLength":5000,"type":"string","description":"The name of the institution that holds this account."},"last4":{"maxLength":5000,"type":"string","description":"The last 4 digits of the account number. If present, this will be 4 numeric characters.","nullable":true},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["financial_connections.account"]},"ownership":{"description":"The most recent information about the account's owners.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/financial_connections.account_ownership"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/financial_connections.account_ownership"}]}},"ownership_refresh":{"description":"The state of the most recent attempt to refresh the account owners.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_ownership_refresh"}]},"permissions":{"type":"array","description":"The list of permissions granted by this account.","nullable":true,"items":{"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"status":{"type":"string","description":"The status of the link to the account.","enum":["active","disconnected","inactive"]},"subcategory":{"type":"string","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"]},"subscriptions":{"type":"array","description":"The list of data refresh subscriptions requested on this account.","nullable":true,"items":{"type":"string","enum":["transactions"],"x-stripeBypassValidation":true}},"supported_payment_method_types":{"type":"array","description":"The [PaymentMethod type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type)(s) that can be created from this account.","items":{"type":"string","enum":["link","us_bank_account"],"x-stripeBypassValidation":true}},"transaction_refresh":{"description":"The state of the most recent attempt to refresh the account transactions.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_transaction_refresh"}]}},"description":"A Financial Connections Account represents an account that exists outside of Stripe, to which you have been granted some degree of access.","x-expandableFields":["account_holder","account_numbers","balance","balance_refresh","ownership","ownership_refresh","transaction_refresh"],"x-resourceId":"financial_connections.account","x-stripeMostCommon":["account_holder","account_numbers","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.account_numbers_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when a Financial Connections account's account numbers are updated.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.account_numbers_updated"}},"financial_connections.account.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when a new Financial Connections account is created.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.created"}},"financial_connections.account.deactivated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when a Financial Connections account's status is updated from `active` to `inactive`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.deactivated"}},"financial_connections.account.disconnected":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when a Financial Connections account is disconnected.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.disconnected"}},"financial_connections.account.reactivated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when a Financial Connections account's status is updated from `inactive` to `active`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.reactivated"}},"financial_connections.account.refreshed_balance":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when an Account’s `balance_refresh` status transitions from `pending` to either `succeeded` or `failed`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.refreshed_balance"}},"financial_connections.account.refreshed_ownership":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.refreshed_ownership"}},"financial_connections.account.refreshed_transactions":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when an Account’s `transaction_refresh` status transitions from `pending` to either `succeeded` or `failed`.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.refreshed_transactions"}},"financial_connections.account.upcoming_account_number_expiry":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/financial_connections.account"}},"description":"Occurs when an Account’s tokenized account number is about to expire.","x-expandableFields":[],"x-stripeEvent":{"type":"financial_connections.account.upcoming_account_number_expiry"}},"financial_connections.account_owner":{"title":"BankConnectionsResourceOwner","required":["email","id","name","object","ownership","phone","raw_address","refreshed_at"],"type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"The email address of the owner.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"name":{"maxLength":5000,"type":"string","description":"The full name of the owner."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["financial_connections.account_owner"]},"ownership":{"maxLength":5000,"type":"string","description":"The ownership object that this owner belongs to."},"phone":{"maxLength":5000,"type":"string","description":"The raw phone number of the owner.","nullable":true},"raw_address":{"maxLength":5000,"type":"string","description":"The raw physical address of the owner.","nullable":true},"refreshed_at":{"type":"integer","description":"The timestamp of the refresh that updated this owner.","format":"unix-time","nullable":true}},"description":"Describes an owner of an account.","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":{"title":"BankConnectionsResourceOwnership","required":["created","id","object","owners"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["financial_connections.account_ownership"]},"owners":{"title":"BankConnectionsResourceOwnerList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/financial_connections.account_owner"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"A paginated list of owners for this account.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]}},"description":"Describes a snapshot of the owners of an account at a particular point in time.","x-expandableFields":["owners"],"x-stripeMostCommon":["created","id","object","owners"],"x-stripeResource":{"class_name":"AccountOwnership","in_package":"FinancialConnections"}},"financial_connections.session":{"title":"BankConnectionsResourceLinkAccountSession","required":["account_holder","accounts","client_secret","id","livemode","object","permissions","prefetch"],"type":"object","properties":{"account_holder":{"description":"The account holder for whom accounts are collected in this session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/bank_connections_resource_accountholder"}]},"accounts":{"title":"BankConnectionsResourceLinkedAccountList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/financial_connections.account"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/financial_connections/accounts","type":"string","description":"The URL where this list can be accessed."}},"description":"The accounts that were collected as part of this Session.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"client_secret":{"maxLength":5000,"type":"string","description":"A value that will be passed to the client to launch the authentication flow.","nullable":true},"filters":{"$ref":"#/components/schemas/bank_connections_resource_link_account_session_filters"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["financial_connections.session"]},"permissions":{"type":"array","description":"Permissions requested for accounts collected during this session.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"],"x-stripeBypassValidation":true}},"prefetch":{"type":"array","description":"Data features requested to be retrieved upon account creation.","nullable":true,"items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"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.","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":{"title":"BankConnectionsResourceTransaction","required":["account","amount","currency","description","id","livemode","object","status","status_transitions","transacted_at","transaction_refresh","updated"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The ID of the Financial Connections Account this transaction belongs to."},"amount":{"type":"integer","description":"The amount of this transaction, in cents (or local equivalent)."},"currency":{"maxLength":5000,"type":"string","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)."},"description":{"maxLength":5000,"type":"string","description":"The description of this transaction."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["financial_connections.transaction"]},"status":{"type":"string","description":"The status of the transaction.","enum":["pending","posted","void"]},"status_transitions":{"$ref":"#/components/schemas/bank_connections_resource_transaction_resource_status_transitions"},"transacted_at":{"type":"integer","description":"Time at which the transaction was transacted. Measured in seconds since the Unix epoch.","format":"unix-time"},"transaction_refresh":{"maxLength":5000,"type":"string","description":"The token of the transaction refresh that last updated or created this transaction."},"updated":{"type":"integer","description":"Time at which the object was last updated. Measured in seconds since the Unix epoch.","format":"unix-time"}},"description":"A Transaction represents a real transaction that affects a Financial Connections Account balance.","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":{"title":"FinancialReportingFinanceReportRunRunParameters","type":"object","properties":{"columns":{"type":"array","description":"The set of output columns requested for inclusion in the report run.","items":{"maxLength":5000,"type":"string"}},"connected_account":{"maxLength":5000,"type":"string","description":"Connected account ID by which to filter the report run."},"currency":{"type":"string","description":"Currency of objects to be included in the report run.","format":"currency"},"interval_end":{"type":"integer","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"},"interval_start":{"type":"integer","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"},"payout":{"maxLength":5000,"type":"string","description":"Payout ID by which to filter the report run."},"reporting_category":{"maxLength":5000,"type":"string","description":"Category of balance transactions to be included in the report run."},"timezone":{"maxLength":5000,"type":"string","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`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["columns","connected_account","currency","interval_end","interval_start","payout","reporting_category","timezone"]},"forwarded_request_context":{"title":"ForwardedRequestContext","required":["destination_duration","destination_ip_address"],"type":"object","properties":{"destination_duration":{"type":"integer","description":"The time it took in milliseconds for the destination endpoint to respond."},"destination_ip_address":{"maxLength":5000,"type":"string","description":"The IP address of the destination."}},"description":"Metadata about the forwarded request.","x-expandableFields":[],"x-stripeMostCommon":["destination_duration","destination_ip_address"]},"forwarded_request_details":{"title":"ForwardedRequestDetails","required":["body","headers","http_method"],"type":"object","properties":{"body":{"maxLength":5000,"type":"string","description":"The body payload to send to the destination endpoint."},"headers":{"type":"array","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"}},"http_method":{"type":"string","description":"The HTTP method used to call the destination endpoint.","enum":["POST"]}},"description":"Details about the request forwarded to the destination endpoint.","x-expandableFields":["headers"],"x-stripeMostCommon":["body","headers","http_method"]},"forwarded_request_header":{"title":"ForwardedRequestHeader","required":["name","value"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The header name."},"value":{"maxLength":5000,"type":"string","description":"The header value."}},"description":"Header data.","x-expandableFields":[],"x-stripeMostCommon":["name","value"]},"forwarded_response_details":{"title":"ForwardedResponseDetails","required":["body","headers","status"],"type":"object","properties":{"body":{"maxLength":5000,"type":"string","description":"The response body from the destination endpoint to Stripe."},"headers":{"type":"array","description":"HTTP headers that the destination endpoint returned.","items":{"$ref":"#/components/schemas/forwarded_request_header"}},"status":{"type":"integer","description":"The HTTP status code that the destination endpoint returned."}},"description":"Details about the response from the destination endpoint.","x-expandableFields":["headers"],"x-stripeMostCommon":["body","headers","status"]},"forwarding.request":{"title":"ForwardingRequest","required":["created","id","livemode","object","payment_method","replacements","request_context","request_details","response_details","url"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["forwarding.request"]},"payment_method":{"maxLength":5000,"type":"string","description":"The PaymentMethod to insert into the forwarded request. Forwarding previously consumed PaymentMethods is allowed."},"replacements":{"type":"array","description":"The field kinds to be replaced in the forwarded request.","items":{"type":"string","enum":["card_cvc","card_expiry","card_number","cardholder_name","request_signature"],"x-stripeBypassValidation":true}},"request_context":{"description":"Context about the request from Stripe's servers to the destination endpoint.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/forwarded_request_context"}]},"request_details":{"description":"The request that was sent to the destination endpoint. We redact any sensitive fields.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/forwarded_request_details"}]},"response_details":{"description":"The response that the destination endpoint returned to us. We redact any sensitive fields.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/forwarded_response_details"}]},"url":{"maxLength":5000,"type":"string","description":"The destination URL for the forwarded request. Must be supported by the config.","nullable":true}},"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).","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":{"title":"CustomerBalanceFundingInstructionsCustomerBalanceFundingInstructions","required":["bank_transfer","currency","funding_type","livemode","object"],"type":"object","properties":{"bank_transfer":{"$ref":"#/components/schemas/funding_instructions_bank_transfer"},"currency":{"maxLength":5000,"type":"string","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)."},"funding_type":{"type":"string","description":"The `funding_type` of the returned instructions","enum":["bank_transfer"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["funding_instructions"]}},"description":"Each customer has a [`balance`](https://docs.stripe.com/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://docs.stripe.com/payments/customer-balance/funding-instructions)","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":{"title":"FundingInstructionsBankTransfer","required":["country","financial_addresses","type"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The country of the bank account to fund"},"financial_addresses":{"type":"array","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":{"type":"string","description":"The bank_transfer type","enum":["eu_bank_transfer","jp_bank_transfer"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["financial_addresses"],"x-stripeMostCommon":["country","financial_addresses","type"],"x-stripeResource":{"class_name":"BankTransfer","in_package":""}},"funding_instructions_bank_transfer_aba_record":{"title":"FundingInstructionsBankTransferABARecord","required":["account_holder_address","account_holder_name","account_number","account_type","bank_address","bank_name","routing_number"],"type":"object","properties":{"account_holder_address":{"$ref":"#/components/schemas/address"},"account_holder_name":{"maxLength":5000,"type":"string","description":"The account holder name"},"account_number":{"maxLength":5000,"type":"string","description":"The ABA account number"},"account_type":{"maxLength":5000,"type":"string","description":"The account type"},"bank_address":{"$ref":"#/components/schemas/address"},"bank_name":{"maxLength":5000,"type":"string","description":"The bank name"},"routing_number":{"maxLength":5000,"type":"string","description":"The ABA routing number"}},"description":"ABA Records contain U.S. bank account details per the ABA format.","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":{"title":"FundingInstructionsBankTransferFinancialAddress","required":["type"],"type":"object","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":{"type":"array","description":"The payment networks supported by this FinancialAddress","items":{"type":"string","enum":["ach","bacs","domestic_wire_us","fps","sepa","spei","swift","zengin"],"x-stripeBypassValidation":true}},"swift":{"$ref":"#/components/schemas/funding_instructions_bank_transfer_swift_record"},"type":{"type":"string","description":"The type of financial address","enum":["aba","iban","sort_code","spei","swift","zengin"],"x-stripeBypassValidation":true},"zengin":{"$ref":"#/components/schemas/funding_instructions_bank_transfer_zengin_record"}},"description":"FinancialAddresses contain identifying information that resolves to a FinancialAccount.","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":{"title":"FundingInstructionsBankTransferIbanRecord","required":["account_holder_address","account_holder_name","bank_address","bic","country","iban"],"type":"object","properties":{"account_holder_address":{"$ref":"#/components/schemas/address"},"account_holder_name":{"maxLength":5000,"type":"string","description":"The name of the person or business that owns the bank account"},"bank_address":{"$ref":"#/components/schemas/address"},"bic":{"maxLength":5000,"type":"string","description":"The BIC/SWIFT code of the account."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"iban":{"maxLength":5000,"type":"string","description":"The IBAN of the account."}},"description":"Iban Records contain E.U. bank account details per the SEPA format.","x-expandableFields":["account_holder_address","bank_address"],"x-stripeMostCommon":["account_holder_address","account_holder_name","bank_address","bic","country","iban"]},"funding_instructions_bank_transfer_sort_code_record":{"title":"FundingInstructionsBankTransferSortCodeRecord","required":["account_holder_address","account_holder_name","account_number","bank_address","sort_code"],"type":"object","properties":{"account_holder_address":{"$ref":"#/components/schemas/address"},"account_holder_name":{"maxLength":5000,"type":"string","description":"The name of the person or business that owns the bank account"},"account_number":{"maxLength":5000,"type":"string","description":"The account number"},"bank_address":{"$ref":"#/components/schemas/address"},"sort_code":{"maxLength":5000,"type":"string","description":"The six-digit sort code"}},"description":"Sort Code Records contain U.K. bank account details per the sort code format.","x-expandableFields":["account_holder_address","bank_address"],"x-stripeMostCommon":["account_holder_address","account_holder_name","account_number","bank_address","sort_code"],"x-stripeResource":{"class_name":"SortCodeRecords","in_package":""}},"funding_instructions_bank_transfer_spei_record":{"title":"FundingInstructionsBankTransferSpeiRecord","required":["account_holder_address","account_holder_name","bank_address","bank_code","bank_name","clabe"],"type":"object","properties":{"account_holder_address":{"$ref":"#/components/schemas/address"},"account_holder_name":{"maxLength":5000,"type":"string","description":"The account holder name"},"bank_address":{"$ref":"#/components/schemas/address"},"bank_code":{"maxLength":5000,"type":"string","description":"The three-digit bank code"},"bank_name":{"maxLength":5000,"type":"string","description":"The short banking institution name"},"clabe":{"maxLength":5000,"type":"string","description":"The CLABE number"}},"description":"SPEI Records contain Mexico bank account details per the SPEI format.","x-expandableFields":["account_holder_address","bank_address"],"x-stripeMostCommon":["account_holder_address","account_holder_name","bank_address","bank_code","bank_name","clabe"]},"funding_instructions_bank_transfer_swift_record":{"title":"FundingInstructionsBankTransferSwiftRecord","required":["account_holder_address","account_holder_name","account_number","account_type","bank_address","bank_name","swift_code"],"type":"object","properties":{"account_holder_address":{"$ref":"#/components/schemas/address"},"account_holder_name":{"maxLength":5000,"type":"string","description":"The account holder name"},"account_number":{"maxLength":5000,"type":"string","description":"The account number"},"account_type":{"maxLength":5000,"type":"string","description":"The account type"},"bank_address":{"$ref":"#/components/schemas/address"},"bank_name":{"maxLength":5000,"type":"string","description":"The bank name"},"swift_code":{"maxLength":5000,"type":"string","description":"The SWIFT code"}},"description":"SWIFT Records contain U.S. bank account details per the SWIFT format.","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":{"title":"FundingInstructionsBankTransferZenginRecord","required":["account_holder_address","account_holder_name","account_number","account_type","bank_address","bank_code","bank_name","branch_code","branch_name"],"type":"object","properties":{"account_holder_address":{"$ref":"#/components/schemas/address"},"account_holder_name":{"maxLength":5000,"type":"string","description":"The account holder name","nullable":true},"account_number":{"maxLength":5000,"type":"string","description":"The account number","nullable":true},"account_type":{"maxLength":5000,"type":"string","description":"The bank account type. In Japan, this can only be `futsu` or `toza`.","nullable":true},"bank_address":{"$ref":"#/components/schemas/address"},"bank_code":{"maxLength":5000,"type":"string","description":"The bank code of the account","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"The bank name of the account","nullable":true},"branch_code":{"maxLength":5000,"type":"string","description":"The branch code of the account","nullable":true},"branch_name":{"maxLength":5000,"type":"string","description":"The branch name of the account","nullable":true}},"description":"Zengin Records contain Japan bank account details per the Zengin format.","x-expandableFields":["account_holder_address","bank_address"],"x-stripeMostCommon":["account_holder_address","account_holder_name","account_number","account_type","bank_address","bank_code","bank_name","branch_code","branch_name"]},"gelato_data_document_report_date_of_birth":{"title":"GelatoDataDocumentReportDateOfBirth","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Numerical day between 1 and 31.","nullable":true},"month":{"type":"integer","description":"Numerical month between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year.","nullable":true}},"description":"Point in Time","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"gelato_data_document_report_expiration_date":{"title":"GelatoDataDocumentReportExpirationDate","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Numerical day between 1 and 31.","nullable":true},"month":{"type":"integer","description":"Numerical month between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year.","nullable":true}},"description":"Point in Time","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"gelato_data_document_report_issued_date":{"title":"GelatoDataDocumentReportIssuedDate","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Numerical day between 1 and 31.","nullable":true},"month":{"type":"integer","description":"Numerical month between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year.","nullable":true}},"description":"Point in Time","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"gelato_data_id_number_report_date":{"title":"GelatoDataIdNumberReportDate","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Numerical day between 1 and 31.","nullable":true},"month":{"type":"integer","description":"Numerical month between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year.","nullable":true}},"description":"Point in Time","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"gelato_data_verified_outputs_date":{"title":"GelatoDataVerifiedOutputsDate","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"Numerical day between 1 and 31.","nullable":true},"month":{"type":"integer","description":"Numerical month between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year.","nullable":true}},"description":"Point in Time","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"gelato_document_report":{"title":"GelatoDocumentReport","required":["address","error","files","first_name","issued_date","issuing_country","last_name","status","type"],"type":"object","properties":{"address":{"description":"Address as it appears in the document.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"dob":{"description":"Date of birth as it appears in the document.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_data_document_report_date_of_birth"}]},"error":{"description":"Details on the verification error. Present when status is `unverified`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_document_report_error"}]},"expiration_date":{"description":"Expiration date of the document.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_data_document_report_expiration_date"}]},"files":{"type":"array","description":"Array of [File](https://docs.stripe.com/api/files) ids containing images for this document.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"first_name":{"maxLength":5000,"type":"string","description":"First name as it appears in the document.","nullable":true},"issued_date":{"description":"Issued date of the document.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_data_document_report_issued_date"}]},"issuing_country":{"maxLength":5000,"type":"string","description":"Issuing country of the document.","nullable":true},"last_name":{"maxLength":5000,"type":"string","description":"Last name as it appears in the document.","nullable":true},"number":{"maxLength":5000,"type":"string","description":"Document ID number.","nullable":true},"sex":{"type":"string","description":"Sex of the person in the document.","nullable":true,"enum":["[redacted]","female","male","unknown"]},"status":{"type":"string","description":"Status of this `document` check.","enum":["unverified","verified"],"x-stripeBypassValidation":true},"type":{"type":"string","description":"Type of the document.","nullable":true,"enum":["driving_license","id_card","passport"]},"unparsed_place_of_birth":{"maxLength":5000,"type":"string","description":"Place of birth as it appears in the document.","nullable":true},"unparsed_sex":{"maxLength":5000,"type":"string","description":"Sex as it appears in the document.","nullable":true}},"description":"Result from a document check","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","sex","status","type","unparsed_place_of_birth","unparsed_sex"]},"gelato_document_report_error":{"title":"GelatoDocumentReportError","required":["code","reason"],"type":"object","properties":{"code":{"type":"string","description":"A short machine-readable string giving the reason for the verification failure.","nullable":true,"enum":["document_expired","document_type_not_supported","document_unverified_other"],"x-stripeBypassValidation":true},"reason":{"maxLength":5000,"type":"string","description":"A human-readable message giving the reason for the failure. These messages can be shown to your users.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","reason"]},"gelato_email_report":{"title":"GelatoEmailReport","required":["email","error","status"],"type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"Email to be verified.","nullable":true},"error":{"description":"Details on the verification error. Present when status is `unverified`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_email_report_error"}]},"status":{"type":"string","description":"Status of this `email` check.","enum":["unverified","verified"],"x-stripeBypassValidation":true}},"description":"Result from a email check","x-expandableFields":["error"],"x-stripeMostCommon":["email","error","status"]},"gelato_email_report_error":{"title":"GelatoEmailReportError","required":["code","reason"],"type":"object","properties":{"code":{"type":"string","description":"A short machine-readable string giving the reason for the verification failure.","nullable":true,"enum":["email_unverified_other","email_verification_declined"]},"reason":{"maxLength":5000,"type":"string","description":"A human-readable message giving the reason for the failure. These messages can be shown to your users.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","reason"]},"gelato_id_number_report":{"title":"GelatoIdNumberReport","required":["error","first_name","id_number_type","last_name","status"],"type":"object","properties":{"dob":{"description":"Date of birth.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_data_id_number_report_date"}]},"error":{"description":"Details on the verification error. Present when status is `unverified`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_id_number_report_error"}]},"first_name":{"maxLength":5000,"type":"string","description":"First name.","nullable":true},"id_number":{"maxLength":5000,"type":"string","description":"ID number. When `id_number_type` is `us_ssn`, only the last 4 digits are present.","nullable":true},"id_number_type":{"type":"string","description":"Type of ID number.","nullable":true,"enum":["br_cpf","sg_nric","us_ssn"]},"last_name":{"maxLength":5000,"type":"string","description":"Last name.","nullable":true},"status":{"type":"string","description":"Status of this `id_number` check.","enum":["unverified","verified"],"x-stripeBypassValidation":true}},"description":"Result from an id_number check","x-expandableFields":["dob","error"],"x-stripeMostCommon":["dob","error","first_name","id_number","id_number_type","last_name","status"]},"gelato_id_number_report_error":{"title":"GelatoIdNumberReportError","required":["code","reason"],"type":"object","properties":{"code":{"type":"string","description":"A short machine-readable string giving the reason for the verification failure.","nullable":true,"enum":["id_number_insufficient_document_data","id_number_mismatch","id_number_unverified_other"]},"reason":{"maxLength":5000,"type":"string","description":"A human-readable message giving the reason for the failure. These messages can be shown to your users.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","reason"]},"gelato_phone_report":{"title":"GelatoPhoneReport","required":["error","phone","status"],"type":"object","properties":{"error":{"description":"Details on the verification error. Present when status is `unverified`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_phone_report_error"}]},"phone":{"maxLength":5000,"type":"string","description":"Phone to be verified.","nullable":true},"status":{"type":"string","description":"Status of this `phone` check.","enum":["unverified","verified"],"x-stripeBypassValidation":true}},"description":"Result from a phone check","x-expandableFields":["error"],"x-stripeMostCommon":["error","phone","status"]},"gelato_phone_report_error":{"title":"GelatoPhoneReportError","required":["code","reason"],"type":"object","properties":{"code":{"type":"string","description":"A short machine-readable string giving the reason for the verification failure.","nullable":true,"enum":["phone_unverified_other","phone_verification_declined"]},"reason":{"maxLength":5000,"type":"string","description":"A human-readable message giving the reason for the failure. These messages can be shown to your users.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","reason"]},"gelato_provided_details":{"title":"GelatoProvidedDetails","type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"Email of user being verified"},"phone":{"maxLength":5000,"type":"string","description":"Phone number of user being verified"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["email","phone"]},"gelato_related_person":{"title":"GelatoRelatedPerson","required":["account","person"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"Token referencing the associated Account of the related Person resource."},"person":{"maxLength":5000,"type":"string","description":"Token referencing the related Person resource."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account","person"]},"gelato_report_document_options":{"title":"GelatoReportDocumentOptions","type":"object","properties":{"allowed_types":{"type":"array","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":{"type":"string","enum":["driving_license","id_card","passport"]}},"require_id_number":{"type":"boolean","description":"Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth."},"require_live_capture":{"type":"boolean","description":"Disable image uploads, identity document images have to be captured using the device’s camera."},"require_matching_selfie":{"type":"boolean","description":"Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://docs.stripe.com/identity/selfie)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allowed_types","require_id_number","require_live_capture","require_matching_selfie"]},"gelato_report_id_number_options":{"title":"GelatoReportIdNumberOptions","type":"object","properties":{},"description":"","x-expandableFields":[]},"gelato_selfie_report":{"title":"GelatoSelfieReport","required":["document","error","selfie","status"],"type":"object","properties":{"document":{"maxLength":5000,"type":"string","description":"ID of the [File](https://docs.stripe.com/api/files) holding the image of the identity document used in this check.","nullable":true},"error":{"description":"Details on the verification error. Present when status is `unverified`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_selfie_report_error"}]},"selfie":{"maxLength":5000,"type":"string","description":"ID of the [File](https://docs.stripe.com/api/files) holding the image of the selfie used in this check.","nullable":true},"status":{"type":"string","description":"Status of this `selfie` check.","enum":["unverified","verified"],"x-stripeBypassValidation":true}},"description":"Result from a selfie check","x-expandableFields":["error"],"x-stripeMostCommon":["document","error","selfie","status"]},"gelato_selfie_report_error":{"title":"GelatoSelfieReportError","required":["code","reason"],"type":"object","properties":{"code":{"type":"string","description":"A short machine-readable string giving the reason for the verification failure.","nullable":true,"enum":["selfie_document_missing_photo","selfie_face_mismatch","selfie_manipulated","selfie_unverified_other"],"x-stripeBypassValidation":true},"reason":{"maxLength":5000,"type":"string","description":"A human-readable message giving the reason for the failure. These messages can be shown to your users.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","reason"]},"gelato_session_document_options":{"title":"GelatoSessionDocumentOptions","type":"object","properties":{"allowed_types":{"type":"array","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":{"type":"string","enum":["driving_license","id_card","passport"]}},"require_id_number":{"type":"boolean","description":"Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth."},"require_live_capture":{"type":"boolean","description":"Disable image uploads, identity document images have to be captured using the device’s camera."},"require_matching_selfie":{"type":"boolean","description":"Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://docs.stripe.com/identity/selfie)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allowed_types","require_id_number","require_live_capture","require_matching_selfie"]},"gelato_session_email_options":{"title":"GelatoSessionEmailOptions","type":"object","properties":{"require_verification":{"type":"boolean","description":"Request one time password verification of `provided_details.email`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["require_verification"]},"gelato_session_id_number_options":{"title":"GelatoSessionIdNumberOptions","type":"object","properties":{},"description":"","x-expandableFields":[]},"gelato_session_last_error":{"title":"GelatoSessionLastError","required":["code","reason"],"type":"object","properties":{"code":{"type":"string","description":"A short machine-readable string giving the reason for the verification or user-session failure.","nullable":true,"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"],"x-stripeBypassValidation":true},"reason":{"maxLength":5000,"type":"string","description":"A message that explains the reason for verification or user-session failure.","nullable":true}},"description":"Shows last VerificationSession error","x-expandableFields":[],"x-stripeMostCommon":["code","reason"]},"gelato_session_matching_options":{"title":"GelatoSessionMatchingOptions","type":"object","properties":{"dob":{"type":"string","description":"Strictness of the DOB matching policy to apply.","enum":["none","similar"]},"name":{"type":"string","description":"Strictness of the name matching policy to apply.","enum":["none","similar"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["dob","name"]},"gelato_session_phone_options":{"title":"GelatoSessionPhoneOptions","type":"object","properties":{"require_verification":{"type":"boolean","description":"Request one time password verification of `provided_details.phone`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["require_verification"]},"gelato_verification_report_options":{"title":"GelatoVerificationReportOptions","type":"object","properties":{"document":{"$ref":"#/components/schemas/gelato_report_document_options"},"id_number":{"$ref":"#/components/schemas/gelato_report_id_number_options"}},"description":"","x-expandableFields":["document","id_number"],"x-stripeMostCommon":["document","id_number"]},"gelato_verification_session_options":{"title":"GelatoVerificationSessionOptions","type":"object","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"},"matching":{"$ref":"#/components/schemas/gelato_session_matching_options"},"phone":{"$ref":"#/components/schemas/gelato_session_phone_options"}},"description":"","x-expandableFields":["document","email","id_number","matching","phone"],"x-stripeMostCommon":["document","email","id_number","matching","phone"]},"gelato_verified_outputs":{"title":"GelatoVerifiedOutputs","required":["address","email","first_name","id_number_type","last_name","phone"],"type":"object","properties":{"address":{"description":"The user's verified address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"dob":{"description":"The user’s verified date of birth.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_data_verified_outputs_date"}]},"email":{"maxLength":5000,"type":"string","description":"The user's verified email address","nullable":true},"first_name":{"maxLength":5000,"type":"string","description":"The user's verified first name.","nullable":true},"id_number":{"maxLength":5000,"type":"string","description":"The user's verified id number.","nullable":true},"id_number_type":{"type":"string","description":"The user's verified id number type.","nullable":true,"enum":["br_cpf","sg_nric","us_ssn"]},"last_name":{"maxLength":5000,"type":"string","description":"The user's verified last name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"The user's verified phone number","nullable":true},"sex":{"type":"string","description":"The user's verified sex.","nullable":true,"enum":["[redacted]","female","male","unknown"]},"unparsed_place_of_birth":{"maxLength":5000,"type":"string","description":"The user's verified place of birth as it appears in the document.","nullable":true},"unparsed_sex":{"maxLength":5000,"type":"string","description":"The user's verified sex as it appears in the document.","nullable":true}},"description":"","x-expandableFields":["address","dob"],"x-stripeMostCommon":["address","dob","email","first_name","id_number","id_number_type","last_name","phone","sex","unparsed_place_of_birth","unparsed_sex"]},"identity.verification_report":{"title":"GelatoVerificationReport","required":["client_reference_id","created","id","livemode","object","type","verification_session"],"type":"object","properties":{"client_reference_id":{"maxLength":5000,"type":"string","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.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"document":{"$ref":"#/components/schemas/gelato_document_report"},"email":{"$ref":"#/components/schemas/gelato_email_report"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"id_number":{"$ref":"#/components/schemas/gelato_id_number_report"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["identity.verification_report"]},"options":{"$ref":"#/components/schemas/gelato_verification_report_options"},"phone":{"$ref":"#/components/schemas/gelato_phone_report"},"selfie":{"$ref":"#/components/schemas/gelato_selfie_report"},"type":{"type":"string","description":"Type of report.","enum":["document","id_number","verification_flow"],"x-stripeBypassValidation":true},"verification_flow":{"maxLength":5000,"type":"string","description":"The configuration token of a verification flow from the dashboard."},"verification_session":{"maxLength":5000,"type":"string","description":"ID of the VerificationSession that created this report.","nullable":true}},"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://docs.stripe.com/api/files)\nAPI. To configure and create VerificationReports, use the\n[VerificationSession](https://docs.stripe.com/api/identity/verification_sessions) API.\n\nRelated guide: [Accessing verification results](https://docs.stripe.com/identity/verification-sessions#results).","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":{"title":"GelatoVerificationSession","required":["client_reference_id","client_secret","created","id","last_error","last_verification_report","livemode","metadata","object","options","redaction","related_customer","related_customer_account","status","type","url"],"type":"object","properties":{"client_reference_id":{"maxLength":5000,"type":"string","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.","nullable":true},"client_secret":{"maxLength":5000,"type":"string","description":"The short-lived client secret used by Stripe.js to [show a verification modal](https://docs.stripe.com/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://docs.stripe.com/identity/verification-sessions#client-secret) to learn more.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"last_error":{"description":"If present, this property tells you the last error encountered when processing the verification.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_session_last_error"}]},"last_verification_report":{"description":"ID of the most recent VerificationReport. [Learn more about accessing detailed verification results.](https://docs.stripe.com/identity/verification-sessions#results)","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/identity.verification_report"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/identity.verification_report"}]}},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["identity.verification_session"]},"options":{"description":"A set of options for the session’s verification checks.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_verification_session_options"}]},"provided_details":{"description":"Details provided about the user being verified. These details may be shown to the user.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_provided_details"}]},"redaction":{"description":"Redaction status of this VerificationSession. If the VerificationSession is not redacted, this field will be null.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/verification_session_redaction"}]},"related_customer":{"maxLength":5000,"type":"string","description":"Customer ID","nullable":true},"related_customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing a customer.","nullable":true},"related_person":{"$ref":"#/components/schemas/gelato_related_person"},"status":{"type":"string","description":"Status of this VerificationSession. [Learn more about the lifecycle of sessions](https://docs.stripe.com/identity/how-sessions-work).","enum":["canceled","processing","requires_input","verified"]},"type":{"type":"string","description":"The type of [verification check](https://docs.stripe.com/identity/verification-checks) to be performed.","enum":["document","id_number","verification_flow"],"x-stripeBypassValidation":true},"url":{"maxLength":5000,"type":"string","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://docs.stripe.com/identity/verify-identity-documents?platform=web&type=redirect) to learn how to redirect users to Stripe.","nullable":true},"verification_flow":{"maxLength":5000,"type":"string","description":"The configuration token of a verification flow from the dashboard."},"verified_outputs":{"description":"The user’s verified data.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/gelato_verified_outputs"}]}},"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://docs.stripe.com/identity/verification-sessions)","x-expandableFields":["last_error","last_verification_report","options","provided_details","redaction","related_person","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","related_customer_account","related_person","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/identity.verification_session"}},"description":"Occurs whenever a VerificationSession is canceled","x-expandableFields":[],"x-stripeEvent":{"type":"identity.verification_session.canceled"}},"identity.verification_session.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/identity.verification_session"}},"description":"Occurs whenever a VerificationSession is created","x-expandableFields":[],"x-stripeEvent":{"type":"identity.verification_session.created"}},"identity.verification_session.processing":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/identity.verification_session"}},"description":"Occurs whenever a VerificationSession transitions to processing","x-expandableFields":[],"x-stripeEvent":{"type":"identity.verification_session.processing"}},"identity.verification_session.redacted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/identity.verification_session"}},"description":"Occurs whenever a VerificationSession is redacted.","x-expandableFields":[],"x-stripeEvent":{"type":"identity.verification_session.redacted"}},"identity.verification_session.requires_input":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/identity.verification_session"}},"description":"Occurs whenever a VerificationSession transitions to require user input","x-expandableFields":[],"x-stripeEvent":{"type":"identity.verification_session.requires_input"}},"identity.verification_session.verified":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/identity.verification_session"}},"description":"Occurs whenever a VerificationSession transitions to verified","x-expandableFields":[],"x-stripeEvent":{"type":"identity.verification_session.verified"}},"inbound_transfers":{"title":"InboundTransfers","required":["billing_details","type"],"type":"object","properties":{"billing_details":{"$ref":"#/components/schemas/treasury_shared_resource_billing_details"},"type":{"type":"string","description":"The type of the payment method used in the InboundTransfer.","enum":["us_bank_account"],"x-stripeBypassValidation":true},"us_bank_account":{"$ref":"#/components/schemas/inbound_transfers_payment_method_details_us_bank_account"}},"description":"","x-expandableFields":["billing_details","us_bank_account"],"x-stripeMostCommon":["billing_details","type","us_bank_account"]},"inbound_transfers_payment_method_details_us_bank_account":{"title":"inbound_transfers_payment_method_details_us_bank_account","required":["account_holder_type","account_type","bank_name","fingerprint","last4","network","routing_number"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","nullable":true,"enum":["company","individual"]},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","nullable":true,"enum":["checking","savings"]},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"description":"ID of the mandate used to make this payment.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"network":{"type":"string","description":"The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.","enum":["ach"]},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account.","nullable":true}},"description":"","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":""}},"insights_resources_payment_evaluation_address":{"title":"InsightsResourcesPaymentEvaluationAddress","required":["city","country","line1","line2","postal_code","state"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name.","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","nullable":true},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).","nullable":true}},"description":"Address data.","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"insights_resources_payment_evaluation_billing_details":{"title":"InsightsResourcesPaymentEvaluationBillingDetails","required":["address","email","name","phone"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_address"},"email":{"maxLength":5000,"type":"string","description":"Email address.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Full name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"Billing phone number (including extension).","nullable":true}},"description":"Billing details attached to this payment evaluation.","x-expandableFields":["address"],"x-stripeMostCommon":["address","email","name","phone"]},"insights_resources_payment_evaluation_client_device_metadata":{"title":"InsightsResourcesPaymentEvaluationClientDeviceMetadata","required":["radar_session"],"type":"object","properties":{"radar_session":{"maxLength":5000,"type":"string","description":"ID for the Radar Session associated with the payment evaluation. A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Client device metadata attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["radar_session"]},"insights_resources_payment_evaluation_customer_details":{"title":"InsightsResourcesPaymentEvaluationCustomerDetails","required":["customer","customer_account","email","name","phone"],"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"The ID of the customer associated with the payment evaluation.","nullable":true},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the Account representing the customer associated with the payment evaluation.","nullable":true},"email":{"maxLength":5000,"type":"string","description":"The customer's email address.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"The customer's full name or business name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"The customer's phone number.","nullable":true}},"description":"Customer details attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["customer","customer_account","email","name","phone"]},"insights_resources_payment_evaluation_dispute_opened":{"title":"InsightsResourcesPaymentEvaluationDisputeOpened","required":["amount","currency","reason"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to dispute for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency)."},"currency":{"type":"string","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).","format":"currency"},"reason":{"type":"string","description":"Reason given by cardholder for dispute.","enum":["account_not_available","credit_not_processed","customer_initiated","duplicate","fraudulent","general","noncompliant","product_not_received","product_unacceptable","subscription_canceled","unrecognized"]}},"description":"Dispute opened event details attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","reason"]},"insights_resources_payment_evaluation_early_fraud_warning_received":{"title":"InsightsResourcesPaymentEvaluationEarlyFraudWarningReceived","required":["fraud_type"],"type":"object","properties":{"fraud_type":{"type":"string","description":"The type of fraud labeled by the issuer.","enum":["made_with_lost_card","made_with_stolen_card","other","unauthorized_use_of_card"]}},"description":"Early Fraud Warning Received event details attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["fraud_type"]},"insights_resources_payment_evaluation_event":{"title":"InsightsResourcesPaymentEvaluationEvent","required":["occurred_at","type"],"type":"object","properties":{"dispute_opened":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_dispute_opened"},"early_fraud_warning_received":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_early_fraud_warning_received"},"occurred_at":{"type":"integer","description":"Timestamp when the event occurred.","format":"unix-time"},"refunded":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_refunded"},"type":{"type":"string","description":"Indicates the type of event attached to the payment evaluation.","enum":["dispute_opened","early_fraud_warning_received","refunded","user_intervention_raised","user_intervention_resolved"]},"user_intervention_raised":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_user_intervention_raised"},"user_intervention_resolved":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_user_intervention_resolved"}},"description":"Event reported for this payment evaluation.","x-expandableFields":["dispute_opened","early_fraud_warning_received","refunded","user_intervention_raised","user_intervention_resolved"],"x-stripeMostCommon":["dispute_opened","early_fraud_warning_received","occurred_at","refunded","type","user_intervention_raised","user_intervention_resolved"]},"insights_resources_payment_evaluation_merchant_blocked":{"title":"InsightsResourcesPaymentEvaluationMerchantBlocked","required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"The reason the payment was blocked by the merchant.","enum":["authentication_required","blocked_for_fraud","invalid_payment","other"]}},"description":"Details of a merchant_blocked outcome attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["reason"]},"insights_resources_payment_evaluation_money_movement_card":{"title":"InsightsResourcesPaymentEvaluationMoneyMovementCard","required":["customer_presence","payment_type"],"type":"object","properties":{"customer_presence":{"type":"string","description":"Describes the presence of the customer during the payment.","nullable":true,"enum":["off_session","on_session"]},"payment_type":{"type":"string","description":"Describes the type of payment.","nullable":true,"enum":["one_off","recurring","setup_one_off","setup_recurring"]}},"description":"Money Movement card details attached to this payment.","x-expandableFields":[],"x-stripeMostCommon":["customer_presence","payment_type"]},"insights_resources_payment_evaluation_money_movement_details":{"title":"InsightsResourcesPaymentEvaluationMoneyMovementDetails","required":["card","money_movement_type"],"type":"object","properties":{"card":{"description":"Describes card money movement details for the payment evaluation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_money_movement_card"}]},"money_movement_type":{"type":"string","description":"Describes the type of money movement. Currently only `card` is supported.","enum":["card"]}},"description":"Money Movement details attached to this payment.","x-expandableFields":["card"],"x-stripeMostCommon":["card","money_movement_type"]},"insights_resources_payment_evaluation_outcome":{"title":"InsightsResourcesPaymentEvaluationOutcome","required":["type"],"type":"object","properties":{"merchant_blocked":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_merchant_blocked"},"payment_intent_id":{"maxLength":5000,"type":"string","description":"The PaymentIntent ID associated with the payment evaluation."},"rejected":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_rejected"},"succeeded":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_succeeded"},"type":{"type":"string","description":"Indicates the outcome of the payment evaluation.","enum":["failed","merchant_blocked","rejected","succeeded"]}},"description":"Outcome details for this payment evaluation.","x-expandableFields":["merchant_blocked","rejected","succeeded"],"x-stripeMostCommon":["merchant_blocked","payment_intent_id","rejected","succeeded","type"]},"insights_resources_payment_evaluation_payment_details":{"title":"InsightsResourcesPaymentEvaluationPaymentDetails","required":["amount","currency","description","money_movement_details","payment_method_details","shipping_details","statement_descriptor"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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)."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"money_movement_details":{"description":"Details about the payment's customer presence and type.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_money_movement_details"}]},"payment_method_details":{"description":"Details about the payment method used for the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_payment_method_details"}]},"shipping_details":{"description":"Shipping details for the payment evaluation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_shipping"}]},"statement_descriptor":{"maxLength":5000,"type":"string","description":"Payment statement descriptor.","nullable":true}},"description":"Payment details attached to this payment evaluation.","x-expandableFields":["money_movement_details","payment_method_details","shipping_details"],"x-stripeMostCommon":["amount","currency","description","money_movement_details","payment_method_details","shipping_details","statement_descriptor"]},"insights_resources_payment_evaluation_payment_method_details":{"title":"InsightsResourcesPaymentEvaluationPaymentMethodDetails","required":["billing_details","payment_method"],"type":"object","properties":{"billing_details":{"description":"Billing information associated with the payment evaluation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_billing_details"}]},"payment_method":{"description":"The payment method used in this payment evaluation.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}}},"description":"Payment method details attached to this payment evaluation.","x-expandableFields":["billing_details","payment_method"],"x-stripeMostCommon":["billing_details","payment_method"]},"insights_resources_payment_evaluation_refunded":{"title":"InsightsResourcesPaymentEvaluationRefunded","required":["amount","currency","reason"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount refunded for this payment. A positive integer representing how much to charge in [the smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1.00 USD or 100 to charge 100 Yen, a zero-decimal currency)."},"currency":{"type":"string","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).","format":"currency"},"reason":{"type":"string","description":"Indicates the reason for the refund.","enum":["duplicate","fraudulent","other","requested_by_customer"]}},"description":"Refunded Event details attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","reason"]},"insights_resources_payment_evaluation_rejected":{"title":"InsightsResourcesPaymentEvaluationRejected","type":"object","properties":{"card":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_rejected_card"}},"description":"Details of an rejected outcome attached to this payment evaluation.","x-expandableFields":["card"],"x-stripeMostCommon":["card"]},"insights_resources_payment_evaluation_rejected_card":{"title":"InsightsResourcesPaymentEvaluationRejectedCard","required":["address_line1_check","address_postal_code_check","cvc_check","reason"],"type":"object","properties":{"address_line1_check":{"type":"string","description":"Result of the address line 1 check.","enum":["fail","pass","unavailable","unchecked"]},"address_postal_code_check":{"type":"string","description":"Indicates whether the cardholder provided a postal code and if it matched the cardholder’s billing address.","enum":["fail","pass","unavailable","unchecked"]},"cvc_check":{"type":"string","description":"Result of the CVC check.","enum":["fail","pass","unavailable","unchecked"]},"reason":{"type":"string","description":"Card issuer's reason for the network decline.","enum":["authentication_failed","do_not_honor","expired","incorrect_cvc","incorrect_number","incorrect_postal_code","insufficient_funds","invalid_account","lost_card","other","processing_error","reported_stolen","try_again_later"]}},"description":"Details of an rejected card outcome attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["address_line1_check","address_postal_code_check","cvc_check","reason"]},"insights_resources_payment_evaluation_shipping":{"title":"InsightsResourcesPaymentEvaluationShipping","required":["address","name","phone"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_address"},"name":{"maxLength":5000,"type":"string","description":"Shipping name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"Shipping phone number.","nullable":true}},"description":"Shipping details attached to this payment.","x-expandableFields":["address"],"x-stripeMostCommon":["address","name","phone"]},"insights_resources_payment_evaluation_signal_v2":{"title":"InsightsResourcesPaymentEvaluationSignalV2","required":["evaluated_at","risk_level","score"],"type":"object","properties":{"evaluated_at":{"type":"integer","description":"The time when this signal was evaluated.","format":"unix-time"},"risk_level":{"type":"string","description":"Risk level of this signal, based on the score.","enum":["elevated","highest","normal"]},"score":{"type":"number","description":"Score for this insight. Possible values for evaluated payments are -1 and any value between 0 and 100. The value is returned with two decimal places. A score of -1 indicates a test integration and higher scores indicate a higher likelihood of the signal being true."}},"description":"A payment evaluation signal with evaluated_at, risk_level, and score fields.","x-expandableFields":[],"x-stripeMostCommon":["evaluated_at","risk_level","score"]},"insights_resources_payment_evaluation_signals":{"title":"InsightsResourcesPaymentEvaluationSignals","required":["fraudulent_payment"],"type":"object","properties":{"fraudulent_payment":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_signal_v2"}},"description":"Collection of signals for this payment evaluation.","x-expandableFields":["fraudulent_payment"],"x-stripeMostCommon":["fraudulent_payment"]},"insights_resources_payment_evaluation_succeeded":{"title":"InsightsResourcesPaymentEvaluationSucceeded","type":"object","properties":{"card":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_succeeded_card"}},"description":"Details of a succeeded outcome attached to this payment evaluation.","x-expandableFields":["card"],"x-stripeMostCommon":["card"]},"insights_resources_payment_evaluation_succeeded_card":{"title":"InsightsResourcesPaymentEvaluationSucceededCard","required":["address_line1_check","address_postal_code_check","cvc_check"],"type":"object","properties":{"address_line1_check":{"type":"string","description":"Result of the address line 1 check.","enum":["fail","pass","unavailable","unchecked"]},"address_postal_code_check":{"type":"string","description":"Indicates whether the cardholder provided a postal code and if it matched the cardholder’s billing address.","enum":["fail","pass","unavailable","unchecked"]},"cvc_check":{"type":"string","description":"Result of the CVC check.","enum":["fail","pass","unavailable","unchecked"]}},"description":"Details of an succeeded card outcome attached to this payment evaluation.","x-expandableFields":[],"x-stripeMostCommon":["address_line1_check","address_postal_code_check","cvc_check"]},"insights_resources_payment_evaluation_user_intervention_raised":{"title":"InsightsResourcesPaymentEvaluationUserInterventionRaised","required":["key","type"],"type":"object","properties":{"custom":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_user_intervention_raised_custom"},"key":{"maxLength":5000,"type":"string","description":"Unique identifier for the user intervention event."},"type":{"type":"string","description":"Type of user intervention raised.","enum":["3ds","captcha","custom"]}},"description":"User intervention raised event details attached to this payment evaluation","x-expandableFields":["custom"],"x-stripeMostCommon":["custom","key","type"]},"insights_resources_payment_evaluation_user_intervention_raised_custom":{"title":"InsightsResourcesPaymentEvaluationUserInterventionRaisedCustom","required":["type"],"type":"object","properties":{"type":{"maxLength":5000,"type":"string","description":"Custom type of user intervention raised. The string must use a snake case description for the type of intervention performed."}},"description":"User intervention raised custom event details attached to this payment evaluation","x-expandableFields":[],"x-stripeMostCommon":["type"]},"insights_resources_payment_evaluation_user_intervention_resolved":{"title":"InsightsResourcesPaymentEvaluationUserInterventionResolved","required":["key","outcome"],"type":"object","properties":{"key":{"maxLength":5000,"type":"string","description":"Unique ID of this intervention. Use this to provide the result."},"outcome":{"type":"string","description":"Result of the intervention if it has been completed.","nullable":true,"enum":["abandoned","failed","passed"]}},"description":"User Intervention Resolved Event details attached to this payment evaluation","x-expandableFields":[],"x-stripeMostCommon":["key","outcome"]},"internal_card":{"title":"internal_card","required":["brand","country","exp_month","exp_year","last4"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Brand of the card used in the transaction","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country of the card","nullable":true},"exp_month":{"type":"integer","description":"Two digit number representing the card's expiration month","nullable":true},"exp_year":{"type":"integer","description":"Two digit number representing the card's expiration year","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last 4 digits of the card","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brand","country","exp_month","exp_year","last4"]},"invoice":{"title":"Invoice","required":["account_country","account_name","account_tax_ids","amount_due","amount_overpaid","amount_paid","amount_remaining","amount_shipping","application","attempt_count","attempted","automatic_tax","automatically_finalizes_at","billing_reason","collection_method","created","currency","custom_fields","customer","customer_account","customer_address","customer_email","customer_name","customer_phone","customer_shipping","customer_tax_exempt","default_payment_method","default_source","default_tax_rates","description","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","parent","payment_settings","period_end","period_start","post_payment_credit_notes_amount","pre_payment_credit_notes_amount","receipt_number","rendering","shipping_cost","shipping_details","starting_balance","statement_descriptor","status","status_transitions","subtotal","subtotal_excluding_tax","test_clock","total","total_discount_amounts","total_excluding_tax","total_pretax_credit_amounts","total_taxes","webhooks_delivered_at"],"type":"object","properties":{"account_country":{"maxLength":5000,"type":"string","description":"The country of the business associated with this invoice, most often the business creating the invoice.","nullable":true},"account_name":{"maxLength":5000,"type":"string","description":"The public name of the business associated with this invoice, most often the business creating the invoice.","nullable":true},"account_tax_ids":{"type":"array","description":"The account tax IDs associated with the invoice. Only editable when the invoice is a draft.","nullable":true,"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"}]}}},"amount_due":{"type":"integer","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`."},"amount_overpaid":{"type":"integer","description":"Amount that was overpaid on the invoice. The amount overpaid is credited to the customer's credit balance."},"amount_paid":{"type":"integer","description":"The amount, in cents (or local equivalent), that was paid."},"amount_remaining":{"type":"integer","description":"The difference between amount_due and amount_paid, in cents (or local equivalent)."},"amount_shipping":{"type":"integer","description":"This is the sum of all the shipping amounts."},"application":{"description":"ID of the Connect Application that created the invoice.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}]}},"attempt_count":{"type":"integer","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."},"attempted":{"type":"boolean","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."},"auto_advance":{"type":"boolean","description":"Controls whether Stripe performs [automatic collection](https://docs.stripe.com/invoicing/integration/automatic-advancement-collection) of the invoice. If `false`, the invoice's state doesn't automatically advance without an explicit action."},"automatic_tax":{"$ref":"#/components/schemas/automatic_tax"},"automatically_finalizes_at":{"type":"integer","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},"billing_reason":{"type":"string","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 upcoming invoices created through the Create Preview Invoice API or when an `invoice.upcoming` event is generated for an upcoming invoice on a subscription.","nullable":true,"enum":["automatic_pending_invoice_item_invoice","manual","quote_accept","subscription","subscription_create","subscription_cycle","subscription_threshold","subscription_update","upcoming"]},"collection_method":{"type":"string","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"]},"confirmation_secret":{"description":"The confirmation secret associated with this invoice. Currently, this contains the client_secret of the PaymentIntent that Stripe creates during invoice finalization.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoices_resource_confirmation_secret"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"custom_fields":{"type":"array","description":"Custom fields displayed on the invoice.","nullable":true,"items":{"$ref":"#/components/schemas/invoice_setting_custom_field"}},"customer":{"description":"The ID of the customer to bill.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account representing the customer to bill.","nullable":true},"customer_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,"anyOf":[{"$ref":"#/components/schemas/address"}]},"customer_email":{"maxLength":5000,"type":"string","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.","nullable":true},"customer_name":{"maxLength":5000,"type":"string","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.","nullable":true},"customer_phone":{"maxLength":5000,"type":"string","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.","nullable":true},"customer_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,"anyOf":[{"$ref":"#/components/schemas/shipping"}]},"customer_tax_exempt":{"type":"string","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.","nullable":true,"enum":["exempt","none","reverse"]},"customer_tax_ids":{"type":"array","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.","nullable":true,"items":{"$ref":"#/components/schemas/invoices_resource_invoice_tax_id"}},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_source"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_source"}]}},"default_tax_rates":{"type":"array","description":"The tax rates applied to this invoice, if any.","items":{"$ref":"#/components/schemas/tax_rate"}},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard.","nullable":true},"discounts":{"type":"array","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"}]}}},"due_date":{"type":"integer","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},"effective_at":{"type":"integer","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},"ending_balance":{"type":"integer","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},"footer":{"maxLength":5000,"type":"string","description":"Footer displayed on the invoice.","nullable":true},"from_invoice":{"description":"Details of the invoice that was cloned. See the [revision documentation](https://docs.stripe.com/invoicing/invoice-revisions) for more details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoices_resource_from_invoice"}]},"hosted_invoice_url":{"maxLength":5000,"type":"string","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.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object. For preview invoices created using the [create preview](https://stripe.com/docs/api/invoices/create_preview) endpoint, this id will be prefixed with `upcoming_in`."},"invoice_pdf":{"maxLength":5000,"type":"string","description":"The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null.","nullable":true},"issuer":{"$ref":"#/components/schemas/connect_account_reference"},"last_finalization_error":{"description":"The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/api_errors"}]},"latest_revision":{"description":"The ID of the most recent non-draft revision of this invoice","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"lines":{"title":"InvoiceLinesList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"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.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"next_payment_attempt":{"type":"integer","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},"number":{"maxLength":5000,"type":"string","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.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["invoice"]},"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://docs.stripe.com/billing/invoices/connect) documentation for details.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"parent":{"description":"The parent that generated this invoice","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_parents_invoice_parent"}]},"payment_settings":{"$ref":"#/components/schemas/invoices_payment_settings"},"payments":{"title":"InvoicesPaymentsListInvoicePayments","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/invoice_payment"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"Payments for this invoice. Use [invoice payment](/api/invoice-payment) to get more details.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"period_end":{"type":"integer","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"},"period_start":{"type":"integer","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"},"post_payment_credit_notes_amount":{"type":"integer","description":"Total amount of all post-payment credit notes issued for this invoice."},"pre_payment_credit_notes_amount":{"type":"integer","description":"Total amount of all pre-payment credit notes issued for this invoice."},"receipt_number":{"maxLength":5000,"type":"string","description":"This is the transaction number that appears on email receipts sent for this invoice.","nullable":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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoices_resource_invoice_rendering"}]},"shipping_cost":{"description":"The details of the cost of shipping, including the ShippingRate applied on the invoice.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoices_resource_shipping_cost"}]},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shipping"}]},"starting_balance":{"type":"integer","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."},"statement_descriptor":{"maxLength":5000,"type":"string","description":"Extra information about an invoice for the customer's credit card statement.","nullable":true},"status":{"type":"string","description":"The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://docs.stripe.com/billing/invoices/workflow#workflow-overview)","nullable":true,"enum":["draft","open","paid","uncollectible","void"],"x-stripeBypassValidation":true},"status_transitions":{"$ref":"#/components/schemas/invoices_resource_status_transitions"},"subscription":{"nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription"}]}},"subtotal":{"type":"integer","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"},"subtotal_excluding_tax":{"type":"integer","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},"test_clock":{"description":"ID of the test clock this invoice belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}},"threshold_reason":{"$ref":"#/components/schemas/invoice_threshold_reason"},"total":{"type":"integer","description":"Total after discounts and taxes."},"total_discount_amounts":{"type":"array","description":"The aggregate amounts calculated per discount across all line items.","nullable":true,"items":{"$ref":"#/components/schemas/discounts_resource_discount_amount"}},"total_excluding_tax":{"type":"integer","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},"total_pretax_credit_amounts":{"type":"array","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.","nullable":true,"items":{"$ref":"#/components/schemas/invoices_resource_pretax_credit_amount"}},"total_taxes":{"type":"array","description":"The aggregate tax information of all line items.","nullable":true,"items":{"$ref":"#/components/schemas/billing_bill_resource_invoicing_taxes_tax"}},"webhooks_delivered_at":{"type":"integer","description":"Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have [been exhausted](https://docs.stripe.com/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}},"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://api.stripe.com#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://docs.stripe.com/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://docs.stripe.com/billing/customer/balance).\n\nRelated guide: [Send invoices to customers](https://docs.stripe.com/billing/invoices/sending)","x-expandableFields":["account_tax_ids","application","automatic_tax","confirmation_secret","custom_fields","customer","customer_address","customer_shipping","customer_tax_ids","default_payment_method","default_source","default_tax_rates","discounts","from_invoice","issuer","last_finalization_error","latest_revision","lines","on_behalf_of","parent","payment_settings","payments","rendering","shipping_cost","shipping_details","status_transitions","subscription","test_clock","threshold_reason","total_discount_amounts","total_pretax_credit_amounts","total_taxes"],"x-resourceId":"invoice","x-stripeMostCommon":["auto_advance","automatic_tax","collection_method","confirmation_secret","currency","customer","customer_account","description","hosted_invoice_url","id","lines","metadata","parent","payments","period_end","period_start","status","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":"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":"attach_payment","method_on":"service","method_type":"custom","operation":"post","path":"/v1/invoices/{invoice}/attach_payment"},{"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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"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).","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.created"}},"invoice.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"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).","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.deleted"}},"invoice.finalization_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.finalization_failed"}},"invoice.finalized":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever a draft invoice is finalized and updated to be an open invoice.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.finalized"}},"invoice.marked_uncollectible":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice is marked uncollectible.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.marked_uncollectible"}},"invoice.overdue":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs X number of days after an invoice becomes due—where X is determined by Automations","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.overdue"}},"invoice.overpaid":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs when an invoice transitions to paid with a non-zero amount_overpaid.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.overpaid"}},"invoice.paid":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid out-of-band.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.paid"}},"invoice.payment_action_required":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice payment attempt requires further user action to complete.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.payment_action_required"}},"invoice.payment_attempt_required":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.payment_attempt_required"}},"invoice.payment_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice payment attempt fails, due to either a declined payment, including soft decline, or to the lack of a stored payment method.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.payment_failed"}},"invoice.payment_succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice payment attempt succeeds.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.payment_succeeded"}},"invoice.sent":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice email is sent out.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.sent"}},"invoice.upcoming":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs X number of days before a subscription is scheduled to create an invoice that is automatically charged—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.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.upcoming"}},"invoice.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice changes (e.g., the invoice amount).","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.updated"}},"invoice.voided":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs whenever an invoice is voided.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.voided"}},"invoice.will_be_due":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice"}},"description":"Occurs X number of days before an invoice becomes due—where X is determined by Automations","x-expandableFields":[],"x-stripeEvent":{"type":"invoice.will_be_due"}},"invoice_installments_card":{"title":"invoice_installments_card","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether Installments are enabled for this Invoice.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"invoice_item_threshold_reason":{"title":"InvoiceItemThresholdReason","required":["line_item_ids","usage_gte"],"type":"object","properties":{"line_item_ids":{"type":"array","description":"The IDs of the line items that triggered the threshold invoice.","items":{"maxLength":5000,"type":"string"}},"usage_gte":{"type":"integer","description":"The quantity threshold boundary that applied to the given line item."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["line_item_ids","usage_gte"]},"invoice_line_item_period":{"title":"InvoiceLineItemPeriod","required":["end","start"],"type":"object","properties":{"end":{"type":"integer","description":"The end of the period, which must be greater than or equal to the start. This value is inclusive.","format":"unix-time"},"start":{"type":"integer","description":"The start of the period. This value is inclusive.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["end","start"]},"invoice_mandate_options_card":{"title":"invoice_mandate_options_card","required":["amount","amount_type","description"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency.","nullable":true},"amount_type":{"type":"string","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.","nullable":true,"enum":["fixed","maximum"]},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","description"]},"invoice_mandate_options_payto":{"title":"invoice_mandate_options_payto","required":["amount","amount_type","purpose"],"type":"object","properties":{"amount":{"type":"integer","description":"The maximum amount that can be collected in a single invoice. If you don't specify a maximum, then there is no limit.","nullable":true},"amount_type":{"type":"string","description":"Only `maximum` is supported.","nullable":true,"enum":["fixed","maximum"]},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","nullable":true,"enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","purpose"]},"invoice_payment":{"title":"InvoicesInvoicePayment","required":["amount_paid","amount_requested","created","currency","id","invoice","is_default","livemode","object","payment","status","status_transitions"],"type":"object","properties":{"amount_paid":{"type":"integer","description":"Amount that was actually paid for this invoice, in cents (or local equivalent). This field is null until the payment is `paid`. This amount can be less than the `amount_requested` if the PaymentIntent’s `amount_received` is not sufficient to pay all of the invoices that it is attached to.","nullable":true},"amount_requested":{"type":"integer","description":"Amount intended to be paid toward this invoice, in cents (or local equivalent)"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","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)."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice":{"description":"The invoice that was paid.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"},{"$ref":"#/components/schemas/deleted_invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"},{"$ref":"#/components/schemas/deleted_invoice"}]}},"is_default":{"type":"boolean","description":"Stripe automatically creates a default InvoicePayment when the invoice is finalized, and keeps it synchronized with the invoice’s `amount_remaining`. The PaymentIntent associated with the default payment can’t be edited or canceled directly."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["invoice_payment"]},"payment":{"$ref":"#/components/schemas/invoices_payments_invoice_payment_associated_payment"},"status":{"maxLength":5000,"type":"string","description":"The status of the payment, one of `open`, `paid`, or `canceled`."},"status_transitions":{"$ref":"#/components/schemas/invoices_payments_invoice_payment_status_transitions"}},"description":"Invoice Payments represent payments made against invoices. Invoice Payments can\nbe accessed in two ways:\n1. By expanding the `payments` field on the [Invoice](https://api.stripe.com#invoice) resource.\n2. By using the Invoice Payment retrieve and list endpoints.\n\nInvoice Payments include the mapping between payment objects, such as Payment Intent, and Invoices.\nThis resource and its endpoints allows you to easily track if a payment is associated with a specific invoice and\nmonitor the allocation details of the payments.","x-expandableFields":["invoice","payment","status_transitions"],"x-resourceId":"invoice_payment","x-stripeMostCommon":["amount_paid","amount_requested","id","invoice","is_default","payment","status"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/invoice_payments"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/invoice_payments/{invoice_payment}"}],"x-stripeResource":{"class_name":"InvoicePayment","has_collection_class":true,"in_package":""}},"invoice_payment.paid":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoice_payment"}},"description":"Occurs when an InvoicePayment is successfully paid.","x-expandableFields":[],"x-stripeEvent":{"type":"invoice_payment.paid"}},"invoice_payment_method_options_acss_debit":{"title":"invoice_payment_method_options_acss_debit","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/invoice_payment_method_options_acss_debit_mandate_options"},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","verification_method"]},"invoice_payment_method_options_acss_debit_mandate_options":{"title":"invoice_payment_method_options_acss_debit_mandate_options","required":["transaction_type"],"type":"object","properties":{"transaction_type":{"type":"string","description":"Transaction type of the mandate.","nullable":true,"enum":["business","personal"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_type"]},"invoice_payment_method_options_bancontact":{"title":"invoice_payment_method_options_bancontact","required":["preferred_language"],"type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["preferred_language"]},"invoice_payment_method_options_card":{"title":"invoice_payment_method_options_card","required":["request_three_d_secure"],"type":"object","properties":{"installments":{"$ref":"#/components/schemas/invoice_installments_card"},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.","nullable":true,"enum":["any","automatic","challenge"]}},"description":"","x-expandableFields":["installments"],"x-stripeMostCommon":["installments","request_three_d_secure"]},"invoice_payment_method_options_customer_balance":{"title":"invoice_payment_method_options_customer_balance","required":["funding_type"],"type":"object","properties":{"bank_transfer":{"$ref":"#/components/schemas/invoice_payment_method_options_customer_balance_bank_transfer"},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.","nullable":true,"enum":["bank_transfer"]}},"description":"","x-expandableFields":["bank_transfer"],"x-stripeMostCommon":["bank_transfer","funding_type"]},"invoice_payment_method_options_customer_balance_bank_transfer":{"title":"invoice_payment_method_options_customer_balance_bank_transfer","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"$ref":"#/components/schemas/invoice_payment_method_options_customer_balance_bank_transfer_eu_bank_transfer"},"type":{"type":"string","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}},"description":"","x-expandableFields":["eu_bank_transfer"],"x-stripeMostCommon":["eu_bank_transfer","type"]},"invoice_payment_method_options_customer_balance_bank_transfer_eu_bank_transfer":{"title":"invoice_payment_method_options_customer_balance_bank_transfer_eu_bank_transfer","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.","enum":["BE","DE","ES","FR","IE","NL"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country"]},"invoice_payment_method_options_konbini":{"title":"invoice_payment_method_options_konbini","type":"object","properties":{},"description":"","x-expandableFields":[]},"invoice_payment_method_options_payto":{"title":"invoice_payment_method_options_payto","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/invoice_mandate_options_payto"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options"]},"invoice_payment_method_options_sepa_debit":{"title":"invoice_payment_method_options_sepa_debit","type":"object","properties":{},"description":"","x-expandableFields":[]},"invoice_payment_method_options_us_bank_account":{"title":"invoice_payment_method_options_us_bank_account","type":"object","properties":{"financial_connections":{"$ref":"#/components/schemas/invoice_payment_method_options_us_bank_account_linked_account_options"},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["financial_connections"],"x-stripeMostCommon":["financial_connections","verification_method"]},"invoice_payment_method_options_us_bank_account_linked_account_options":{"title":"invoice_payment_method_options_us_bank_account_linked_account_options","required":["prefetch"],"type":"object","properties":{"filters":{"$ref":"#/components/schemas/invoice_payment_method_options_us_bank_account_linked_account_options_filters"},"permissions":{"type":"array","description":"The list of permissions to request. The `payment_method` permission must be included.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"]}},"prefetch":{"type":"array","description":"Data features requested to be retrieved upon account creation.","nullable":true,"items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":["filters"],"x-stripeMostCommon":["filters","permissions","prefetch"]},"invoice_payment_method_options_us_bank_account_linked_account_options_filters":{"title":"invoice_payment_method_options_us_bank_account_linked_account_options_filters","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.","items":{"type":"string","enum":["checking","savings"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_subcategories"]},"invoice_rendering_pdf":{"title":"InvoiceRenderingPdf","required":["page_size"],"type":"object","properties":{"page_size":{"type":"string","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.","nullable":true,"enum":["a4","auto","letter"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["page_size"]},"invoice_rendering_template":{"title":"InvoiceRenderingTemplate","required":["created","id","livemode","metadata","nickname","object","status","version"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"nickname":{"maxLength":5000,"type":"string","description":"A brief description of the template, hidden from customers","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["invoice_rendering_template"]},"status":{"type":"string","description":"The status of the template, one of `active` or `archived`.","enum":["active","archived"]},"version":{"type":"integer","description":"Version of this template; version increases by one when an update on the template changes any field that controls invoice rendering"}},"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.","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_checkout_rendering_options":{"title":"invoice_setting_checkout_rendering_options","required":["amount_tax_display","template"],"type":"object","properties":{"amount_tax_display":{"maxLength":5000,"type":"string","description":"How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.","nullable":true},"template":{"maxLength":5000,"type":"string","description":"ID of the invoice rendering template to be used for the generated invoice.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_tax_display","template"]},"invoice_setting_custom_field":{"title":"InvoiceSettingCustomField","required":["name","value"],"type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The name of the custom field."},"value":{"maxLength":5000,"type":"string","description":"The value of the custom field."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["name","value"]},"invoice_setting_customer_rendering_options":{"title":"InvoiceSettingCustomerRenderingOptions","required":["amount_tax_display","template"],"type":"object","properties":{"amount_tax_display":{"maxLength":5000,"type":"string","description":"How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.","nullable":true},"template":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_tax_display","template"]},"invoice_setting_customer_setting":{"title":"InvoiceSettingCustomerSetting","required":["custom_fields","default_payment_method","footer","rendering_options"],"type":"object","properties":{"custom_fields":{"type":"array","description":"Default custom fields to be displayed on invoices for this customer.","nullable":true,"items":{"$ref":"#/components/schemas/invoice_setting_custom_field"}},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"footer":{"maxLength":5000,"type":"string","description":"Default footer to be displayed on invoices for this customer.","nullable":true},"rendering_options":{"description":"Default options for invoice PDF rendering for this customer.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_setting_customer_rendering_options"}]}},"description":"","x-expandableFields":["custom_fields","default_payment_method","rendering_options"],"x-stripeMostCommon":["custom_fields","default_payment_method","footer","rendering_options"]},"invoice_setting_quote_setting":{"title":"InvoiceSettingQuoteSetting","required":["days_until_due","issuer"],"type":"object","properties":{"days_until_due":{"type":"integer","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},"issuer":{"$ref":"#/components/schemas/connect_account_reference"}},"description":"","x-expandableFields":["issuer"],"x-stripeMostCommon":["days_until_due","issuer"]},"invoice_setting_subscription_schedule_phase_setting":{"title":"InvoiceSettingSubscriptionSchedulePhaseSetting","required":["account_tax_ids","days_until_due","issuer"],"type":"object","properties":{"account_tax_ids":{"type":"array","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.","nullable":true,"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"}]}}},"days_until_due":{"type":"integer","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},"issuer":{"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]}},"description":"","x-expandableFields":["account_tax_ids","issuer"],"x-stripeMostCommon":["account_tax_ids","days_until_due","issuer"]},"invoice_setting_subscription_schedule_setting":{"title":"InvoiceSettingSubscriptionScheduleSetting","required":["account_tax_ids","days_until_due","issuer"],"type":"object","properties":{"account_tax_ids":{"type":"array","description":"The account tax IDs associated with the subscription schedule. Will be set on invoices generated by the subscription schedule.","nullable":true,"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"}]}}},"days_until_due":{"type":"integer","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},"issuer":{"$ref":"#/components/schemas/connect_account_reference"}},"description":"","x-expandableFields":["account_tax_ids","issuer"],"x-stripeMostCommon":["account_tax_ids","days_until_due","issuer"]},"invoice_threshold_reason":{"title":"InvoiceThresholdReason","required":["amount_gte","item_reasons"],"type":"object","properties":{"amount_gte":{"type":"integer","description":"The total invoice amount threshold boundary if it triggered the threshold invoice.","nullable":true},"item_reasons":{"type":"array","description":"Indicates which line items triggered a threshold invoice.","items":{"$ref":"#/components/schemas/invoice_item_threshold_reason"}}},"description":"","x-expandableFields":["item_reasons"],"x-stripeMostCommon":["amount_gte","item_reasons"]},"invoiceitem":{"title":"InvoiceItem","required":["amount","currency","customer","customer_account","date","description","discountable","discounts","id","invoice","livemode","metadata","object","parent","period","pricing","proration","quantity","quantity_decimal","tax_rates","test_clock"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in the `currency` specified) of the invoice item. This should always be equal to `unit_amount * quantity`."},"currency":{"type":"string","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).","format":"currency"},"customer":{"description":"The ID of the customer to bill for this invoice item.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The ID of the account to bill for this invoice item.","nullable":true},"date":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"discountable":{"type":"boolean","description":"If true, discounts will apply to this invoice item. Always false for prorations."},"discounts":{"type":"array","description":"The discounts which apply to the invoice item. Item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount.","nullable":true,"items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/discount"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/discount"}]}}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice":{"description":"The ID of the invoice this invoice item belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"net_amount":{"type":"integer","description":"The amount after discounts, but before credits and taxes. This field is `null` for `discountable=true` items."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["invoiceitem"]},"parent":{"description":"The parent that generated this invoice item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoice_item_parents_invoice_item_parent"}]},"period":{"$ref":"#/components/schemas/invoice_line_item_period"},"pricing":{"description":"The pricing information of the invoice item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_pricing_pricing"}]},"proration":{"type":"boolean","description":"Whether the invoice item was created automatically as a proration adjustment when the customer switched plans."},"proration_details":{"$ref":"#/components/schemas/proration_details"},"quantity":{"type":"integer","description":"Quantity of units for the invoice item in integer format, with any decimal precision truncated. For the item's full-precision decimal quantity, use `quantity_decimal`. This field will be deprecated in favor of `quantity_decimal` in a future version. If the invoice item is a proration, the quantity of the subscription that the proration was computed for."},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the invoice item.","format":"decimal"},"tax_rates":{"type":"array","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.","nullable":true,"items":{"$ref":"#/components/schemas/tax_rate"}},"test_clock":{"description":"ID of the test clock this invoice item belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}}},"description":"Invoice Items represent the component lines of an [invoice](https://docs.stripe.com/api/invoices). When you create an invoice item with an `invoice` field, it is attached to the specified invoice and included as [an invoice line item](https://docs.stripe.com/api/invoices/line_item) within [invoice.lines](https://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/invoicing/integration), [Subscription Invoices](https://docs.stripe.com/billing/invoices/subscription#adding-upcoming-invoice-items).","x-expandableFields":["customer","discounts","invoice","parent","period","pricing","proration_details","tax_rates","test_clock"],"x-resourceId":"invoiceitem","x-stripeMostCommon":["amount","currency","customer","customer_account","description","id","metadata","parent","period","pricing","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoiceitem"}},"description":"Occurs whenever an invoice item is created.","x-expandableFields":[],"x-stripeEvent":{"type":"invoiceitem.created"}},"invoiceitem.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/invoiceitem"}},"description":"Occurs whenever an invoice item is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"invoiceitem.deleted"}},"invoices_payment_method_options":{"title":"InvoicesPaymentMethodOptions","required":["acss_debit","bancontact","card","customer_balance","konbini","payto","sepa_debit","us_bank_account"],"type":"object","properties":{"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_acss_debit"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_bancontact"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_card"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_customer_balance"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_konbini"}]},"payto":{"description":"If paying by `payto`, this sub-hash contains details about the PayTo payment method options to pass to the invoice’s PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_payto"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_sepa_debit"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_us_bank_account"}]}},"description":"","x-expandableFields":["acss_debit","bancontact","card","customer_balance","konbini","payto","sepa_debit","us_bank_account"],"x-stripeMostCommon":["acss_debit","bancontact","card","customer_balance","konbini","payto","sepa_debit","us_bank_account"]},"invoices_payment_settings":{"title":"InvoicesPaymentSettings","required":["default_mandate","payment_method_options","payment_method_types"],"type":"object","properties":{"default_mandate":{"maxLength":5000,"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.","nullable":true},"payment_method_options":{"description":"Payment-method-specific configuration to provide to the invoice’s PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoices_payment_method_options"}]},"payment_method_types":{"type":"array","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).","nullable":true,"items":{"type":"string","enum":["ach_credit_transfer","ach_debit","acss_debit","affirm","amazon_pay","au_becs_debit","bacs_debit","bancontact","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","promptpay","revolut_pay","sepa_credit_transfer","sepa_debit","sofort","swish","us_bank_account","wechat_pay"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":["payment_method_options"],"x-stripeMostCommon":["default_mandate","payment_method_options","payment_method_types"]},"invoices_payments_invoice_payment_associated_payment":{"title":"InvoicesPaymentsInvoicePaymentAssociatedPayment","required":["type"],"type":"object","properties":{"charge":{"description":"ID of the successful charge for this payment when `type` is `charge`.Note: charge is only surfaced if the charge object is not associated with a payment intent. If the charge object does have a payment intent, the Invoice Payment surfaces the payment intent instead.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"payment_intent":{"description":"ID of the PaymentIntent associated with this payment when `type` is `payment_intent`. Note: This property is only populated for invoices finalized on or after March 15th, 2019.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"payment_record":{"description":"ID of the PaymentRecord associated with this payment when `type` is `payment_record`.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_record"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_record"}]}},"type":{"type":"string","description":"Type of payment object associated with this invoice payment.","enum":["charge","payment_intent","payment_record"]}},"description":"","x-expandableFields":["charge","payment_intent","payment_record"],"x-stripeMostCommon":["payment_intent","payment_record","type"]},"invoices_payments_invoice_payment_status_transitions":{"title":"InvoicesPaymentsInvoicePaymentStatusTransitions","required":["canceled_at","paid_at"],"type":"object","properties":{"canceled_at":{"type":"integer","description":"The time that the payment was canceled.","format":"unix-time","nullable":true},"paid_at":{"type":"integer","description":"The time that the payment succeeded.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["canceled_at","paid_at"]},"invoices_resource_confirmation_secret":{"title":"InvoicesResourceConfirmationSecret","required":["client_secret","type"],"type":"object","properties":{"client_secret":{"maxLength":5000,"type":"string","description":"The client_secret of the payment that Stripe creates for the invoice after finalization."},"type":{"maxLength":5000,"type":"string","description":"The type of client_secret. Currently this is always payment_intent, referencing the default payment_intent that Stripe creates during invoice finalization"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["client_secret","type"]},"invoices_resource_from_invoice":{"title":"InvoicesResourceFromInvoice","required":["action","invoice"],"type":"object","properties":{"action":{"maxLength":5000,"type":"string","description":"The relation between this invoice and the cloned invoice"},"invoice":{"description":"The invoice that was cloned.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}}},"description":"","x-expandableFields":["invoice"],"x-stripeMostCommon":["action","invoice"]},"invoices_resource_invoice_rendering":{"title":"InvoicesResourceInvoiceRendering","required":["amount_tax_display","pdf","template","template_version"],"type":"object","properties":{"amount_tax_display":{"maxLength":5000,"type":"string","description":"How line-item prices and amounts will be displayed with respect to tax on invoice PDFs.","nullable":true},"pdf":{"description":"Invoice pdf rendering options","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_rendering_pdf"}]},"template":{"maxLength":5000,"type":"string","description":"ID of the rendering template that the invoice is formatted by.","nullable":true},"template_version":{"type":"integer","description":"Version of the rendering template that the invoice is using.","nullable":true}},"description":"","x-expandableFields":["pdf"],"x-stripeMostCommon":["amount_tax_display","pdf","template","template_version"]},"invoices_resource_invoice_tax_id":{"title":"InvoicesResourceInvoiceTaxID","required":["type","value"],"type":"object","properties":{"type":{"type":"string","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`, `pl_nip`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_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`, `al_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`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","unknown","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"]},"value":{"maxLength":5000,"type":"string","description":"The value of the tax ID.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type","value"]},"invoices_resource_pretax_credit_amount":{"title":"InvoicesResourcePretaxCreditAmount","required":["amount","type"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent), of the pretax credit amount."},"credit_balance_transaction":{"description":"The credit balance transaction that was applied to get this pretax credit amount.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/billing.credit_balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/billing.credit_balance_transaction"}]}},"discount":{"description":"The discount that was applied to get this pretax credit amount.","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":{"type":"string","description":"Type of the pretax credit amount referenced.","enum":["credit_balance_transaction","discount"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["credit_balance_transaction","discount"],"x-stripeMostCommon":["amount","credit_balance_transaction","discount","type"]},"invoices_resource_shipping_cost":{"title":"InvoicesResourceShippingCost","required":["amount_subtotal","amount_tax","amount_total","shipping_rate"],"type":"object","properties":{"amount_subtotal":{"type":"integer","description":"Total shipping cost before any taxes are applied."},"amount_tax":{"type":"integer","description":"Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0."},"amount_total":{"type":"integer","description":"Total shipping cost after taxes are applied."},"shipping_rate":{"description":"The ID of the ShippingRate for this invoice.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/shipping_rate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/shipping_rate"}]}},"taxes":{"type":"array","description":"The taxes applied to the shipping rate.","items":{"$ref":"#/components/schemas/line_items_tax_amount"}}},"description":"","x-expandableFields":["shipping_rate","taxes"],"x-stripeMostCommon":["amount_subtotal","amount_tax","amount_total","shipping_rate","taxes"]},"invoices_resource_status_transitions":{"title":"InvoicesResourceStatusTransitions","required":["finalized_at","marked_uncollectible_at","paid_at","voided_at"],"type":"object","properties":{"finalized_at":{"type":"integer","description":"The time that the invoice draft was finalized.","format":"unix-time","nullable":true},"marked_uncollectible_at":{"type":"integer","description":"The time that the invoice was marked uncollectible.","format":"unix-time","nullable":true},"paid_at":{"type":"integer","description":"The time that the invoice was paid.","format":"unix-time","nullable":true},"voided_at":{"type":"integer","description":"The time that the invoice was voided.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["finalized_at","marked_uncollectible_at","paid_at","voided_at"]},"issuing.authorization":{"title":"IssuingAuthorization","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","verified_by_fraud_challenge","wallet"],"type":"object","properties":{"amount":{"type":"integer","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."},"amount_details":{"description":"Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_amount_details"}]},"approved":{"type":"boolean","description":"Whether the authorization has been approved."},"authorization_method":{"type":"string","description":"How the card details were provided.","enum":["chip","contactless","keyed_in","online","swipe"]},"balance_transactions":{"type":"array","description":"List of balance transactions associated with this authorization.","items":{"$ref":"#/components/schemas/balance_transaction"}},"card":{"$ref":"#/components/schemas/issuing.card"},"cardholder":{"description":"The cardholder to whom this authorization belongs.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.cardholder"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.cardholder"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"fleet":{"description":"Fleet-specific information for authorizations using Fleet cards.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_fleet_data"}]},"fraud_challenges":{"type":"array","description":"Fraud challenges sent to the cardholder, if this authorization was declined for fraud risk reasons.","nullable":true,"items":{"$ref":"#/components/schemas/issuing_authorization_fraud_challenge"}},"fuel":{"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,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_fuel_data"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"merchant_amount":{"type":"integer","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."},"merchant_currency":{"type":"string","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).","format":"currency"},"merchant_data":{"$ref":"#/components/schemas/issuing_authorization_merchant_data"},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"network_data":{"description":"Details about the authorization, such as identifiers, set by the card network.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_network_data"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.authorization"]},"pending_request":{"description":"The pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_pending_request"}]},"request_history":{"type":"array","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"}},"status":{"type":"string","description":"The current status of the authorization in its lifecycle.","enum":["closed","expired","pending","reversed"]},"token":{"description":"[Token](https://docs.stripe.com/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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.token"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.token"}]}},"transactions":{"type":"array","description":"List of [transactions](https://docs.stripe.com/api/issuing/transactions) associated with this authorization.","items":{"$ref":"#/components/schemas/issuing.transaction"}},"treasury":{"description":"[Treasury](https://docs.stripe.com/api/treasury) details related to this authorization if it was created on a [FinancialAccount](https://docs.stripe.com/api/treasury/financial_accounts).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_treasury"}]},"verification_data":{"$ref":"#/components/schemas/issuing_authorization_verification_data"},"verified_by_fraud_challenge":{"type":"boolean","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},"wallet":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization`\nobject is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the\npurchase to be completed successfully.\n\nRelated guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations)","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":{"title":"IssuingCard","required":["brand","cancellation_reason","cardholder","created","currency","exp_month","exp_year","id","last4","latest_fraud_warning","lifecycle_controls","livemode","metadata","object","personalization_design","replaced_by","replacement_for","replacement_reason","second_line","shipping","spending_controls","status","type","wallets"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"The brand of the card."},"cancellation_reason":{"type":"string","description":"The reason why the card was canceled.","nullable":true,"enum":["design_rejected","lost","stolen"],"x-stripeBypassValidation":true},"cardholder":{"$ref":"#/components/schemas/issuing.cardholder"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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.","format":"currency"},"cvc":{"maxLength":5000,"type":"string","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://docs.stripe.com/api/expanding_objects). Additionally, it's only available via the [\"Retrieve a card\" endpoint](https://docs.stripe.com/api/issuing/cards/retrieve), not via \"List all cards\" or any other endpoint."},"exp_month":{"type":"integer","description":"The expiration month of the card."},"exp_year":{"type":"integer","description":"The expiration year of the card."},"financial_account":{"maxLength":5000,"type":"string","description":"The financial account this card is attached to.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"last4":{"maxLength":5000,"type":"string","description":"The last 4 digits of the card number."},"latest_fraud_warning":{"description":"Stripe’s assessment of whether this card’s details have been compromised. If this property isn't null, cancel and reissue the card to prevent fraudulent activity risk.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_card_fraud_warning"}]},"lifecycle_controls":{"description":"Rules that control the lifecycle of this card, such as automatic cancellation. Refer to our [documentation](/issuing/controls/lifecycle-controls) for more details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_card_lifecycle_controls"}]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"number":{"maxLength":5000,"type":"string","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://docs.stripe.com/api/expanding_objects). Additionally, it's only available via the [\"Retrieve a card\" endpoint](https://docs.stripe.com/api/issuing/cards/retrieve), not via \"List all cards\" or any other endpoint."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.card"]},"personalization_design":{"description":"The personalization design object belonging to this card.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.personalization_design"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.personalization_design"}]}},"replaced_by":{"description":"The latest card that replaces this card, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.card"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.card"}]}},"replacement_for":{"description":"The card this card replaces, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.card"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.card"}]}},"replacement_reason":{"type":"string","description":"The reason why the previous card needed to be replaced.","nullable":true,"enum":["damaged","expired","lost","stolen"],"x-stripeBypassValidation":true},"second_line":{"maxLength":5000,"type":"string","description":"Text separate from cardholder name, printed on the card.","nullable":true},"shipping":{"description":"Where and how the card will be shipped.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_card_shipping"}]},"spending_controls":{"$ref":"#/components/schemas/issuing_card_authorization_controls"},"status":{"type":"string","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"],"x-stripeBypassValidation":true},"type":{"type":"string","description":"The type of the card.","enum":["physical","virtual"]},"wallets":{"description":"Information relating to digital wallets (like Apple Pay and Google Pay).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_card_wallets"}]}},"description":"You can [create physical or virtual cards](https://docs.stripe.com/issuing) that are issued to cardholders.","x-expandableFields":["cardholder","latest_fraud_warning","lifecycle_controls","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":{"title":"IssuingCardholder","required":["billing","company","created","email","id","individual","livemode","metadata","name","object","phone_number","preferred_locales","requirements","spending_controls","status","type"],"type":"object","properties":{"billing":{"$ref":"#/components/schemas/issuing_cardholder_address"},"company":{"description":"Additional information about a `company` cardholder.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_company"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"email":{"maxLength":5000,"type":"string","description":"The cardholder's email address.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"individual":{"description":"Additional information about an `individual` cardholder.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_individual"}]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"name":{"maxLength":5000,"type":"string","description":"The cardholder's name. This will be printed on cards issued to them."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.cardholder"]},"phone_number":{"maxLength":5000,"type":"string","description":"The cardholder's phone number. This is required for all cardholders who will be creating EU cards. See the [3D Secure documentation](https://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied) for more details.","nullable":true},"preferred_locales":{"type":"array","description":"The cardholder’s preferred locales (languages), ordered by preference. Locales can be `da`, `de`, `en`, `es`, `fr`, `it`, `pl`, or `sv`.\n This changes the language of the [3D Secure flow](https://docs.stripe.com/issuing/3d-secure) and one-time password messages sent to the cardholder.","nullable":true,"items":{"type":"string","enum":["de","en","es","fr","it"],"x-stripeBypassValidation":true}},"requirements":{"$ref":"#/components/schemas/issuing_cardholder_requirements"},"spending_controls":{"description":"Rules that control spending across this cardholder's cards. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_authorization_controls"}]},"status":{"type":"string","description":"Specifies whether to permit authorizations on this cardholder's cards.","enum":["active","blocked","inactive"]},"type":{"type":"string","description":"One of `individual` or `company`. See [Choose a cardholder type](https://docs.stripe.com/issuing/other/choose-cardholder) for more details.","enum":["company","individual"],"x-stripeBypassValidation":true}},"description":"An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://docs.stripe.com/issuing) cards.\n\nRelated guide: [How to create a cardholder](https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder)","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":{"title":"IssuingDispute","required":["amount","created","currency","evidence","id","livemode","metadata","object","status","transaction"],"type":"object","properties":{"amount":{"type":"integer","description":"Disputed amount in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation)."},"balance_transactions":{"type":"array","description":"List of balance transactions associated with the dispute.","nullable":true,"items":{"$ref":"#/components/schemas/balance_transaction"}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","description":"The currency the `transaction` was made in.","format":"currency"},"evidence":{"$ref":"#/components/schemas/issuing_dispute_evidence"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"loss_reason":{"type":"string","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"]},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.dispute"]},"status":{"type":"string","description":"Current status of the dispute.","enum":["expired","lost","submitted","unsubmitted","won"]},"transaction":{"description":"The transaction being disputed.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.transaction"}]}},"treasury":{"description":"[Treasury](https://docs.stripe.com/api/treasury) details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_dispute_treasury"}]}},"description":"As a [card issuer](https://docs.stripe.com/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://docs.stripe.com/issuing/purchases/disputes)","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":{"title":"IssuingPersonalizationDesign","required":["card_logo","carrier_text","created","id","livemode","lookup_key","metadata","name","object","physical_bundle","preferences","rejection_reasons","status"],"type":"object","properties":{"card_logo":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"carrier_text":{"description":"Hash containing carrier text, for use with physical bundles that support carrier text.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_personalization_design_carrier_text"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"lookup_key":{"maxLength":5000,"type":"string","description":"A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters.","nullable":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"name":{"maxLength":5000,"type":"string","description":"Friendly display name.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.personalization_design"]},"physical_bundle":{"description":"The physical bundle object belonging to this personalization design.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.physical_bundle"}],"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":{"type":"string","description":"Whether this personalization design can be used to create cards.","enum":["active","inactive","rejected","review"]}},"description":"A Personalization Design is a logical grouping of a Physical Bundle, card logo, and carrier text that represents a product line.","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":{"title":"IssuingPhysicalBundle","required":["features","id","livemode","name","object","status","type"],"type":"object","properties":{"features":{"$ref":"#/components/schemas/issuing_physical_bundle_features"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"name":{"maxLength":5000,"type":"string","description":"Friendly display name."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.physical_bundle"]},"status":{"type":"string","description":"Whether this physical bundle can be used to create cards.","enum":["active","inactive","review"]},"type":{"type":"string","description":"Whether this physical bundle is a standard Stripe offering or custom-made for you.","enum":["custom","standard"]}},"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.","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":{"title":"IssuingNetworkToken","required":["card","created","device_fingerprint","id","livemode","network","network_updated_at","object","status"],"type":"object","properties":{"card":{"description":"Card associated with this token.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.card"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.card"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"device_fingerprint":{"maxLength":5000,"type":"string","description":"The hashed ID derived from the device ID from the card network associated with the token.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the token."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"network":{"type":"string","description":"The token service provider / card network associated with the token.","enum":["mastercard","visa"]},"network_data":{"$ref":"#/components/schemas/issuing_network_token_network_data"},"network_updated_at":{"type":"integer","description":"Time at which the token was last updated by the card network. Measured in seconds since the Unix epoch.","format":"unix-time"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.token"]},"status":{"type":"string","description":"The usage state of the token.","enum":["active","deleted","requested","suspended"]},"wallet_provider":{"type":"string","description":"The digital wallet for this token, if one was used.","enum":["apple_pay","google_pay","samsung_pay"]}},"description":"An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://docs.stripe.com/issuing), you can [view and manage these tokens](https://docs.stripe.com/issuing/controls/token-management) through Stripe.","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":{"title":"IssuingTransaction","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"],"type":"object","properties":{"amount":{"type":"integer","description":"The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"amount_details":{"description":"Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_amount_details"}]},"authorization":{"description":"The `Authorization` object that led to this transaction.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.authorization"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.authorization"}]}},"balance_transaction":{"description":"ID of the [balance transaction](https://docs.stripe.com/api/balance_transactions) associated with this transaction.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"card":{"description":"The card used to make this transaction.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.card"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.card"}]}},"cardholder":{"description":"The cardholder to whom this transaction belongs.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.cardholder"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.cardholder"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"dispute":{"description":"If you've disputed the transaction, the ID of the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.dispute"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.dispute"}]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"merchant_amount":{"type":"integer","description":"The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency."},"merchant_currency":{"type":"string","description":"The currency with which the merchant is taking payment.","format":"currency"},"merchant_data":{"$ref":"#/components/schemas/issuing_authorization_merchant_data"},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"network_data":{"description":"Details about the transaction, such as processing dates, set by the card network.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_network_data"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.transaction"]},"purchase_details":{"description":"Additional purchase information that is optionally provided by the merchant.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_purchase_details"}]},"token":{"description":"[Token](https://docs.stripe.com/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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.token"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.token"}]}},"treasury":{"description":"[Treasury](https://docs.stripe.com/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_treasury"}]},"type":{"type":"string","description":"The nature of the transaction.","enum":["capture","refund"],"x-stripeBypassValidation":true},"wallet":{"type":"string","description":"The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`.","nullable":true,"enum":["apple_pay","google_pay","samsung_pay"]}},"description":"Any use of an [issued card](https://docs.stripe.com/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://docs.stripe.com/issuing/purchases/transactions)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.authorization"}},"description":"Occurs whenever an authorization is created.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_authorization.created"}},"issuing_authorization.request":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.authorization"}},"description":"Represents a synchronous request for authorization, see [Using your integration to handle authorization requests](https://docs.stripe.com/issuing/purchases/authorizations#authorization-handling).","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_authorization.request"}},"issuing_authorization.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.authorization"}},"description":"Occurs whenever an authorization is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_authorization.updated"}},"issuing_authorization_amount_details":{"title":"IssuingAuthorizationAmountDetails","required":["atm_fee","cashback_amount"],"type":"object","properties":{"atm_fee":{"type":"integer","description":"The fee charged by the ATM for the cash withdrawal.","nullable":true},"cashback_amount":{"type":"integer","description":"The amount of cash requested by the cardholder.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["atm_fee","cashback_amount"]},"issuing_authorization_authentication_exemption":{"title":"IssuingAuthorizationAuthenticationExemption","required":["claimed_by","type"],"type":"object","properties":{"claimed_by":{"type":"string","description":"The entity that requested the exemption, either the acquiring merchant or the Issuing user.","enum":["acquirer","issuer"]},"type":{"type":"string","description":"The specific exemption claimed for this authorization.","enum":["low_value_transaction","transaction_risk_analysis","unknown"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["claimed_by","type"]},"issuing_authorization_fleet_cardholder_prompt_data":{"title":"IssuingAuthorizationFleetCardholderPromptData","required":["alphanumeric_id","driver_id","odometer","unspecified_id","user_id","vehicle_number"],"type":"object","properties":{"alphanumeric_id":{"maxLength":5000,"type":"string","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.","nullable":true},"driver_id":{"maxLength":5000,"type":"string","description":"Driver ID.","nullable":true},"odometer":{"type":"integer","description":"Odometer reading.","nullable":true},"unspecified_id":{"maxLength":5000,"type":"string","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.","nullable":true},"user_id":{"maxLength":5000,"type":"string","description":"User ID.","nullable":true},"vehicle_number":{"maxLength":5000,"type":"string","description":"Vehicle number.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["alphanumeric_id","driver_id","odometer","unspecified_id","user_id","vehicle_number"]},"issuing_authorization_fleet_data":{"title":"IssuingAuthorizationFleetData","required":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"],"type":"object","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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_fleet_cardholder_prompt_data"}]},"purchase_type":{"type":"string","description":"The type of purchase.","nullable":true,"enum":["fuel_and_non_fuel_purchase","fuel_purchase","non_fuel_purchase"]},"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,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_fleet_reported_breakdown"}]},"service_type":{"type":"string","description":"The type of fuel service.","nullable":true,"enum":["full_service","non_fuel_transaction","self_service"]}},"description":"","x-expandableFields":["cardholder_prompt_data","reported_breakdown"],"x-stripeMostCommon":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"]},"issuing_authorization_fleet_fuel_price_data":{"title":"IssuingAuthorizationFleetFuelPriceData","required":["gross_amount_decimal"],"type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross fuel amount that should equal Fuel Quantity multiplied by Fuel Unit Cost, inclusive of taxes.","format":"decimal","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["gross_amount_decimal"]},"issuing_authorization_fleet_non_fuel_price_data":{"title":"IssuingAuthorizationFleetNonFuelPriceData","required":["gross_amount_decimal"],"type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.","format":"decimal","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["gross_amount_decimal"]},"issuing_authorization_fleet_reported_breakdown":{"title":"IssuingAuthorizationFleetReportedBreakdown","required":["fuel","non_fuel","tax"],"type":"object","properties":{"fuel":{"description":"Breakdown of fuel portion of the purchase.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_fleet_fuel_price_data"}]},"non_fuel":{"description":"Breakdown of non-fuel portion of the purchase.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_fleet_non_fuel_price_data"}]},"tax":{"description":"Information about tax included in this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_fleet_tax_data"}]}},"description":"","x-expandableFields":["fuel","non_fuel","tax"],"x-stripeMostCommon":["fuel","non_fuel","tax"]},"issuing_authorization_fleet_tax_data":{"title":"IssuingAuthorizationFleetTaxData","required":["local_amount_decimal","national_amount_decimal"],"type":"object","properties":{"local_amount_decimal":{"type":"string","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},"national_amount_decimal":{"type":"string","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["local_amount_decimal","national_amount_decimal"]},"issuing_authorization_fraud_challenge":{"title":"IssuingAuthorizationFraudChallenge","required":["channel","status","undeliverable_reason"],"type":"object","properties":{"channel":{"type":"string","description":"The method by which the fraud challenge was delivered to the cardholder.","enum":["sms"]},"status":{"type":"string","description":"The status of the fraud challenge.","enum":["expired","pending","rejected","undeliverable","verified"]},"undeliverable_reason":{"type":"string","description":"If the challenge is not deliverable, the reason why.","nullable":true,"enum":["no_phone_number","unsupported_phone_number"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["channel","status","undeliverable_reason"]},"issuing_authorization_fuel_data":{"title":"IssuingAuthorizationFuelData","required":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"],"type":"object","properties":{"industry_product_code":{"maxLength":5000,"type":"string","description":"[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.","nullable":true},"quantity_decimal":{"type":"string","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":{"type":"string","description":"The type of fuel that was purchased.","nullable":true,"enum":["diesel","other","unleaded_plus","unleaded_regular","unleaded_super"]},"unit":{"type":"string","description":"The units for `quantity_decimal`.","nullable":true,"enum":["charging_minute","imperial_gallon","kilogram","kilowatt_hour","liter","other","pound","us_gallon"]},"unit_cost_decimal":{"type":"string","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"]},"issuing_authorization_merchant_data":{"title":"IssuingAuthorizationMerchantData","required":["category","category_code","city","country","name","network_id","postal_code","state","tax_id","terminal_id","url"],"type":"object","properties":{"category":{"maxLength":5000,"type":"string","description":"A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values."},"category_code":{"maxLength":5000,"type":"string","description":"The merchant category code for the seller’s business"},"city":{"maxLength":5000,"type":"string","description":"City where the seller is located","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Country where the seller is located","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Name of the seller","nullable":true},"network_id":{"maxLength":5000,"type":"string","description":"Identifier assigned to the seller by the card network. Different card networks may assign different network_id fields to the same merchant."},"postal_code":{"maxLength":5000,"type":"string","description":"Postal code where the seller is located","nullable":true},"state":{"maxLength":5000,"type":"string","description":"State where the seller is located","nullable":true},"tax_id":{"maxLength":5000,"type":"string","description":"The seller's tax identification number. Currently populated for French merchants only.","nullable":true},"terminal_id":{"maxLength":5000,"type":"string","description":"An ID assigned by the seller to the location of the sale.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"URL provided by the merchant on a 3DS request","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["category","category_code","city","country","name","network_id","postal_code","state","tax_id","terminal_id","url"]},"issuing_authorization_network_data":{"title":"IssuingAuthorizationNetworkData","required":["acquiring_institution_id","system_trace_audit_number","transaction_id"],"type":"object","properties":{"acquiring_institution_id":{"maxLength":5000,"type":"string","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`.","nullable":true},"system_trace_audit_number":{"maxLength":5000,"type":"string","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.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["acquiring_institution_id","system_trace_audit_number","transaction_id"]},"issuing_authorization_pending_request":{"title":"IssuingAuthorizationPendingRequest","required":["amount","amount_details","currency","is_amount_controllable","merchant_amount","merchant_currency","network_risk_score"],"type":"object","properties":{"amount":{"type":"integer","description":"The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"amount_details":{"description":"Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_amount_details"}]},"currency":{"type":"string","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).","format":"currency"},"is_amount_controllable":{"type":"boolean","description":"If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization."},"merchant_amount":{"type":"integer","description":"The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"merchant_currency":{"type":"string","description":"The local currency the merchant is requesting to authorize.","format":"currency"},"network_risk_score":{"type":"integer","description":"The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.","nullable":true}},"description":"","x-expandableFields":["amount_details"],"x-stripeMostCommon":["amount","amount_details","currency","is_amount_controllable","merchant_amount","merchant_currency","network_risk_score"]},"issuing_authorization_request":{"title":"IssuingAuthorizationRequest","required":["amount","amount_details","approved","authorization_code","created","currency","merchant_amount","merchant_currency","network_risk_score","reason","reason_message","requested_at"],"type":"object","properties":{"amount":{"type":"integer","description":"The `pending_request.amount` at the time of the request, presented in your card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved."},"amount_details":{"description":"Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_amount_details"}]},"approved":{"type":"boolean","description":"Whether this request was approved."},"authorization_code":{"maxLength":5000,"type":"string","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.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","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)."},"merchant_amount":{"type":"integer","description":"The `pending_request.merchant_amount` at the time of the request, presented in the `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"merchant_currency":{"maxLength":5000,"type":"string","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)."},"network_risk_score":{"type":"integer","description":"The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.","nullable":true},"reason":{"type":"string","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","network_fallback","not_allowed","pin_blocked","spending_controls","suspected_fraud","verification_failed","webhook_approved","webhook_declined","webhook_error","webhook_timeout"],"x-stripeBypassValidation":true},"reason_message":{"maxLength":5000,"type":"string","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.","nullable":true},"requested_at":{"type":"integer","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}},"description":"","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":{"title":"IssuingAuthorizationThreeDSecure","required":["result"],"type":"object","properties":{"result":{"type":"string","description":"The outcome of the 3D Secure authentication request.","enum":["attempt_acknowledged","authenticated","failed","required"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["result"]},"issuing_authorization_treasury":{"title":"IssuingAuthorizationTreasury","required":["received_credits","received_debits","transaction"],"type":"object","properties":{"received_credits":{"type":"array","description":"The array of [ReceivedCredits](https://docs.stripe.com/api/treasury/received_credits) associated with this authorization","items":{"maxLength":5000,"type":"string"}},"received_debits":{"type":"array","description":"The array of [ReceivedDebits](https://docs.stripe.com/api/treasury/received_debits) associated with this authorization","items":{"maxLength":5000,"type":"string"}},"transaction":{"maxLength":5000,"type":"string","description":"The Treasury [Transaction](https://docs.stripe.com/api/treasury/transactions) associated with this authorization","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["received_credits","received_debits","transaction"]},"issuing_authorization_verification_data":{"title":"IssuingAuthorizationVerificationData","required":["address_line1_check","address_postal_code_check","authentication_exemption","cvc_check","expiry_check","postal_code","three_d_secure"],"type":"object","properties":{"address_line1_check":{"type":"string","description":"Whether the cardholder provided an address first line and if it matched the cardholder’s `billing.address.line1`.","enum":["match","mismatch","not_provided"]},"address_postal_code_check":{"type":"string","description":"Whether the cardholder provided a postal code and if it matched the cardholder’s `billing.address.postal_code`.","enum":["match","mismatch","not_provided"]},"authentication_exemption":{"description":"The exemption applied to this authorization.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_authentication_exemption"}]},"cvc_check":{"type":"string","description":"Whether the cardholder provided a CVC and if it matched Stripe’s record.","enum":["match","mismatch","not_provided"]},"expiry_check":{"type":"string","description":"Whether the cardholder provided an expiry date and if it matched Stripe’s record.","enum":["match","mismatch","not_provided"]},"postal_code":{"maxLength":5000,"type":"string","description":"The postal code submitted as part of the authorization used for postal code verification.","nullable":true},"three_d_secure":{"description":"3D Secure details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_authorization_three_d_secure"}]}},"description":"","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.card"}},"description":"Occurs whenever a card is created.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_card.created"}},"issuing_card.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.card"}},"description":"Occurs whenever a card is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_card.updated"}},"issuing_card_apple_pay":{"title":"IssuingCardApplePay","required":["eligible","ineligible_reason"],"type":"object","properties":{"eligible":{"type":"boolean","description":"Apple Pay Eligibility"},"ineligible_reason":{"type":"string","description":"Reason the card is ineligible for Apple Pay","nullable":true,"enum":["missing_agreement","missing_cardholder_contact","unsupported_region"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["eligible","ineligible_reason"]},"issuing_card_authorization_controls":{"title":"IssuingCardAuthorizationControls","required":["allowed_categories","allowed_merchant_countries","blocked_categories","blocked_merchant_countries","spending_limits","spending_limits_currency"],"type":"object","properties":{"allowed_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.","nullable":true,"items":{"type":"string","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"]}},"allowed_merchant_countries":{"type":"array","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.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"blocked_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.","nullable":true,"items":{"type":"string","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"]}},"blocked_merchant_countries":{"type":"array","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.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"spending_limits":{"type":"array","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).","nullable":true,"items":{"$ref":"#/components/schemas/issuing_card_spending_limit"}},"spending_limits_currency":{"type":"string","description":"Currency of the amounts within `spending_limits`. Always the same as the currency of the card.","format":"currency","nullable":true}},"description":"","x-expandableFields":["spending_limits"],"x-stripeMostCommon":["allowed_categories","allowed_merchant_countries","blocked_categories","blocked_merchant_countries","spending_limits","spending_limits_currency"]},"issuing_card_fraud_warning":{"title":"IssuingCardFraudWarning","required":["started_at","type"],"type":"object","properties":{"started_at":{"type":"integer","description":"Timestamp of the most recent fraud warning.","format":"unix-time","nullable":true},"type":{"type":"string","description":"The type of fraud warning that most recently took place on this card. This field updates with every new fraud warning, so the value changes over time. If populated, cancel and reissue the card.","nullable":true,"enum":["card_testing_exposure","fraud_dispute_filed","third_party_reported","user_indicated_fraud"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["started_at","type"]},"issuing_card_google_pay":{"title":"IssuingCardGooglePay","required":["eligible","ineligible_reason"],"type":"object","properties":{"eligible":{"type":"boolean","description":"Google Pay Eligibility"},"ineligible_reason":{"type":"string","description":"Reason the card is ineligible for Google Pay","nullable":true,"enum":["missing_agreement","missing_cardholder_contact","unsupported_region"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["eligible","ineligible_reason"]},"issuing_card_lifecycle_conditions":{"title":"IssuingCardLifecycleConditions","required":["payment_count"],"type":"object","properties":{"payment_count":{"type":"integer","description":"The card is automatically cancelled when it makes this number of non-zero payment authorizations and transactions. The count includes penny authorizations, but doesn't include non-payment actions, such as authorization advice."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["payment_count"]},"issuing_card_lifecycle_controls":{"title":"IssuingCardLifecycleControls","required":["cancel_after"],"type":"object","properties":{"cancel_after":{"$ref":"#/components/schemas/issuing_card_lifecycle_conditions"}},"description":"","x-expandableFields":["cancel_after"],"x-stripeMostCommon":["cancel_after"]},"issuing_card_shipping":{"title":"IssuingCardShipping","required":["address","address_validation","carrier","customs","eta","name","phone_number","require_signature","service","status","tracking_number","tracking_url","type"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"address_validation":{"description":"Address validation details for the shipment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_card_shipping_address_validation"}]},"carrier":{"type":"string","description":"The delivery company that shipped a card.","nullable":true,"enum":["dhl","fedex","royal_mail","usps"]},"customs":{"description":"Additional information that may be required for clearing customs.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_card_shipping_customs"}]},"eta":{"type":"integer","description":"A unix timestamp representing a best estimate of when the card will be delivered.","format":"unix-time","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone_number":{"maxLength":5000,"type":"string","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.","nullable":true},"require_signature":{"type":"boolean","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},"service":{"type":"string","description":"Shipment service, such as `standard` or `express`.","enum":["express","priority","standard"],"x-stripeBypassValidation":true},"status":{"type":"string","description":"The delivery status of the card.","nullable":true,"enum":["canceled","delivered","failure","pending","returned","shipped","submitted"]},"tracking_number":{"maxLength":5000,"type":"string","description":"A tracking number for a card shipment.","nullable":true},"tracking_url":{"maxLength":5000,"type":"string","description":"A link to the shipping carrier's site where you can view detailed information about a card shipment.","nullable":true},"type":{"type":"string","description":"Packaging options.","enum":["bulk","individual"]}},"description":"","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":{"title":"IssuingCardShippingAddressValidation","required":["mode","normalized_address","result"],"type":"object","properties":{"mode":{"type":"string","description":"The address validation capabilities to use.","enum":["disabled","normalization_only","validation_and_normalization"]},"normalized_address":{"description":"The normalized shipping address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"result":{"type":"string","description":"The validation result for the shipping address.","nullable":true,"enum":["indeterminate","likely_deliverable","likely_undeliverable"]}},"description":"","x-expandableFields":["normalized_address"],"x-stripeMostCommon":["mode","normalized_address","result"]},"issuing_card_shipping_customs":{"title":"IssuingCardShippingCustoms","required":["eori_number"],"type":"object","properties":{"eori_number":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["eori_number"]},"issuing_card_spending_limit":{"title":"IssuingCardSpendingLimit","required":["amount","categories","interval"],"type":"object","properties":{"amount":{"type":"integer","description":"Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.","nullable":true,"items":{"type":"string","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"]}},"interval":{"type":"string","description":"Interval (or event) to which the amount applies.","enum":["all_time","daily","monthly","per_authorization","weekly","yearly"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","categories","interval"]},"issuing_card_wallets":{"title":"IssuingCardWallets","required":["apple_pay","google_pay","primary_account_identifier"],"type":"object","properties":{"apple_pay":{"$ref":"#/components/schemas/issuing_card_apple_pay"},"google_pay":{"$ref":"#/components/schemas/issuing_card_google_pay"},"primary_account_identifier":{"maxLength":5000,"type":"string","description":"Unique identifier for a card used with digital wallets","nullable":true}},"description":"","x-expandableFields":["apple_pay","google_pay"],"x-stripeMostCommon":["apple_pay","google_pay","primary_account_identifier"]},"issuing_cardholder.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.cardholder"}},"description":"Occurs whenever a cardholder is created.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_cardholder.created"}},"issuing_cardholder.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.cardholder"}},"description":"Occurs whenever a cardholder is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_cardholder.updated"}},"issuing_cardholder_address":{"title":"IssuingCardholderAddress","required":["address"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address"]},"issuing_cardholder_authorization_controls":{"title":"IssuingCardholderAuthorizationControls","required":["allowed_categories","allowed_merchant_countries","blocked_categories","blocked_merchant_countries","spending_limits","spending_limits_currency"],"type":"object","properties":{"allowed_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.","nullable":true,"items":{"type":"string","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"]}},"allowed_merchant_countries":{"type":"array","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.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"blocked_categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.","nullable":true,"items":{"type":"string","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"]}},"blocked_merchant_countries":{"type":"array","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.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"spending_limits":{"type":"array","description":"Limit spending with amount-based rules that apply across this cardholder's cards.","nullable":true,"items":{"$ref":"#/components/schemas/issuing_cardholder_spending_limit"}},"spending_limits_currency":{"type":"string","description":"Currency of the amounts within `spending_limits`.","format":"currency","nullable":true}},"description":"","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":{"title":"IssuingCardholderCardIssuing","required":["user_terms_acceptance"],"type":"object","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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_user_terms_acceptance"}]}},"description":"","x-expandableFields":["user_terms_acceptance"],"x-stripeMostCommon":["user_terms_acceptance"]},"issuing_cardholder_company":{"title":"IssuingCardholderCompany","required":["tax_id_provided"],"type":"object","properties":{"tax_id_provided":{"type":"boolean","description":"Whether the company's business ID number was provided."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["tax_id_provided"]},"issuing_cardholder_id_document":{"title":"IssuingCardholderIdDocument","required":["back","front"],"type":"object","properties":{"back":{"description":"The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"front":{"description":"The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}}},"description":"","x-expandableFields":["back","front"],"x-stripeMostCommon":["back","front"]},"issuing_cardholder_individual":{"title":"IssuingCardholderIndividual","required":["dob","first_name","last_name","verification"],"type":"object","properties":{"card_issuing":{"description":"Information related to the card_issuing program for this cardholder.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_card_issuing"}]},"dob":{"description":"The date of birth of this cardholder.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_individual_dob"}]},"first_name":{"maxLength":5000,"type":"string","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.","nullable":true},"last_name":{"maxLength":5000,"type":"string","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.","nullable":true},"verification":{"description":"Government-issued ID document for this cardholder.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_verification"}]}},"description":"","x-expandableFields":["card_issuing","dob","verification"],"x-stripeMostCommon":["card_issuing","dob","first_name","last_name","verification"]},"issuing_cardholder_individual_dob":{"title":"IssuingCardholderIndividualDOB","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31.","nullable":true},"month":{"type":"integer","description":"The month of birth, between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year of birth.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"issuing_cardholder_requirements":{"title":"IssuingCardholderRequirements","required":["disabled_reason","past_due"],"type":"object","properties":{"disabled_reason":{"type":"string","description":"If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason.","nullable":true,"enum":["listed","rejected.listed","requirements.past_due","under_review"]},"past_due":{"type":"array","description":"Array of fields that need to be collected in order to verify and re-enable the cardholder.","nullable":true,"items":{"type":"string","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"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["disabled_reason","past_due"]},"issuing_cardholder_spending_limit":{"title":"IssuingCardholderSpendingLimit","required":["amount","categories","interval"],"type":"object","properties":{"amount":{"type":"integer","description":"Maximum amount allowed to spend per interval. This amount is in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"categories":{"type":"array","description":"Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.","nullable":true,"items":{"type":"string","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"]}},"interval":{"type":"string","description":"Interval (or event) to which the amount applies.","enum":["all_time","daily","monthly","per_authorization","weekly","yearly"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","categories","interval"]},"issuing_cardholder_user_terms_acceptance":{"title":"IssuingCardholderUserTermsAcceptance","required":["date","ip","user_agent"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the cardholder accepted the Authorized User Terms.","format":"unix-time","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the cardholder accepted the Authorized User Terms.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the cardholder accepted the Authorized User Terms.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","user_agent"]},"issuing_cardholder_verification":{"title":"IssuingCardholderVerification","required":["document"],"type":"object","properties":{"document":{"description":"An identifying document, either a passport or local ID card.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_cardholder_id_document"}]}},"description":"","x-expandableFields":["document"],"x-stripeMostCommon":["document"]},"issuing_dispute.closed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute"}},"description":"Occurs whenever a dispute is won, lost or expired.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute.closed"}},"issuing_dispute.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute"}},"description":"Occurs whenever a dispute is created.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute.created"}},"issuing_dispute.funds_reinstated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute"}},"description":"Occurs whenever funds are reinstated to your account for an Issuing dispute.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute.funds_reinstated"}},"issuing_dispute.funds_rescinded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute"}},"description":"Occurs whenever funds are deducted from your account for an Issuing dispute.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute.funds_rescinded"}},"issuing_dispute.submitted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute"}},"description":"Occurs whenever a dispute is submitted.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute.submitted"}},"issuing_dispute.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.dispute"}},"description":"Occurs whenever a dispute is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_dispute.updated"}},"issuing_dispute_canceled_evidence":{"title":"IssuingDisputeCanceledEvidence","required":["additional_documentation","canceled_at","cancellation_policy_provided","cancellation_reason","expected_at","explanation","product_description","product_type","return_status","returned_at"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"canceled_at":{"type":"integer","description":"Date when order was canceled.","format":"unix-time","nullable":true},"cancellation_policy_provided":{"type":"boolean","description":"Whether the cardholder was provided with a cancellation policy.","nullable":true},"cancellation_reason":{"maxLength":5000,"type":"string","description":"Reason for canceling the order.","nullable":true},"expected_at":{"type":"integer","description":"Date when the cardholder expected to receive the product.","format":"unix-time","nullable":true},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true},"product_description":{"maxLength":5000,"type":"string","description":"Description of the merchandise or service that was purchased.","nullable":true},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","nullable":true,"enum":["merchandise","service"]},"return_status":{"type":"string","description":"Result of cardholder's attempt to return the product.","nullable":true,"enum":["merchant_rejected","successful"]},"returned_at":{"type":"integer","description":"Date when the product was returned or attempted to be returned.","format":"unix-time","nullable":true}},"description":"","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":{"title":"IssuingDisputeDuplicateEvidence","required":["additional_documentation","card_statement","cash_receipt","check_image","explanation","original_transaction"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"card_statement":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"cash_receipt":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"check_image":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true},"original_transaction":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","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":{"title":"IssuingDisputeEvidence","required":["reason"],"type":"object","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":{"type":"string","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"],"x-stripeBypassValidation":true},"service_not_as_described":{"$ref":"#/components/schemas/issuing_dispute_service_not_as_described_evidence"}},"description":"","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":{"title":"IssuingDisputeFraudulentEvidence","required":["additional_documentation","explanation"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true}},"description":"","x-expandableFields":["additional_documentation"],"x-stripeMostCommon":["additional_documentation","explanation"]},"issuing_dispute_merchandise_not_as_described_evidence":{"title":"IssuingDisputeMerchandiseNotAsDescribedEvidence","required":["additional_documentation","explanation","received_at","return_description","return_status","returned_at"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true},"received_at":{"type":"integer","description":"Date when the product was received.","format":"unix-time","nullable":true},"return_description":{"maxLength":5000,"type":"string","description":"Description of the cardholder's attempt to return the product.","nullable":true},"return_status":{"type":"string","description":"Result of cardholder's attempt to return the product.","nullable":true,"enum":["merchant_rejected","successful"]},"returned_at":{"type":"integer","description":"Date when the product was returned or attempted to be returned.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":["additional_documentation"],"x-stripeMostCommon":["additional_documentation","explanation","received_at","return_description","return_status","returned_at"]},"issuing_dispute_no_valid_authorization_evidence":{"title":"IssuingDisputeNoValidAuthorizationEvidence","required":["additional_documentation","explanation"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true}},"description":"","x-expandableFields":["additional_documentation"],"x-stripeMostCommon":["additional_documentation","explanation"]},"issuing_dispute_not_received_evidence":{"title":"IssuingDisputeNotReceivedEvidence","required":["additional_documentation","expected_at","explanation","product_description","product_type"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"expected_at":{"type":"integer","description":"Date when the cardholder expected to receive the product.","format":"unix-time","nullable":true},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true},"product_description":{"maxLength":5000,"type":"string","description":"Description of the merchandise or service that was purchased.","nullable":true},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","nullable":true,"enum":["merchandise","service"]}},"description":"","x-expandableFields":["additional_documentation"],"x-stripeMostCommon":["additional_documentation","expected_at","explanation","product_description","product_type"]},"issuing_dispute_other_evidence":{"title":"IssuingDisputeOtherEvidence","required":["additional_documentation","explanation","product_description","product_type"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true},"product_description":{"maxLength":5000,"type":"string","description":"Description of the merchandise or service that was purchased.","nullable":true},"product_type":{"type":"string","description":"Whether the product was a merchandise or service.","nullable":true,"enum":["merchandise","service"]}},"description":"","x-expandableFields":["additional_documentation"],"x-stripeMostCommon":["additional_documentation","explanation","product_description","product_type"]},"issuing_dispute_service_not_as_described_evidence":{"title":"IssuingDisputeServiceNotAsDescribedEvidence","required":["additional_documentation","canceled_at","cancellation_reason","explanation","received_at"],"type":"object","properties":{"additional_documentation":{"description":"(ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"canceled_at":{"type":"integer","description":"Date when order was canceled.","format":"unix-time","nullable":true},"cancellation_reason":{"maxLength":5000,"type":"string","description":"Reason for canceling the order.","nullable":true},"explanation":{"maxLength":5000,"type":"string","description":"Explanation of why the cardholder is disputing this transaction.","nullable":true},"received_at":{"type":"integer","description":"Date when the product was received.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":["additional_documentation"],"x-stripeMostCommon":["additional_documentation","canceled_at","cancellation_reason","explanation","received_at"]},"issuing_dispute_treasury":{"title":"IssuingDisputeTreasury","required":["debit_reversal","received_debit"],"type":"object","properties":{"debit_reversal":{"maxLength":5000,"type":"string","description":"The Treasury [DebitReversal](https://docs.stripe.com/api/treasury/debit_reversals) representing this Issuing dispute","nullable":true},"received_debit":{"maxLength":5000,"type":"string","description":"The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) that is being disputed."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["debit_reversal","received_debit"]},"issuing_network_token_address":{"title":"IssuingNetworkTokenAddress","required":["line1","postal_code"],"type":"object","properties":{"line1":{"maxLength":5000,"type":"string","description":"The street address of the cardholder tokenizing the card."},"postal_code":{"maxLength":5000,"type":"string","description":"The postal code of the cardholder tokenizing the card."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["line1","postal_code"]},"issuing_network_token_device":{"title":"IssuingNetworkTokenDevice","type":"object","properties":{"device_fingerprint":{"maxLength":5000,"type":"string","description":"An obfuscated ID derived from the device ID."},"ip_address":{"maxLength":5000,"type":"string","description":"The IP address of the device at provisioning time."},"location":{"maxLength":5000,"type":"string","description":"The geographic latitude/longitude coordinates of the device at provisioning time. The format is [+-]decimal/[+-]decimal."},"name":{"maxLength":5000,"type":"string","description":"The name of the device used for tokenization."},"phone_number":{"maxLength":5000,"type":"string","description":"The phone number of the device used for tokenization."},"type":{"type":"string","description":"The type of device used for tokenization.","enum":["other","phone","watch"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["device_fingerprint","ip_address","location","name","phone_number","type"]},"issuing_network_token_mastercard":{"title":"IssuingNetworkTokenMastercard","required":["token_reference_id","token_requestor_id"],"type":"object","properties":{"card_reference_id":{"maxLength":5000,"type":"string","description":"A unique reference ID from MasterCard to represent the card account number."},"token_reference_id":{"maxLength":5000,"type":"string","description":"The network-unique identifier for the token."},"token_requestor_id":{"maxLength":5000,"type":"string","description":"The ID of the entity requesting tokenization, specific to MasterCard."},"token_requestor_name":{"maxLength":5000,"type":"string","description":"The name of the entity requesting tokenization, if known. This is directly provided from MasterCard."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["card_reference_id","token_reference_id","token_requestor_id","token_requestor_name"]},"issuing_network_token_network_data":{"title":"IssuingNetworkTokenNetworkData","required":["type"],"type":"object","properties":{"device":{"$ref":"#/components/schemas/issuing_network_token_device"},"mastercard":{"$ref":"#/components/schemas/issuing_network_token_mastercard"},"type":{"type":"string","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"]},"visa":{"$ref":"#/components/schemas/issuing_network_token_visa"},"wallet_provider":{"$ref":"#/components/schemas/issuing_network_token_wallet_provider"}},"description":"","x-expandableFields":["device","mastercard","visa","wallet_provider"],"x-stripeMostCommon":["device","mastercard","type","visa","wallet_provider"]},"issuing_network_token_visa":{"title":"IssuingNetworkTokenVisa","required":["card_reference_id","token_reference_id","token_requestor_id"],"type":"object","properties":{"card_reference_id":{"maxLength":5000,"type":"string","description":"A unique reference ID from Visa to represent the card account number.","nullable":true},"token_reference_id":{"maxLength":5000,"type":"string","description":"The network-unique identifier for the token."},"token_requestor_id":{"maxLength":5000,"type":"string","description":"The ID of the entity requesting tokenization, specific to Visa."},"token_risk_score":{"maxLength":5000,"type":"string","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."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["card_reference_id","token_reference_id","token_requestor_id","token_risk_score"]},"issuing_network_token_wallet_provider":{"title":"IssuingNetworkTokenWalletProvider","type":"object","properties":{"account_id":{"maxLength":5000,"type":"string","description":"The wallet provider-given account ID of the digital wallet the token belongs to."},"account_trust_score":{"type":"integer","description":"An evaluation on the trustworthiness of the wallet account between 1 and 5. A higher score indicates more trustworthy."},"card_number_source":{"type":"string","description":"The method used for tokenizing a card.","enum":["app","manual","on_file","other"]},"cardholder_address":{"$ref":"#/components/schemas/issuing_network_token_address"},"cardholder_name":{"maxLength":5000,"type":"string","description":"The name of the cardholder tokenizing the card."},"device_trust_score":{"type":"integer","description":"An evaluation on the trustworthiness of the device. A higher score indicates more trustworthy."},"hashed_account_email_address":{"maxLength":5000,"type":"string","description":"The hashed email address of the cardholder's account with the wallet provider."},"reason_codes":{"type":"array","description":"The reasons for suggested tokenization given by the card network.","items":{"type":"string","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"]}},"suggested_decision":{"type":"string","description":"The recommendation on responding to the tokenization request.","enum":["approve","decline","require_auth"]},"suggested_decision_version":{"maxLength":5000,"type":"string","description":"The version of the standard for mapping reason codes followed by the wallet provider."}},"description":"","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.personalization_design"}},"description":"Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_personalization_design.activated"}},"issuing_personalization_design.deactivated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.personalization_design"}},"description":"Occurs whenever a personalization design is deactivated following the deactivation of the physical bundle that belongs to it.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_personalization_design.deactivated"}},"issuing_personalization_design.rejected":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.personalization_design"}},"description":"Occurs whenever a personalization design is rejected by design review.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_personalization_design.rejected"}},"issuing_personalization_design.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.personalization_design"}},"description":"Occurs whenever a personalization design is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_personalization_design.updated"}},"issuing_personalization_design_carrier_text":{"title":"IssuingPersonalizationDesignCarrierText","required":["footer_body","footer_title","header_body","header_title"],"type":"object","properties":{"footer_body":{"maxLength":5000,"type":"string","description":"The footer body text of the carrier letter.","nullable":true},"footer_title":{"maxLength":5000,"type":"string","description":"The footer title text of the carrier letter.","nullable":true},"header_body":{"maxLength":5000,"type":"string","description":"The header body text of the carrier letter.","nullable":true},"header_title":{"maxLength":5000,"type":"string","description":"The header title text of the carrier letter.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["footer_body","footer_title","header_body","header_title"]},"issuing_personalization_design_preferences":{"title":"IssuingPersonalizationDesignPreferences","required":["is_default","is_platform_default"],"type":"object","properties":{"is_default":{"type":"boolean","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."},"is_platform_default":{"type":"boolean","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["is_default","is_platform_default"]},"issuing_personalization_design_rejection_reasons":{"title":"IssuingPersonalizationDesignRejectionReasons","required":["card_logo","carrier_text"],"type":"object","properties":{"card_logo":{"type":"array","description":"The reason(s) the card logo was rejected.","nullable":true,"items":{"type":"string","enum":["geographic_location","inappropriate","network_name","non_binary_image","non_fiat_currency","other","other_entity","promotional_material"]}},"carrier_text":{"type":"array","description":"The reason(s) the carrier text was rejected.","nullable":true,"items":{"type":"string","enum":["geographic_location","inappropriate","network_name","non_fiat_currency","other","other_entity","promotional_material"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["card_logo","carrier_text"]},"issuing_physical_bundle_features":{"title":"IssuingPhysicalBundleFeatures","required":["card_logo","carrier_text","second_line"],"type":"object","properties":{"card_logo":{"type":"string","description":"The policy for how to use card logo images in a card design with this physical bundle.","enum":["optional","required","unsupported"]},"carrier_text":{"type":"string","description":"The policy for how to use carrier letter text in a card design with this physical bundle.","enum":["optional","required","unsupported"]},"second_line":{"type":"string","description":"The policy for how to use a second line on a card with this physical bundle.","enum":["optional","required","unsupported"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["card_logo","carrier_text","second_line"]},"issuing_token.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.token"}},"description":"Occurs whenever an issuing digital wallet token is created.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_token.created"}},"issuing_token.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.token"}},"description":"Occurs whenever an issuing digital wallet token is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_token.updated"}},"issuing_transaction.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.transaction"}},"description":"Occurs whenever an issuing transaction is created.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_transaction.created"}},"issuing_transaction.purchase_details_receipt_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.transaction"}},"description":"Occurs whenever an issuing transaction is updated with receipt data.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_transaction.purchase_details_receipt_updated"}},"issuing_transaction.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/issuing.transaction"}},"description":"Occurs whenever an issuing transaction is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"issuing_transaction.updated"}},"issuing_transaction_amount_details":{"title":"IssuingTransactionAmountDetails","required":["atm_fee","cashback_amount"],"type":"object","properties":{"atm_fee":{"type":"integer","description":"The fee charged by the ATM for the cash withdrawal.","nullable":true},"cashback_amount":{"type":"integer","description":"The amount of cash requested by the cardholder.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["atm_fee","cashback_amount"]},"issuing_transaction_fleet_cardholder_prompt_data":{"title":"IssuingTransactionFleetCardholderPromptData","required":["driver_id","odometer","unspecified_id","user_id","vehicle_number"],"type":"object","properties":{"driver_id":{"maxLength":5000,"type":"string","description":"Driver ID.","nullable":true},"odometer":{"type":"integer","description":"Odometer reading.","nullable":true},"unspecified_id":{"maxLength":5000,"type":"string","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.","nullable":true},"user_id":{"maxLength":5000,"type":"string","description":"User ID.","nullable":true},"vehicle_number":{"maxLength":5000,"type":"string","description":"Vehicle number.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["driver_id","odometer","unspecified_id","user_id","vehicle_number"]},"issuing_transaction_fleet_data":{"title":"IssuingTransactionFleetData","required":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"],"type":"object","properties":{"cardholder_prompt_data":{"description":"Answers to prompts presented to cardholder at point of sale.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_fleet_cardholder_prompt_data"}]},"purchase_type":{"maxLength":5000,"type":"string","description":"The type of purchase. One of `fuel_purchase`, `non_fuel_purchase`, or `fuel_and_non_fuel_purchase`.","nullable":true},"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,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_fleet_reported_breakdown"}]},"service_type":{"maxLength":5000,"type":"string","description":"The type of fuel service. One of `non_fuel_transaction`, `full_service`, or `self_service`.","nullable":true}},"description":"","x-expandableFields":["cardholder_prompt_data","reported_breakdown"],"x-stripeMostCommon":["cardholder_prompt_data","purchase_type","reported_breakdown","service_type"]},"issuing_transaction_fleet_fuel_price_data":{"title":"IssuingTransactionFleetFuelPriceData","required":["gross_amount_decimal"],"type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross fuel amount that should equal Fuel Volume multipled by Fuel Unit Cost, inclusive of taxes.","format":"decimal","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["gross_amount_decimal"]},"issuing_transaction_fleet_non_fuel_price_data":{"title":"IssuingTransactionFleetNonFuelPriceData","required":["gross_amount_decimal"],"type":"object","properties":{"gross_amount_decimal":{"type":"string","description":"Gross non-fuel amount that should equal the sum of the line items, inclusive of taxes.","format":"decimal","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["gross_amount_decimal"]},"issuing_transaction_fleet_reported_breakdown":{"title":"IssuingTransactionFleetReportedBreakdown","required":["fuel","non_fuel","tax"],"type":"object","properties":{"fuel":{"description":"Breakdown of fuel portion of the purchase.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_fleet_fuel_price_data"}]},"non_fuel":{"description":"Breakdown of non-fuel portion of the purchase.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_fleet_non_fuel_price_data"}]},"tax":{"description":"Information about tax included in this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_fleet_tax_data"}]}},"description":"","x-expandableFields":["fuel","non_fuel","tax"],"x-stripeMostCommon":["fuel","non_fuel","tax"]},"issuing_transaction_fleet_tax_data":{"title":"IssuingTransactionFleetTaxData","required":["local_amount_decimal","national_amount_decimal"],"type":"object","properties":{"local_amount_decimal":{"type":"string","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},"national_amount_decimal":{"type":"string","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["local_amount_decimal","national_amount_decimal"]},"issuing_transaction_flight_data":{"title":"IssuingTransactionFlightData","required":["departure_at","passenger_name","refundable","segments","travel_agency"],"type":"object","properties":{"departure_at":{"type":"integer","description":"The time that the flight departed.","nullable":true},"passenger_name":{"maxLength":5000,"type":"string","description":"The name of the passenger.","nullable":true},"refundable":{"type":"boolean","description":"Whether the ticket is refundable.","nullable":true},"segments":{"type":"array","description":"The legs of the trip.","nullable":true,"items":{"$ref":"#/components/schemas/issuing_transaction_flight_data_leg"}},"travel_agency":{"maxLength":5000,"type":"string","description":"The travel agency that issued the ticket.","nullable":true}},"description":"","x-expandableFields":["segments"],"x-stripeMostCommon":["departure_at","passenger_name","refundable","segments","travel_agency"]},"issuing_transaction_flight_data_leg":{"title":"IssuingTransactionFlightDataLeg","required":["arrival_airport_code","carrier","departure_airport_code","flight_number","service_class","stopover_allowed"],"type":"object","properties":{"arrival_airport_code":{"maxLength":5000,"type":"string","description":"The three-letter IATA airport code of the flight's destination.","nullable":true},"carrier":{"maxLength":5000,"type":"string","description":"The airline carrier code.","nullable":true},"departure_airport_code":{"maxLength":5000,"type":"string","description":"The three-letter IATA airport code that the flight departed from.","nullable":true},"flight_number":{"maxLength":5000,"type":"string","description":"The flight number.","nullable":true},"service_class":{"maxLength":5000,"type":"string","description":"The flight's service class.","nullable":true},"stopover_allowed":{"type":"boolean","description":"Whether a stopover is allowed on this flight.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["arrival_airport_code","carrier","departure_airport_code","flight_number","service_class","stopover_allowed"]},"issuing_transaction_fuel_data":{"title":"IssuingTransactionFuelData","required":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"],"type":"object","properties":{"industry_product_code":{"maxLength":5000,"type":"string","description":"[Conexxus Payment System Product Code](https://www.conexxus.org/conexxus-payment-system-product-codes) identifying the primary fuel product purchased.","nullable":true},"quantity_decimal":{"type":"string","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":{"maxLength":5000,"type":"string","description":"The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`."},"unit":{"maxLength":5000,"type":"string","description":"The units for `quantity_decimal`. One of `charging_minute`, `imperial_gallon`, `kilogram`, `kilowatt_hour`, `liter`, `pound`, `us_gallon`, or `other`."},"unit_cost_decimal":{"type":"string","description":"The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places.","format":"decimal"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["industry_product_code","quantity_decimal","type","unit","unit_cost_decimal"]},"issuing_transaction_lodging_data":{"title":"IssuingTransactionLodgingData","required":["check_in_at","nights"],"type":"object","properties":{"check_in_at":{"type":"integer","description":"The time of checking into the lodging.","nullable":true},"nights":{"type":"integer","description":"The number of nights stayed at the lodging.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["check_in_at","nights"]},"issuing_transaction_network_data":{"title":"IssuingTransactionNetworkData","required":["authorization_code","processing_date","transaction_id"],"type":"object","properties":{"authorization_code":{"maxLength":5000,"type":"string","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.","nullable":true},"processing_date":{"maxLength":5000,"type":"string","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.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["authorization_code","processing_date","transaction_id"]},"issuing_transaction_purchase_details":{"title":"IssuingTransactionPurchaseDetails","required":["fleet","flight","fuel","lodging","receipt","reference"],"type":"object","properties":{"fleet":{"description":"Fleet-specific information for transactions using Fleet cards.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_fleet_data"}]},"flight":{"description":"Information about the flight that was purchased with this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_flight_data"}]},"fuel":{"description":"Information about fuel that was purchased with this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_fuel_data"}]},"lodging":{"description":"Information about lodging that was purchased with this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/issuing_transaction_lodging_data"}]},"receipt":{"type":"array","description":"The line items in the purchase.","nullable":true,"items":{"$ref":"#/components/schemas/issuing_transaction_receipt_data"}},"reference":{"maxLength":5000,"type":"string","description":"A merchant-specific order number.","nullable":true}},"description":"","x-expandableFields":["fleet","flight","fuel","lodging","receipt"],"x-stripeMostCommon":["fleet","flight","fuel","lodging","receipt","reference"]},"issuing_transaction_receipt_data":{"title":"IssuingTransactionReceiptData","required":["description","quantity","total","unit_cost"],"type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"The description of the item. The maximum length of this field is 26 characters.","nullable":true},"quantity":{"type":"number","description":"The quantity of the item.","nullable":true},"total":{"type":"integer","description":"The total for this line item in cents.","nullable":true},"unit_cost":{"type":"integer","description":"The unit cost of the item in cents.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["description","quantity","total","unit_cost"]},"issuing_transaction_treasury":{"title":"IssuingTransactionTreasury","required":["received_credit","received_debit"],"type":"object","properties":{"received_credit":{"maxLength":5000,"type":"string","description":"The Treasury [ReceivedCredit](https://docs.stripe.com/api/treasury/received_credits) representing this Issuing transaction if it is a refund","nullable":true},"received_debit":{"maxLength":5000,"type":"string","description":"The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) representing this Issuing transaction if it is a capture","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["received_credit","received_debit"]},"item":{"title":"LineItem","required":["adjustable_quantity","amount_discount","amount_subtotal","amount_tax","amount_total","currency","description","id","metadata","object","price","quantity"],"type":"object","properties":{"adjustable_quantity":{"nullable":true,"anyOf":[{"$ref":"#/components/schemas/line_items_adjustable_quantity"}]},"amount_discount":{"type":"integer","description":"Total discount amount applied. If no discounts were applied, defaults to 0."},"amount_subtotal":{"type":"integer","description":"Total before any discounts or taxes are applied."},"amount_tax":{"type":"integer","description":"Total tax amount applied. If no tax was applied, defaults to 0."},"amount_total":{"type":"integer","description":"Total after discounts and taxes."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.","nullable":true},"discounts":{"type":"array","description":"The discounts applied to the line item.","items":{"$ref":"#/components/schemas/line_items_discount_amount"}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["item"]},"price":{"description":"The price used to generate the line item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/price"}]},"quantity":{"type":"integer","description":"The quantity of products being purchased.","nullable":true},"taxes":{"type":"array","description":"The taxes applied to the line item.","items":{"$ref":"#/components/schemas/line_items_tax_amount"}}},"description":"A line item.","x-expandableFields":["adjustable_quantity","discounts","price","taxes"],"x-resourceId":"item","x-stripeMostCommon":["adjustable_quantity","amount_discount","amount_subtotal","amount_tax","amount_total","currency","description","discounts","id","metadata","object","price","quantity","taxes"],"x-stripeResource":{"class_name":"LineItem","has_collection_class":true,"in_package":""}},"klarna_address":{"title":"klarna_address","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"The payer address country","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country"]},"klarna_payer_details":{"title":"klarna_payer_details","required":["address"],"type":"object","properties":{"address":{"description":"The payer's address","nullable":true,"anyOf":[{"$ref":"#/components/schemas/klarna_address"}]}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address"]},"legal_entity_company":{"title":"LegalEntityCompany","type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"address_kana":{"description":"The Kana variation of the company's primary address (Japan only).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_japan_address"}]},"address_kanji":{"description":"The Kanji variation of the company's primary address (Japan only).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_japan_address"}]},"directors_provided":{"type":"boolean","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://docs.stripe.com/api/accounts/update#update_account-company-directors_provided)."},"directorship_declaration":{"description":"This hash is used to attest that the director information provided to Stripe is both current and correct.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_directorship_declaration"}]},"executives_provided":{"type":"boolean","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://docs.stripe.com/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided."},"export_license_id":{"maxLength":5000,"type":"string","description":"The export license ID number of the company, also referred as Import Export Code (India only)."},"export_purpose_code":{"maxLength":5000,"type":"string","description":"The purpose code to use for export transactions (India only)."},"name":{"maxLength":5000,"type":"string","description":"The company's legal name. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the company's legal name (Japan only). Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the company's legal name (Japan only). Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"owners_provided":{"type":"boolean","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://docs.stripe.com/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)."},"ownership_declaration":{"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_ubo_declaration"}]},"ownership_exemption_reason":{"type":"string","description":"This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.","enum":["qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"]},"phone":{"maxLength":5000,"type":"string","description":"The company's phone number (used for verification).","nullable":true},"registration_date":{"$ref":"#/components/schemas/legal_entity_registration_date"},"representative_declaration":{"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_representative_declaration"}]},"structure":{"type":"string","description":"The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://docs.stripe.com/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"],"x-stripeBypassValidation":true},"tax_id_provided":{"type":"boolean","description":"Whether the company's business ID number was provided."},"tax_id_registrar":{"maxLength":5000,"type":"string","description":"The jurisdiction in which the `tax_id` is registered (Germany-based companies only)."},"vat_id_provided":{"type":"boolean","description":"Whether the company's business VAT number was provided."},"verification":{"description":"Information on the verification state of the company.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_company_verification"}]}},"description":"","x-expandableFields":["address","address_kana","address_kanji","directorship_declaration","ownership_declaration","registration_date","representative_declaration","verification"],"x-stripeMostCommon":["address","address_kana","address_kanji","directors_provided","directorship_declaration","executives_provided","export_license_id","export_purpose_code","name","name_kana","name_kanji","owners_provided","ownership_declaration","ownership_exemption_reason","phone","registration_date","structure","tax_id_provided","tax_id_registrar","vat_id_provided","verification"]},"legal_entity_company_verification":{"title":"LegalEntityCompanyVerification","required":["document"],"type":"object","properties":{"document":{"$ref":"#/components/schemas/legal_entity_company_verification_document"}},"description":"","x-expandableFields":["document"],"x-stripeMostCommon":["document"]},"legal_entity_company_verification_document":{"title":"LegalEntityCompanyVerificationDocument","required":["back","details","details_code","front"],"type":"object","properties":{"back":{"description":"The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"details":{"maxLength":5000,"type":"string","description":"A user-displayable string describing the verification state of this document.","nullable":true},"details_code":{"maxLength":5000,"type":"string","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.","nullable":true},"front":{"description":"The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](/file-upload#uploading-a-file).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}}},"description":"","x-expandableFields":["back","front"],"x-stripeMostCommon":["back","details","details_code","front"]},"legal_entity_directorship_declaration":{"title":"LegalEntityDirectorshipDeclaration","required":["date","ip","user_agent"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the directorship declaration attestation was made.","format":"unix-time","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the directorship declaration attestation was made.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user-agent string from the browser where the directorship declaration attestation was made.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","user_agent"]},"legal_entity_dob":{"title":"LegalEntityDOB","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31.","nullable":true},"month":{"type":"integer","description":"The month of birth, between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year of birth.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"legal_entity_japan_address":{"title":"LegalEntityJapanAddress","required":["city","country","line1","line2","postal_code","state","town"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City/Ward.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Block/Building number.","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Building details.","nullable":true},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"maxLength":5000,"type":"string","description":"Prefecture.","nullable":true},"town":{"maxLength":5000,"type":"string","description":"Town/cho-me.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state","town"]},"legal_entity_person_verification":{"title":"LegalEntityPersonVerification","required":["status"],"type":"object","properties":{"additional_document":{"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_person_verification_document"}]},"details":{"maxLength":5000,"type":"string","description":"A user-displayable string describing the verification state for the person. For example, this may say \"Provided identity information could not be verified\".","nullable":true},"details_code":{"maxLength":5000,"type":"string","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.","nullable":true},"document":{"$ref":"#/components/schemas/legal_entity_person_verification_document"},"status":{"maxLength":5000,"type":"string","description":"The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. Please refer [guide](https://docs.stripe.com/connect/handling-api-verification) to handle verification updates."}},"description":"","x-expandableFields":["additional_document","document"],"x-stripeMostCommon":["additional_document","details","details_code","document","status"]},"legal_entity_person_verification_document":{"title":"LegalEntityPersonVerificationDocument","required":["back","details","details_code","front"],"type":"object","properties":{"back":{"description":"The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}},"details":{"maxLength":5000,"type":"string","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\".","nullable":true},"details_code":{"maxLength":5000,"type":"string","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.","nullable":true},"front":{"description":"The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}}},"description":"","x-expandableFields":["back","front"],"x-stripeMostCommon":["back","details","details_code","front"]},"legal_entity_registration_date":{"title":"LegalEntityRegistrationDate","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31.","nullable":true},"month":{"type":"integer","description":"The month of registration, between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year of registration.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"legal_entity_representative_declaration":{"title":"LegalEntityRepresentativeDeclaration","required":["date","ip","user_agent"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the representative declaration attestation was made.","format":"unix-time","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the representative declaration attestation was made.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user-agent string from the browser where the representative declaration attestation was made.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","user_agent"]},"legal_entity_ubo_declaration":{"title":"LegalEntityUBODeclaration","required":["date","ip","user_agent"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the beneficial owner attestation was made.","format":"unix-time","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the beneficial owner attestation was made.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user-agent string from the browser where the beneficial owner attestation was made.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","user_agent"]},"level3":{"title":"Level3","required":["line_items","merchant_reference"],"type":"object","properties":{"customer_reference":{"maxLength":5000,"type":"string"},"line_items":{"type":"array","items":{"$ref":"#/components/schemas/level3_line_items"}},"merchant_reference":{"maxLength":5000,"type":"string"},"shipping_address_zip":{"maxLength":5000,"type":"string"},"shipping_amount":{"type":"integer"},"shipping_from_zip":{"maxLength":5000,"type":"string"}},"description":"","x-expandableFields":["line_items"],"x-stripeMostCommon":["customer_reference","line_items","merchant_reference","shipping_address_zip","shipping_amount","shipping_from_zip"]},"level3_line_items":{"title":"Level3LineItems","required":["discount_amount","product_code","product_description","quantity","tax_amount","unit_cost"],"type":"object","properties":{"discount_amount":{"type":"integer","nullable":true},"product_code":{"maxLength":5000,"type":"string"},"product_description":{"maxLength":5000,"type":"string"},"quantity":{"type":"integer","nullable":true},"tax_amount":{"type":"integer","nullable":true},"unit_cost":{"type":"integer","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["discount_amount","product_code","product_description","quantity","tax_amount","unit_cost"]},"line_item":{"title":"InvoiceLineItem","required":["amount","currency","description","discount_amounts","discountable","discounts","id","invoice","livemode","metadata","object","parent","period","pretax_credit_amounts","pricing","quantity","quantity_decimal","subscription","subtotal","taxes"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount, in cents (or local equivalent)."},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"discount_amounts":{"type":"array","description":"The amount of discount calculated per discount for this line item.","nullable":true,"items":{"$ref":"#/components/schemas/discounts_resource_discount_amount"}},"discountable":{"type":"boolean","description":"If true, discounts will apply to this line item. Always false for prorations."},"discounts":{"type":"array","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"}]}}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice":{"maxLength":5000,"type":"string","description":"The ID of the invoice that contains this line item.","nullable":true},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["line_item"]},"parent":{"description":"The parent that generated this line item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_lines_parents_invoice_line_item_parent"}]},"period":{"$ref":"#/components/schemas/invoice_line_item_period"},"pretax_credit_amounts":{"type":"array","description":"Contains pretax credit amounts (ex: discount, credit grants, etc) that apply to this line item.","nullable":true,"items":{"$ref":"#/components/schemas/invoices_resource_pretax_credit_amount"}},"pricing":{"description":"The pricing information of the line item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/billing_bill_resource_invoicing_pricing_pricing"}]},"quantity":{"type":"integer","description":"Quantity of units for the invoice line item in integer format, with any decimal precision truncated. For the line item's full-precision decimal quantity, use `quantity_decimal`. This field will be deprecated in favor of `quantity_decimal` in a future version. If the line item is a proration or subscription, the quantity of the subscription that the proration was computed for.","nullable":true},"quantity_decimal":{"type":"string","description":"Non-negative decimal with at most 12 decimal places. The quantity of units for the line item.","format":"decimal","nullable":true},"subscription":{"nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription"}]}},"subtotal":{"type":"integer","description":"The subtotal of the line item, in cents (or local equivalent), before any discounts or taxes."},"taxes":{"type":"array","description":"The tax information of the line item.","nullable":true,"items":{"$ref":"#/components/schemas/billing_bill_resource_invoicing_taxes_tax"}}},"description":"Invoice Line Items represent the individual lines within an [invoice](https://docs.stripe.com/api/invoices) and only exist within the context of an invoice.\n\nEach line item is backed by either an [invoice item](https://docs.stripe.com/api/invoiceitems) or a [subscription item](https://docs.stripe.com/api/subscription_items).","x-expandableFields":["discount_amounts","discounts","parent","period","pretax_credit_amounts","pricing","subscription","taxes"],"x-resourceId":"line_item","x-stripeMostCommon":["amount","currency","description","id","invoice","metadata","parent","period","pricing","quantity_decimal"],"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_adjustable_quantity":{"title":"LineItemsAdjustableQuantity","required":["enabled","maximum","minimum"],"type":"object","properties":{"enabled":{"type":"boolean"},"maximum":{"type":"integer","nullable":true},"minimum":{"type":"integer","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","maximum","minimum"]},"line_items_discount_amount":{"title":"LineItemsDiscountAmount","required":["amount","discount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount discounted."},"discount":{"$ref":"#/components/schemas/discount"}},"description":"","x-expandableFields":["discount"],"x-stripeMostCommon":["amount","discount"]},"line_items_tax_amount":{"title":"LineItemsTaxAmount","required":["amount","rate","taxability_reason","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount of tax applied for this rate."},"rate":{"$ref":"#/components/schemas/tax_rate"},"taxability_reason":{"type":"string","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.","nullable":true,"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"],"x-stripeBypassValidation":true},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in cents (or local equivalent).","nullable":true}},"description":"","x-expandableFields":["rate"],"x-stripeMostCommon":["amount","rate","taxability_reason","taxable_amount"]},"linked_account_options_common":{"title":"linked_account_options_common","required":["prefetch"],"type":"object","properties":{"filters":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_financial_connections_common_linked_account_options_filters"},"permissions":{"type":"array","description":"The list of permissions to request. The `payment_method` permission must be included.","items":{"type":"string","enum":["balances","ownership","payment_method","transactions"]}},"prefetch":{"type":"array","description":"Data features requested to be retrieved upon account creation.","nullable":true,"items":{"type":"string","enum":["balances","ownership","transactions"],"x-stripeBypassValidation":true}},"return_url":{"maxLength":5000,"type":"string","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."}},"description":"","x-expandableFields":["filters"],"x-stripeMostCommon":["filters","permissions","prefetch","return_url"]},"login_link":{"title":"LoginLink","required":["created","object","url"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["login_link"]},"url":{"maxLength":5000,"type":"string","description":"The URL for the login link."}},"description":"Login Links are single-use URLs that takes an Express account to the login page for their Stripe dashboard.\nA Login Link differs from an [Account Link](https://docs.stripe.com/api/account_links) in that it takes the user directly to their [Express dashboard for the specified account](https://docs.stripe.com/connect/integrate-express-dashboard#create-login-link)","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":{"title":"Mandate","required":["customer_acceptance","id","livemode","object","payment_method","payment_method_details","status","type"],"type":"object","properties":{"customer_acceptance":{"$ref":"#/components/schemas/customer_acceptance"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"multi_use":{"$ref":"#/components/schemas/mandate_multi_use"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["mandate"]},"on_behalf_of":{"maxLength":5000,"type":"string","description":"The account (if any) that the mandate is intended for."},"payment_method":{"description":"ID of the payment method associated with this mandate.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"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":{"type":"string","description":"The mandate status indicates whether or not you can use it to initiate a payment.","enum":["active","inactive","pending"]},"type":{"type":"string","description":"The type of the mandate.","enum":["multi_use","single_use"]}},"description":"A Mandate is a record of the permission that your customer gives you to debit their payment method.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/mandate"}},"description":"Occurs whenever a Mandate is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"mandate.updated"}},"mandate_acss_debit":{"title":"mandate_acss_debit","required":["interval_description","payment_schedule","transaction_type"],"type":"object","properties":{"default_for":{"type":"array","description":"List of Stripe products where this mandate can be selected automatically.","items":{"type":"string","enum":["invoice","subscription"]}},"interval_description":{"maxLength":5000,"type":"string","description":"Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.","nullable":true},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","enum":["business","personal"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["default_for","interval_description","payment_schedule","transaction_type"],"x-stripeResource":{"class_name":"AcssDebit","in_package":""}},"mandate_amazon_pay":{"title":"mandate_amazon_pay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"AmazonPay","in_package":""}},"mandate_au_becs_debit":{"title":"mandate_au_becs_debit","required":["url"],"type":"object","properties":{"url":{"maxLength":5000,"type":"string","description":"The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["url"]},"mandate_bacs_debit":{"title":"mandate_bacs_debit","required":["display_name","network_status","reference","revocation_reason","service_user_number","url"],"type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","description":"The display name for the account on this mandate.","nullable":true},"network_status":{"type":"string","description":"The status of the mandate on the Bacs network. Can be one of `pending`, `revoked`, `refused`, or `accepted`.","enum":["accepted","pending","refused","revoked"]},"reference":{"maxLength":5000,"type":"string","description":"The unique reference identifying the mandate on the Bacs network."},"revocation_reason":{"type":"string","description":"When the mandate is revoked on the Bacs network this field displays the reason for the revocation.","nullable":true,"enum":["account_closed","bank_account_restricted","bank_ownership_changed","could_not_process","debit_not_authorized"]},"service_user_number":{"maxLength":5000,"type":"string","description":"The service user number for the account on this mandate.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"The URL that will contain the mandate that the customer has signed."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["display_name","network_status","reference","revocation_reason","service_user_number","url"]},"mandate_cashapp":{"title":"mandate_cashapp","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Cashapp","in_package":""}},"mandate_kakao_pay":{"title":"mandate_kakao_pay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"KakaoPay","in_package":""}},"mandate_klarna":{"title":"mandate_klarna","type":"object","properties":{},"description":"","x-expandableFields":[]},"mandate_kr_card":{"title":"mandate_kr_card","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"KrCard","in_package":""}},"mandate_link":{"title":"mandate_link","type":"object","properties":{},"description":"","x-expandableFields":[]},"mandate_multi_use":{"title":"mandate_multi_use","type":"object","properties":{},"description":"","x-expandableFields":[]},"mandate_naver_pay":{"title":"mandate_naver_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"mandate_nz_bank_account":{"title":"mandate_nz_bank_account","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"NzBankAccount","in_package":""}},"mandate_options_payto":{"title":"mandate_options_payto","required":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","nullable":true},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","nullable":true,"enum":["fixed","maximum"]},"end_date":{"maxLength":5000,"type":"string","description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","nullable":true},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","nullable":true,"enum":["adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"type":"integer","description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","nullable":true},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","nullable":true,"enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]},"start_date":{"maxLength":5000,"type":"string","description":"Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"],"x-stripeResource":{"class_name":"Payto","in_package":""}},"mandate_options_upi":{"title":"mandate_options_upi","required":["amount","amount_type","description","end_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments.","nullable":true},"amount_type":{"type":"string","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.","nullable":true,"enum":["fixed","maximum"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer.","nullable":true},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","description","end_date"],"x-stripeResource":{"class_name":"UPI","in_package":""}},"mandate_payment_method_details":{"title":"mandate_payment_method_details","required":["type"],"type":"object","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"},"klarna":{"$ref":"#/components/schemas/mandate_klarna"},"kr_card":{"$ref":"#/components/schemas/mandate_kr_card"},"link":{"$ref":"#/components/schemas/mandate_link"},"naver_pay":{"$ref":"#/components/schemas/mandate_naver_pay"},"nz_bank_account":{"$ref":"#/components/schemas/mandate_nz_bank_account"},"paypal":{"$ref":"#/components/schemas/mandate_paypal"},"payto":{"$ref":"#/components/schemas/mandate_payto"},"revolut_pay":{"$ref":"#/components/schemas/mandate_revolut_pay"},"sepa_debit":{"$ref":"#/components/schemas/mandate_sepa_debit"},"type":{"maxLength":5000,"type":"string","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."},"upi":{"$ref":"#/components/schemas/mandate_upi"},"us_bank_account":{"$ref":"#/components/schemas/mandate_us_bank_account"}},"description":"","x-expandableFields":["acss_debit","amazon_pay","au_becs_debit","bacs_debit","card","cashapp","kakao_pay","klarna","kr_card","link","naver_pay","nz_bank_account","paypal","payto","revolut_pay","sepa_debit","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","amazon_pay","au_becs_debit","bacs_debit","card","cashapp","kakao_pay","klarna","kr_card","link","naver_pay","nz_bank_account","paypal","payto","revolut_pay","sepa_debit","type","upi","us_bank_account"]},"mandate_paypal":{"title":"mandate_paypal","required":["billing_agreement_id","payer_id"],"type":"object","properties":{"billing_agreement_id":{"maxLength":5000,"type":"string","description":"The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.","nullable":true},"payer_id":{"maxLength":5000,"type":"string","description":"PayPal account PayerID. This identifier uniquely identifies the PayPal customer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["billing_agreement_id","payer_id"]},"mandate_payto":{"title":"mandate_payto","required":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","nullable":true},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","enum":["fixed","maximum"]},"end_date":{"maxLength":5000,"type":"string","description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","nullable":true},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","enum":["adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"type":"integer","description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","nullable":true},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","nullable":true,"enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]},"start_date":{"maxLength":5000,"type":"string","description":"Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"],"x-stripeResource":{"class_name":"Payto","in_package":""}},"mandate_revolut_pay":{"title":"mandate_revolut_pay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"RevolutPay","in_package":""}},"mandate_sepa_debit":{"title":"mandate_sepa_debit","required":["reference","url"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The unique reference of the mandate."},"url":{"maxLength":5000,"type":"string","description":"The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","url"],"x-stripeResource":{"class_name":"SepaDebit","in_package":""}},"mandate_single_use":{"title":"mandate_single_use","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the payment on a single use mandate."},"currency":{"type":"string","description":"The currency of the payment on a single use mandate.","format":"currency"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency"]},"mandate_upi":{"title":"mandate_upi","required":["amount","amount_type","description","end_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments.","nullable":true},"amount_type":{"type":"string","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.","nullable":true,"enum":["fixed","maximum"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer.","nullable":true},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","description","end_date"],"x-stripeResource":{"class_name":"UPI","in_package":""}},"mandate_us_bank_account":{"title":"mandate_us_bank_account","type":"object","properties":{"collection_method":{"type":"string","description":"Mandate collection method","enum":["paper"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["collection_method"],"x-stripeResource":{"class_name":"UsBankAccount","in_package":""}},"networks":{"title":"networks","required":["available","preferred"],"type":"object","properties":{"available":{"type":"array","description":"All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).","items":{"maxLength":5000,"type":"string"}},"preferred":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["available","preferred"]},"notification_event_data":{"title":"NotificationEventData","required":["object"],"type":"object","properties":{"object":{"type":"object","description":"Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://api.stripe.com#invoice_object) as the value of the object key."},"previous_attributes":{"type":"object","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."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["object","previous_attributes"],"x-stripeResource":{"class_name":"EventData","in_package":""}},"notification_event_request":{"title":"NotificationEventRequest","required":["id","idempotency_key"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","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.","nullable":true},"idempotency_key":{"maxLength":5000,"type":"string","description":"The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","idempotency_key"]},"offline_acceptance":{"title":"offline_acceptance","type":"object","properties":{},"description":"","x-expandableFields":[]},"online_acceptance":{"title":"online_acceptance","required":["ip_address","user_agent"],"type":"object","properties":{"ip_address":{"maxLength":5000,"type":"string","description":"The customer accepts the mandate from this IP address.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The customer accepts the mandate using the user agent of the browser.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["ip_address","user_agent"]},"outbound_payments_payment_method_details":{"title":"OutboundPaymentsPaymentMethodDetails","required":["billing_details","type"],"type":"object","properties":{"billing_details":{"$ref":"#/components/schemas/treasury_shared_resource_billing_details"},"financial_account":{"$ref":"#/components/schemas/outbound_payments_payment_method_details_financial_account"},"type":{"type":"string","description":"The type of the payment method used in the OutboundPayment.","enum":["financial_account","us_bank_account"],"x-stripeBypassValidation":true},"us_bank_account":{"$ref":"#/components/schemas/outbound_payments_payment_method_details_us_bank_account"}},"description":"","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":{"title":"outbound_payments_payment_method_details_financial_account","required":["id","network"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Token of the FinancialAccount."},"network":{"type":"string","description":"The rails used to send funds.","enum":["stripe"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","network"],"x-stripeResource":{"class_name":"FinancialAccount","in_package":""}},"outbound_payments_payment_method_details_us_bank_account":{"title":"outbound_payments_payment_method_details_us_bank_account","required":["account_holder_type","account_type","bank_name","fingerprint","last4","network","routing_number"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","nullable":true,"enum":["company","individual"]},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","nullable":true,"enum":["checking","savings"]},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"description":"ID of the mandate used to make this payment.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"network":{"type":"string","description":"The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.","enum":["ach","us_domestic_wire"]},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account.","nullable":true}},"description":"","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":{"title":"OutboundTransfersPaymentMethodDetails","required":["billing_details","type"],"type":"object","properties":{"billing_details":{"$ref":"#/components/schemas/treasury_shared_resource_billing_details"},"financial_account":{"$ref":"#/components/schemas/outbound_transfers_payment_method_details_financial_account"},"type":{"type":"string","description":"The type of the payment method used in the OutboundTransfer.","enum":["financial_account","us_bank_account"]},"us_bank_account":{"$ref":"#/components/schemas/outbound_transfers_payment_method_details_us_bank_account"}},"description":"","x-expandableFields":["billing_details","financial_account","us_bank_account"],"x-stripeMostCommon":["billing_details","financial_account","type","us_bank_account"],"x-stripeResource":{"class_name":"DestinationPaymentMethodDetails","in_package":""}},"outbound_transfers_payment_method_details_financial_account":{"title":"outbound_transfers_payment_method_details_financial_account","required":["id","network"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Token of the FinancialAccount."},"network":{"type":"string","description":"The rails used to send funds.","enum":["stripe"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","network"],"x-stripeResource":{"class_name":"FinancialAccount","in_package":""}},"outbound_transfers_payment_method_details_us_bank_account":{"title":"outbound_transfers_payment_method_details_us_bank_account","required":["account_holder_type","account_type","bank_name","fingerprint","last4","network","routing_number"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","nullable":true,"enum":["company","individual"]},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","nullable":true,"enum":["checking","savings"]},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"description":"ID of the mandate used to make this payment.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"network":{"type":"string","description":"The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.","enum":["ach","us_domestic_wire"]},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account.","nullable":true}},"description":"","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":{"title":"PackageDimensions","required":["height","length","weight","width"],"type":"object","properties":{"height":{"type":"number","description":"Height, in inches."},"length":{"type":"number","description":"Length, in inches."},"weight":{"type":"number","description":"Weight, in ounces."},"width":{"type":"number","description":"Width, in inches."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["height","length","weight","width"]},"payment_attempt_record":{"title":"PaymentAttemptRecord","required":["amount","amount_authorized","amount_canceled","amount_failed","amount_guaranteed","amount_refunded","amount_requested","application","created","customer_details","customer_presence","description","id","livemode","metadata","object","payment_method_details","payment_record","processor_details","reported_by","shipping_details"],"type":"object","properties":{"amount":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_authorized":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_canceled":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_failed":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_guaranteed":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_refunded":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_requested":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"application":{"maxLength":5000,"type":"string","description":"ID of the Connect application that created the PaymentAttemptRecord.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_details":{"description":"Customer information for this payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_customer_details"}]},"customer_presence":{"type":"string","description":"Indicates whether the customer was present in your checkout flow during this payment.","nullable":true,"enum":["off_session","on_session"]},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_attempt_record"]},"payment_method_details":{"description":"Information about the Payment Method debited for this payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_details"}]},"payment_record":{"maxLength":5000,"type":"string","description":"ID of the Payment Record this Payment Attempt Record belongs to.","nullable":true},"processor_details":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_processor_details"},"reported_by":{"type":"string","description":"Indicates who reported the payment.","enum":["self","stripe"]},"shipping_details":{"description":"Shipping information for this payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_shipping_details"}]}},"description":"A Payment Attempt Record represents an individual attempt at making a payment, on or off Stripe.\nEach payment attempt tries to collect a fixed amount of money from a fixed customer and payment\nmethod. Payment Attempt Records are attached to Payment Records. Only one attempt per Payment Record\ncan have guaranteed funds.","x-expandableFields":["amount","amount_authorized","amount_canceled","amount_failed","amount_guaranteed","amount_refunded","amount_requested","customer_details","payment_method_details","processor_details","shipping_details"],"x-resourceId":"payment_attempt_record","x-stripeMostCommon":["amount","amount_authorized","amount_canceled","amount_failed","amount_guaranteed","amount_refunded","amount_requested","customer_details","description","id","metadata","payment_method_details","processor_details","shipping_details"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/payment_attempt_records"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/payment_attempt_records/{id}"}],"x-stripeResource":{"class_name":"PaymentAttemptRecord","has_collection_class":true,"in_package":""}},"payment_flows_amount_details":{"title":"PaymentFlowsAmountDetails","type":"object","properties":{"discount_amount":{"type":"integer","description":"The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field."},"error":{"$ref":"#/components/schemas/payment_flows_amount_details_resource_error"},"line_items":{"title":"PaymentFlowsAmountDetailsResourceLineItemsList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/payment_intent_amount_details_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"shipping":{"$ref":"#/components/schemas/payment_flows_amount_details_resource_shipping"},"tax":{"$ref":"#/components/schemas/payment_flows_amount_details_resource_tax"},"tip":{"$ref":"#/components/schemas/payment_flows_amount_details_client_resource_tip"}},"description":"","x-expandableFields":["error","line_items","shipping","tax","tip"],"x-stripeMostCommon":["discount_amount","error","line_items","shipping","tax","tip"]},"payment_flows_amount_details_client":{"title":"PaymentFlowsAmountDetailsClient","type":"object","properties":{"tip":{"$ref":"#/components/schemas/payment_flows_amount_details_client_resource_tip"}},"description":"","x-expandableFields":["tip"],"x-stripeMostCommon":["tip"]},"payment_flows_amount_details_client_resource_tip":{"title":"PaymentFlowsAmountDetailsClientResourceTip","type":"object","properties":{"amount":{"type":"integer","description":"Portion of the amount that corresponds to a tip."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount"]},"payment_flows_amount_details_resource_error":{"title":"PaymentFlowsAmountDetailsResourceError","required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"The code of the error that occurred when validating the current amount details.","nullable":true,"enum":["amount_details_amount_mismatch","amount_details_tax_shipping_discount_greater_than_amount"]},"message":{"maxLength":5000,"type":"string","description":"A message providing more details about the error.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code","message"]},"payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_payment_method_options":{"title":"PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItemResourcePaymentMethodOptions","type":"object","properties":{"card":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_payment_intent_amount_details_line_item_payment_method_options"},"card_present":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_present_amount_details_line_item_payment_method_options"},"klarna":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_klarna_payment_intent_amount_details_line_item_payment_method_options"},"paypal":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_paypal_amount_details_line_item_payment_method_options"}},"description":"","x-expandableFields":["card","card_present","klarna","paypal"],"x-stripeMostCommon":["card","card_present","klarna","paypal"]},"payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax":{"title":"PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItemResourceTax","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["total_tax_amount"]},"payment_flows_amount_details_resource_shipping":{"title":"PaymentFlowsAmountDetailsResourceShipping","required":["amount","from_postal_code","to_postal_code"],"type":"object","properties":{"amount":{"type":"integer","description":"If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.","nullable":true},"from_postal_code":{"maxLength":5000,"type":"string","description":"If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.","nullable":true},"to_postal_code":{"maxLength":5000,"type":"string","description":"If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","from_postal_code","to_postal_code"]},"payment_flows_amount_details_resource_tax":{"title":"PaymentFlowsAmountDetailsResourceTax","required":["total_tax_amount"],"type":"object","properties":{"total_tax_amount":{"type":"integer","description":"The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["total_tax_amount"]},"payment_flows_automatic_payment_methods_payment_intent":{"title":"PaymentFlowsAutomaticPaymentMethodsPaymentIntent","required":["enabled"],"type":"object","properties":{"allow_redirects":{"type":"string","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://docs.stripe.com/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"]},"enabled":{"type":"boolean","description":"Automatically calculates compatible payment methods"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allow_redirects","enabled"]},"payment_flows_automatic_payment_methods_setup_intent":{"title":"PaymentFlowsAutomaticPaymentMethodsSetupIntent","required":["enabled"],"type":"object","properties":{"allow_redirects":{"type":"string","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://docs.stripe.com/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"]},"enabled":{"type":"boolean","description":"Automatically calculates compatible payment methods","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allow_redirects","enabled"]},"payment_flows_installment_options":{"title":"PaymentFlowsInstallmentOptions","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean"},"plan":{"$ref":"#/components/schemas/payment_method_details_card_installments_plan"}},"description":"","x-expandableFields":["plan"],"x-stripeMostCommon":["enabled","plan"],"x-stripeResource":{"class_name":"Installments","in_package":""}},"payment_flows_payment_details":{"title":"PaymentFlowsPaymentDetails","required":["customer_reference","order_reference"],"type":"object","properties":{"customer_reference":{"maxLength":5000,"type":"string","description":"A unique value to identify the customer. This field is available only for card payments.\n\nThis field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.","nullable":true},"order_reference":{"maxLength":5000,"type":"string","description":"A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.\n\nFor Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["customer_reference","order_reference"]},"payment_flows_payment_intent_async_workflows":{"title":"PaymentFlowsPaymentIntentAsyncWorkflows","type":"object","properties":{"inputs":{"$ref":"#/components/schemas/payment_flows_payment_intent_async_workflows_resource_inputs"}},"description":"","x-expandableFields":["inputs"],"x-stripeMostCommon":["inputs"]},"payment_flows_payment_intent_async_workflows_resource_inputs":{"title":"PaymentFlowsPaymentIntentAsyncWorkflowsResourceInputs","type":"object","properties":{"tax":{"$ref":"#/components/schemas/payment_flows_payment_intent_async_workflows_resource_inputs_resource_tax"}},"description":"","x-expandableFields":["tax"],"x-stripeMostCommon":["tax"]},"payment_flows_payment_intent_async_workflows_resource_inputs_resource_tax":{"title":"PaymentFlowsPaymentIntentAsyncWorkflowsResourceInputsResourceTax","required":["calculation"],"type":"object","properties":{"calculation":{"maxLength":5000,"type":"string","description":"The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["calculation"]},"payment_flows_payment_intent_presentment_details":{"title":"PaymentFlowsPaymentIntentPresentmentDetails","required":["presentment_amount","presentment_currency"],"type":"object","properties":{"presentment_amount":{"type":"integer","description":"Amount intended to be collected by this payment, denominated in `presentment_currency`."},"presentment_currency":{"maxLength":5000,"type":"string","description":"Currency presented to the customer during payment."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["presentment_amount","presentment_currency"]},"payment_flows_private_payment_methods_alipay":{"title":"PaymentFlowsPrivatePaymentMethodsAlipay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_flows_private_payment_methods_alipay_details":{"title":"PaymentFlowsPrivatePaymentMethodsAlipayDetails","required":["fingerprint","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"Transaction ID of this particular Alipay transaction.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","fingerprint","transaction_id"]},"payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_extended_authorization_extended_authorization":{"title":"PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesExtendedAuthorizationExtendedAuthorization","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Indicates whether or not the capture window is extended beyond the standard authorization.","enum":["disabled","enabled"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_incremental_authorization_incremental_authorization":{"title":"PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorization","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Indicates whether or not the incremental authorization feature is supported.","enum":["available","unavailable"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_overcapture_overcapture":{"title":"PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceEnterpriseFeaturesOvercaptureOvercapture","required":["maximum_amount_capturable","status"],"type":"object","properties":{"maximum_amount_capturable":{"type":"integer","description":"The maximum amount that can be captured."},"status":{"type":"string","description":"Indicates whether or not the authorized amount can be over-captured.","enum":["available","unavailable"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["maximum_amount_capturable","status"]},"payment_flows_private_payment_methods_card_details_api_resource_multicapture":{"title":"PaymentFlowsPrivatePaymentMethodsCardDetailsAPIResourceMulticapture","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Indicates whether or not multiple captures are supported.","enum":["available","unavailable"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"payment_flows_private_payment_methods_card_payment_intent_amount_details_line_item_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsCardPaymentIntentAmountDetailsLineItemPaymentMethodOptions","required":["commodity_code"],"type":"object","properties":{"commodity_code":{"maxLength":5000,"type":"string","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["commodity_code"]},"payment_flows_private_payment_methods_card_present_amount_details_line_item_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsCardPresentAmountDetailsLineItemPaymentMethodOptions","required":["commodity_code"],"type":"object","properties":{"commodity_code":{"maxLength":5000,"type":"string","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["commodity_code"]},"payment_flows_private_payment_methods_card_present_common_wallet":{"title":"PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.","enum":["apple_pay","google_pay","samsung_pay","unknown"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"payment_flows_private_payment_methods_financial_connections_common_linked_account_options_filters":{"title":"PaymentFlowsPrivatePaymentMethodsFinancialConnectionsCommonLinkedAccountOptionsFilters","type":"object","properties":{"account_subcategories":{"type":"array","description":"The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.","items":{"type":"string","enum":["checking","savings"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_subcategories"]},"payment_flows_private_payment_methods_kakao_pay_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsKakaoPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"payment_flows_private_payment_methods_klarna_dob":{"title":"PaymentFlowsPrivatePaymentMethodsKlarnaDOB","required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31.","nullable":true},"month":{"type":"integer","description":"The month of birth, between 1 and 12.","nullable":true},"year":{"type":"integer","description":"The four-digit year of birth.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["day","month","year"]},"payment_flows_private_payment_methods_klarna_payment_intent_amount_details_line_item_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsKlarnaPaymentIntentAmountDetailsLineItemPaymentMethodOptions","required":["image_url","product_url","reference","subscription_reference"],"type":"object","properties":{"image_url":{"maxLength":2048,"type":"string","nullable":true},"product_url":{"maxLength":2048,"type":"string","nullable":true},"reference":{"maxLength":255,"type":"string","nullable":true},"subscription_reference":{"maxLength":2048,"type":"string","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["image_url","product_url","reference","subscription_reference"]},"payment_flows_private_payment_methods_naver_pay_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsNaverPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"payment_flows_private_payment_methods_payco_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsPaycoPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"payment_flows_private_payment_methods_paypal_amount_details_line_item_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsPaypalAmountDetailsLineItemPaymentMethodOptions","type":"object","properties":{"category":{"type":"string","description":"Type of the line item.","enum":["digital_goods","donation","physical_goods"]},"description":{"maxLength":5000,"type":"string","description":"Description of the line item."},"sold_by":{"maxLength":5000,"type":"string","description":"The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["category","description","sold_by"]},"payment_flows_private_payment_methods_samsung_pay_payment_method_options":{"title":"PaymentFlowsPrivatePaymentMethodsSamsungPayPaymentMethodOptions","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"payment_intent":{"title":"PaymentIntent","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","customer_account","description","excluded_payment_method_types","id","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_group"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/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://docs.stripe.com/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)."},"amount_capturable":{"type":"integer","description":"Amount that can be captured from this PaymentIntent."},"amount_details":{"$ref":"#/components/schemas/payment_flows_amount_details"},"amount_received":{"type":"integer","description":"Amount that this PaymentIntent collects."},"application":{"description":"ID of the Connect application that created the PaymentIntent.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"application_fee_amount":{"type":"integer","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 amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).","nullable":true},"automatic_payment_methods":{"description":"Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_flows_automatic_payment_methods_payment_intent"}]},"canceled_at":{"type":"integer","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},"cancellation_reason":{"type":"string","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`, `automatic`, or `expired`).","nullable":true,"enum":["abandoned","automatic","duplicate","expired","failed_invoice","fraudulent","requested_by_customer","void_invoice"]},"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["automatic","automatic_async","manual"]},"client_secret":{"maxLength":5000,"type":"string","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://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.","nullable":true},"confirmation_method":{"type":"string","description":"Describes whether we can confirm this PaymentIntent automatically, or if it requires customer action to confirm the payment.","enum":["automatic","manual"]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"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://api.stripe.com#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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Accounts cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://api.stripe.com#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 Account 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 Account instead.","nullable":true},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"excluded_payment_method_types":{"type":"array","description":"The list of payment method types to exclude from use with this payment.","nullable":true,"items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"hooks":{"$ref":"#/components/schemas/payment_flows_payment_intent_async_workflows"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"last_payment_error":{"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,"anyOf":[{"$ref":"#/components/schemas/api_errors"}]},"latest_charge":{"description":"ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata)."},"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,"anyOf":[{"$ref":"#/components/schemas/payment_intent_next_action"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_intent"]},"on_behalf_of":{"description":"You can specify the settlement merchant as the\nconnected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](/payments/connected-accounts) for details.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"payment_details":{"$ref":"#/components/schemas/payment_flows_payment_details"},"payment_method":{"description":"ID of the payment method used in this PaymentIntent.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"payment_method_configuration_details":{"description":"Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_config_biz_payment_method_configuration_details"}]},"payment_method_options":{"description":"Payment-method-specific configuration for this PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_intent_payment_method_options"}]},"payment_method_types":{"type":"array","description":"The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. A comprehensive list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"maxLength":5000,"type":"string"}},"presentment_details":{"$ref":"#/components/schemas/payment_flows_payment_intent_presentment_details"},"processing":{"description":"If present, this property tells you about the processing state of the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_intent_processing"}]},"receipt_email":{"maxLength":5000,"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).","nullable":true},"review":{"description":"ID of the review associated with this PaymentIntent, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/review"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/review"}]}},"setup_future_usage":{"type":"string","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).","nullable":true,"enum":["off_session","on_session"]},"shipping":{"description":"Shipping information for this PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shipping"}]},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_source"},{"$ref":"#/components/schemas/deleted_payment_source"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_source"},{"$ref":"#/components/schemas/deleted_payment_source"}]}},"statement_descriptor":{"maxLength":5000,"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.","nullable":true},"statement_descriptor_suffix":{"maxLength":5000,"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.","nullable":true},"status":{"type":"string","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://docs.stripe.com/payments/intents#intent-statuses).","enum":["canceled","processing","requires_action","requires_capture","requires_confirmation","requires_payment_method","succeeded"],"x-stripeBypassValidation":true},"transfer_data":{"description":"The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/transfer_data"}]},"transfer_group":{"maxLength":5000,"type":"string","description":"A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).","nullable":true}},"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](/payments/paymentintents/lifecycle)\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://docs.stripe.com/payments/payment-intents)","x-expandableFields":["amount_details","application","automatic_payment_methods","customer","hooks","last_payment_error","latest_charge","next_action","on_behalf_of","payment_details","payment_method","payment_method_configuration_details","payment_method_options","presentment_details","processing","review","shipping","source","transfer_data"],"x-resourceId":"payment_intent","x-stripeMostCommon":["amount","automatic_payment_methods","client_secret","currency","customer","customer_account","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"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)","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.amount_capturable_updated"}},"payment_intent.canceled":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"description":"Occurs when a PaymentIntent is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.canceled"}},"payment_intent.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"description":"Occurs when a new PaymentIntent is created.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.created"}},"payment_intent.partially_funded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"description":"Occurs when funds are applied to a customer_balance PaymentIntent and the 'amount_remaining' changes.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.partially_funded"}},"payment_intent.payment_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"description":"Occurs when a PaymentIntent has failed the attempt to create a payment method or a payment.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.payment_failed"}},"payment_intent.processing":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"description":"Occurs when a PaymentIntent has started processing.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.processing"}},"payment_intent.requires_action":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"description":"Occurs when a PaymentIntent transitions to requires_action state","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.requires_action"}},"payment_intent.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_intent"}},"description":"Occurs when a PaymentIntent has successfully completed payment.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_intent.succeeded"}},"payment_intent_amount_details_line_item":{"title":"PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItem","required":["discount_amount","id","object","payment_method_options","product_code","product_name","quantity","tax","unit_cost","unit_of_measure"],"type":"object","properties":{"discount_amount":{"type":"integer","description":"The discount applied on this line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_intent_amount_details_line_item"]},"payment_method_options":{"description":"Payment method-specific information for line items.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_payment_method_options"}]},"product_code":{"maxLength":5000,"type":"string","description":"The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.","nullable":true},"product_name":{"maxLength":5000,"type":"string","description":"The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For PayPal, this field is truncated to 127 characters."},"quantity":{"type":"integer","description":"The quantity of items. Required for L3 rates. An integer greater than 0."},"tax":{"description":"Contains information about the tax on the item.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax"}]},"unit_cost":{"type":"integer","description":"The unit cost of the line item represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0."},"unit_of_measure":{"maxLength":5000,"type":"string","description":"A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.","nullable":true}},"description":"","x-expandableFields":["payment_method_options","tax"],"x-resourceId":"payment_intent_amount_details_line_item","x-stripeMostCommon":["discount_amount","id","object","payment_method_options","product_code","product_name","quantity","tax","unit_cost","unit_of_measure"],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v1/payment_intents/{intent}/amount_details_line_items","shared_version_of":"payment_intent_amount_details_line_item"}],"x-stripeResource":{"class_name":"PaymentIntentAmountDetailsLineItem","has_collection_class":true,"in_package":""}},"payment_intent_card_processing":{"title":"PaymentIntentCardProcessing","type":"object","properties":{"customer_notification":{"$ref":"#/components/schemas/payment_intent_processing_customer_notification"}},"description":"","x-expandableFields":["customer_notification"],"x-stripeMostCommon":["customer_notification"],"x-stripeResource":{"class_name":"Card","in_package":""}},"payment_intent_next_action":{"title":"PaymentIntentNextAction","required":["type"],"type":"object","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":{"maxLength":5000,"type":"string","description":"Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`."},"upi_handle_redirect_or_display_qr_code":{"$ref":"#/components/schemas/payment_intent_next_action_upi_handle_redirect_or_display_qr_code"},"use_stripe_sdk":{"type":"object","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."},"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"}},"description":"","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","upi_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","upi_handle_redirect_or_display_qr_code","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":{"title":"PaymentIntentNextActionAlipayHandleRedirect","required":["native_data","native_url","return_url","url"],"type":"object","properties":{"native_data":{"maxLength":5000,"type":"string","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.","nullable":true},"native_url":{"maxLength":5000,"type":"string","description":"The native URL you must redirect your customer to in order to authenticate the payment in an iOS App.","nullable":true},"return_url":{"maxLength":5000,"type":"string","description":"If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"The URL you must redirect your customer to in order to authenticate the payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["native_data","native_url","return_url","url"],"x-stripeResource":{"class_name":"NextActionAlipayHandleRedirect","in_package":""}},"payment_intent_next_action_boleto":{"title":"payment_intent_next_action_boleto","required":["expires_at","hosted_voucher_url","number","pdf"],"type":"object","properties":{"expires_at":{"type":"integer","description":"The timestamp after which the boleto expires.","format":"unix-time","nullable":true},"hosted_voucher_url":{"maxLength":5000,"type":"string","description":"The URL to the hosted boleto voucher page, which allows customers to view the boleto voucher.","nullable":true},"number":{"maxLength":5000,"type":"string","description":"The boleto number.","nullable":true},"pdf":{"maxLength":5000,"type":"string","description":"The URL to the downloadable boleto voucher PDF.","nullable":true}},"description":"","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":{"title":"PaymentIntentNextActionCardAwaitNotification","required":["charge_attempt_at","customer_approval_required"],"type":"object","properties":{"charge_attempt_at":{"type":"integer","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},"customer_approval_required":{"type":"boolean","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}},"description":"","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":{"title":"PaymentIntentNextActionCashappHandleRedirectOrDisplayQrCode","required":["hosted_instructions_url","mobile_auth_url","qr_code"],"type":"object","properties":{"hosted_instructions_url":{"maxLength":5000,"type":"string","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."},"mobile_auth_url":{"maxLength":5000,"type":"string","description":"The url for mobile redirect based auth"},"qr_code":{"$ref":"#/components/schemas/payment_intent_next_action_cashapp_qr_code"}},"description":"","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":{"title":"PaymentIntentNextActionCashappQRCode","required":["expires_at","image_url_png","image_url_svg"],"type":"object","properties":{"expires_at":{"type":"integer","description":"The date (unix timestamp) when the QR code expires.","format":"unix-time"},"image_url_png":{"maxLength":5000,"type":"string","description":"The image_url_png string used to render QR code"},"image_url_svg":{"maxLength":5000,"type":"string","description":"The image_url_svg string used to render QR code"}},"description":"","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":{"title":"PaymentIntentNextActionDisplayBankTransferInstructions","required":["amount_remaining","currency","hosted_instructions_url","reference","type"],"type":"object","properties":{"amount_remaining":{"type":"integer","description":"The remaining amount that needs to be transferred to complete the payment.","nullable":true},"currency":{"type":"string","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).","format":"currency","nullable":true},"financial_addresses":{"type":"array","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"}},"hosted_instructions_url":{"maxLength":5000,"type":"string","description":"A link to a hosted page that guides your customer through completing the transfer.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"A string identifying this payment. Instruct your customer to include this code in the reference or memo field of their bank transfer.","nullable":true},"type":{"type":"string","description":"Type of bank transfer","enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeBypassValidation":true}},"description":"","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":{"title":"PaymentIntentNextActionDisplayMultibancoDetails","required":["entity","expires_at","hosted_voucher_url","reference"],"type":"object","properties":{"entity":{"maxLength":5000,"type":"string","description":"Entity number associated with this Multibanco payment.","nullable":true},"expires_at":{"type":"integer","description":"The timestamp at which the Multibanco voucher expires.","format":"unix-time","nullable":true},"hosted_voucher_url":{"maxLength":5000,"type":"string","description":"The URL for the hosted Multibanco voucher page, which allows customers to view a Multibanco voucher.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"Reference number associated with this Multibanco payment.","nullable":true}},"description":"","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":{"title":"PaymentIntentNextActionDisplayOxxoDetails","required":["expires_after","hosted_voucher_url","number"],"type":"object","properties":{"expires_after":{"type":"integer","description":"The timestamp after which the OXXO voucher expires.","format":"unix-time","nullable":true},"hosted_voucher_url":{"maxLength":5000,"type":"string","description":"The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher.","nullable":true},"number":{"maxLength":5000,"type":"string","description":"OXXO reference number.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_after","hosted_voucher_url","number"],"x-stripeResource":{"class_name":"NextActionOxxoDisplayDetails","in_package":""}},"payment_intent_next_action_konbini":{"title":"payment_intent_next_action_konbini","required":["expires_at","hosted_voucher_url","stores"],"type":"object","properties":{"expires_at":{"type":"integer","description":"The timestamp at which the pending Konbini payment expires.","format":"unix-time"},"hosted_voucher_url":{"maxLength":5000,"type":"string","description":"The URL for the Konbini payment instructions page, which allows customers to view and print a Konbini voucher.","nullable":true},"stores":{"$ref":"#/components/schemas/payment_intent_next_action_konbini_stores"}},"description":"","x-expandableFields":["stores"],"x-stripeMostCommon":["expires_at","hosted_voucher_url","stores"],"x-stripeResource":{"class_name":"NextActionKonbiniDisplayDetails","in_package":""}},"payment_intent_next_action_konbini_familymart":{"title":"payment_intent_next_action_konbini_familymart","required":["payment_code"],"type":"object","properties":{"confirmation_number":{"maxLength":5000,"type":"string","description":"The confirmation number."},"payment_code":{"maxLength":5000,"type":"string","description":"The payment code."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["confirmation_number","payment_code"],"x-stripeResource":{"class_name":"Familymart","in_package":""}},"payment_intent_next_action_konbini_lawson":{"title":"payment_intent_next_action_konbini_lawson","required":["payment_code"],"type":"object","properties":{"confirmation_number":{"maxLength":5000,"type":"string","description":"The confirmation number."},"payment_code":{"maxLength":5000,"type":"string","description":"The payment code."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["confirmation_number","payment_code"],"x-stripeResource":{"class_name":"Lawson","in_package":""}},"payment_intent_next_action_konbini_ministop":{"title":"payment_intent_next_action_konbini_ministop","required":["payment_code"],"type":"object","properties":{"confirmation_number":{"maxLength":5000,"type":"string","description":"The confirmation number."},"payment_code":{"maxLength":5000,"type":"string","description":"The payment code."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["confirmation_number","payment_code"],"x-stripeResource":{"class_name":"Ministop","in_package":""}},"payment_intent_next_action_konbini_seicomart":{"title":"payment_intent_next_action_konbini_seicomart","required":["payment_code"],"type":"object","properties":{"confirmation_number":{"maxLength":5000,"type":"string","description":"The confirmation number."},"payment_code":{"maxLength":5000,"type":"string","description":"The payment code."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["confirmation_number","payment_code"],"x-stripeResource":{"class_name":"Seicomart","in_package":""}},"payment_intent_next_action_konbini_stores":{"title":"payment_intent_next_action_konbini_stores","required":["familymart","lawson","ministop","seicomart"],"type":"object","properties":{"familymart":{"description":"FamilyMart instruction details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_intent_next_action_konbini_familymart"}]},"lawson":{"description":"Lawson instruction details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_intent_next_action_konbini_lawson"}]},"ministop":{"description":"Ministop instruction details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_intent_next_action_konbini_ministop"}]},"seicomart":{"description":"Seicomart instruction details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_intent_next_action_konbini_seicomart"}]}},"description":"","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":{"title":"PaymentIntentNextActionPaynowDisplayQrCode","required":["data","hosted_instructions_url","image_url_png","image_url_svg"],"type":"object","properties":{"data":{"maxLength":5000,"type":"string","description":"The raw data string used to generate QR code, it should be used together with QR code library."},"hosted_instructions_url":{"maxLength":5000,"type":"string","description":"The URL to the hosted PayNow instructions page, which allows customers to view the PayNow QR code.","nullable":true},"image_url_png":{"maxLength":5000,"type":"string","description":"The image_url_png string used to render QR code"},"image_url_svg":{"maxLength":5000,"type":"string","description":"The image_url_svg string used to render QR code"}},"description":"","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":{"title":"PaymentIntentNextActionPixDisplayQrCode","type":"object","properties":{"data":{"maxLength":5000,"type":"string","description":"The raw data string used to generate QR code, it should be used together with QR code library."},"expires_at":{"type":"integer","description":"The date (unix timestamp) when the PIX expires."},"hosted_instructions_url":{"maxLength":5000,"type":"string","description":"The URL to the hosted pix instructions page, which allows customers to view the pix QR code."},"image_url_png":{"maxLength":5000,"type":"string","description":"The image_url_png string used to render png QR code"},"image_url_svg":{"maxLength":5000,"type":"string","description":"The image_url_svg string used to render svg QR code"}},"description":"","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":{"title":"PaymentIntentNextActionPromptpayDisplayQrCode","required":["data","hosted_instructions_url","image_url_png","image_url_svg"],"type":"object","properties":{"data":{"maxLength":5000,"type":"string","description":"The raw data string used to generate QR code, it should be used together with QR code library."},"hosted_instructions_url":{"maxLength":5000,"type":"string","description":"The URL to the hosted PromptPay instructions page, which allows customers to view the PromptPay QR code."},"image_url_png":{"maxLength":5000,"type":"string","description":"The PNG path used to render the QR code, can be used as the source in an HTML img tag"},"image_url_svg":{"maxLength":5000,"type":"string","description":"The SVG path used to render the QR code, can be used as the source in an HTML img tag"}},"description":"","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":{"title":"PaymentIntentNextActionRedirectToUrl","required":["return_url","url"],"type":"object","properties":{"return_url":{"maxLength":5000,"type":"string","description":"If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"The URL you must redirect your customer to in order to authenticate the payment.","nullable":true}},"description":"","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":{"title":"PaymentIntentNextActionSwishHandleRedirectOrDisplayQrCode","required":["hosted_instructions_url","mobile_auth_url","qr_code"],"type":"object","properties":{"hosted_instructions_url":{"maxLength":5000,"type":"string","description":"The URL to the hosted Swish instructions page, which allows customers to view the QR code."},"mobile_auth_url":{"maxLength":5000,"type":"string","description":"The url for mobile redirect based auth (for internal use only and not typically available in standard API requests)."},"qr_code":{"$ref":"#/components/schemas/payment_intent_next_action_swish_qr_code"}},"description":"","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":{"title":"PaymentIntentNextActionSwishQRCode","required":["data","image_url_png","image_url_svg"],"type":"object","properties":{"data":{"maxLength":5000,"type":"string","description":"The raw data string used to generate QR code, it should be used together with QR code library."},"image_url_png":{"maxLength":5000,"type":"string","description":"The image_url_png string used to render QR code"},"image_url_svg":{"maxLength":5000,"type":"string","description":"The image_url_svg string used to render QR code"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["data","image_url_png","image_url_svg"],"x-stripeResource":{"class_name":"SwishQrCode","in_package":""}},"payment_intent_next_action_upi_handle_redirect_or_display_qr_code":{"title":"PaymentIntentNextActionUpiHandleRedirectOrDisplayQrCode","required":["hosted_instructions_url","qr_code"],"type":"object","properties":{"hosted_instructions_url":{"maxLength":5000,"type":"string","description":"The URL to the hosted UPI instructions page, which allows customers to view the QR code."},"qr_code":{"$ref":"#/components/schemas/payment_intent_next_action_upiqr_code"}},"description":"","x-expandableFields":["qr_code"],"x-stripeMostCommon":["hosted_instructions_url","qr_code"],"x-stripeResource":{"class_name":"UPIHandleRedirectOrDisplayQrCode","in_package":""}},"payment_intent_next_action_upiqr_code":{"title":"PaymentIntentNextActionUPIQRCode","required":["expires_at","image_url_png","image_url_svg"],"type":"object","properties":{"expires_at":{"type":"integer","description":"The date (unix timestamp) when the QR code expires.","format":"unix-time"},"image_url_png":{"maxLength":5000,"type":"string","description":"The image_url_png string used to render QR code"},"image_url_svg":{"maxLength":5000,"type":"string","description":"The image_url_svg string used to render QR code"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_at","image_url_png","image_url_svg"],"x-stripeResource":{"class_name":"UPIQRCode","in_package":""}},"payment_intent_next_action_verify_with_microdeposits":{"title":"PaymentIntentNextActionVerifyWithMicrodeposits","required":["arrival_date","hosted_verification_url","microdeposit_type"],"type":"object","properties":{"arrival_date":{"type":"integer","description":"The timestamp when the microdeposits are expected to land.","format":"unix-time"},"hosted_verification_url":{"maxLength":5000,"type":"string","description":"The URL for the hosted verification page, which allows customers to verify their bank account."},"microdeposit_type":{"type":"string","description":"The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.","nullable":true,"enum":["amounts","descriptor_code"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["arrival_date","hosted_verification_url","microdeposit_type"]},"payment_intent_next_action_wechat_pay_display_qr_code":{"title":"PaymentIntentNextActionWechatPayDisplayQrCode","required":["data","hosted_instructions_url","image_data_url","image_url_png","image_url_svg"],"type":"object","properties":{"data":{"maxLength":5000,"type":"string","description":"The data being used to generate QR code"},"hosted_instructions_url":{"maxLength":5000,"type":"string","description":"The URL to the hosted WeChat Pay instructions page, which allows customers to view the WeChat Pay QR code."},"image_data_url":{"maxLength":5000,"type":"string","description":"The base64 image data for a pre-generated QR code"},"image_url_png":{"maxLength":5000,"type":"string","description":"The image_url_png string used to render QR code"},"image_url_svg":{"maxLength":5000,"type":"string","description":"The image_url_svg string used to render QR code"}},"description":"","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":{"title":"PaymentIntentNextActionWechatPayRedirectToAndroidApp","required":["app_id","nonce_str","package","partner_id","prepay_id","sign","timestamp"],"type":"object","properties":{"app_id":{"maxLength":5000,"type":"string","description":"app_id is the APP ID registered on WeChat open platform"},"nonce_str":{"maxLength":5000,"type":"string","description":"nonce_str is a random string"},"package":{"maxLength":5000,"type":"string","description":"package is static value"},"partner_id":{"maxLength":5000,"type":"string","description":"an unique merchant ID assigned by WeChat Pay"},"prepay_id":{"maxLength":5000,"type":"string","description":"an unique trading ID assigned by WeChat Pay"},"sign":{"maxLength":5000,"type":"string","description":"A signature"},"timestamp":{"maxLength":5000,"type":"string","description":"Specifies the current time in epoch format"}},"description":"","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":{"title":"PaymentIntentNextActionWechatPayRedirectToIOSApp","required":["native_url"],"type":"object","properties":{"native_url":{"maxLength":5000,"type":"string","description":"An universal link that redirect to WeChat Pay app"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["native_url"],"x-stripeResource":{"class_name":"WechatPayRedirectToIosApp","in_package":""}},"payment_intent_payment_method_options":{"title":"PaymentIntentPaymentMethodOptions","type":"object","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"},"billie":{"$ref":"#/components/schemas/payment_method_options_billie"},"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"},"crypto":{"$ref":"#/components/schemas/payment_method_options_crypto"},"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"},"mb_way":{"$ref":"#/components/schemas/payment_method_options_mb_way"},"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"},"nz_bank_account":{"$ref":"#/components/schemas/payment_intent_payment_method_options_nz_bank_account"},"oxxo":{"$ref":"#/components/schemas/payment_method_options_oxxo"},"p24":{"$ref":"#/components/schemas/payment_method_options_p24"},"pay_by_bank":{"$ref":"#/components/schemas/payment_method_options_pay_by_bank"},"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"},"payto":{"$ref":"#/components/schemas/payment_intent_payment_method_options_payto"},"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"},"satispay":{"$ref":"#/components/schemas/payment_method_options_satispay"},"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"},"upi":{"$ref":"#/components/schemas/payment_method_options_upi"},"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"}},"description":"","x-expandableFields":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeMostCommon":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"]},"payment_intent_payment_method_options_acss_debit":{"title":"payment_intent_payment_method_options_acss_debit","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/payment_intent_payment_method_options_mandate_options_acss_debit"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date","verification_method"]},"payment_intent_payment_method_options_au_becs_debit":{"title":"payment_intent_payment_method_options_au_becs_debit","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage","target_date"]},"payment_intent_payment_method_options_bacs_debit":{"title":"payment_intent_payment_method_options_bacs_debit","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/payment_intent_payment_method_options_mandate_options_bacs_debit"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},"payment_intent_payment_method_options_blik":{"title":"payment_intent_payment_method_options_blik","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_intent_payment_method_options_card":{"title":"payment_intent_payment_method_options_card","required":["installments","mandate_options","network","request_three_d_secure"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"],"x-stripeBypassValidation":true},"installments":{"description":"Installment details for this payment.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_options_card_installments"}]},"mandate_options":{"description":"Configuration options for setting up an eMandate for cards issued in India.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_options_card_mandate_options"}]},"network":{"type":"string","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.","nullable":true,"enum":["amex","cartes_bancaires","diners","discover","eftpos_au","girocard","interac","jcb","link","mastercard","unionpay","unknown","visa"]},"request_extended_authorization":{"type":"string","description":"Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_incremental_authorization":{"type":"string","description":"Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.","enum":["if_available","never"]},"request_multicapture":{"type":"string","description":"Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.","enum":["if_available","never"]},"request_overcapture":{"type":"string","description":"Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.","enum":["if_available","never"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.","nullable":true,"enum":["any","automatic","challenge"],"x-stripeBypassValidation":true},"require_cvc_recollection":{"type":"boolean","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)."},"setup_future_usage":{"type":"string","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"]},"statement_descriptor_suffix_kana":{"maxLength":5000,"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":{"maxLength":5000,"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."}},"description":"","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":{"title":"payment_intent_payment_method_options_eps","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_intent_payment_method_options_link":{"title":"payment_intent_payment_method_options_link","required":["persistent_token"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function.","nullable":true},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","persistent_token","setup_future_usage"]},"payment_intent_payment_method_options_mandate_options_acss_debit":{"title":"payment_intent_payment_method_options_mandate_options_acss_debit","required":["interval_description","payment_schedule","transaction_type"],"type":"object","properties":{"custom_mandate_url":{"maxLength":5000,"type":"string","description":"A URL for custom mandate text"},"interval_description":{"maxLength":5000,"type":"string","description":"Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.","nullable":true},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","nullable":true,"enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","nullable":true,"enum":["business","personal"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom_mandate_url","interval_description","payment_schedule","transaction_type"]},"payment_intent_payment_method_options_mandate_options_bacs_debit":{"title":"payment_intent_payment_method_options_mandate_options_bacs_debit","type":"object","properties":{"reference_prefix":{"maxLength":5000,"type":"string","description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference_prefix"],"x-stripeResource":{"class_name":"BacsDebitMandateOptions","in_package":""}},"payment_intent_payment_method_options_mandate_options_payto":{"title":"payment_intent_payment_method_options_mandate_options_payto","required":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","nullable":true},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","nullable":true,"enum":["fixed","maximum"]},"end_date":{"maxLength":5000,"type":"string","description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","nullable":true},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","nullable":true,"enum":["adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"type":"integer","description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","nullable":true},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","nullable":true,"enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose"]},"payment_intent_payment_method_options_mandate_options_sepa_debit":{"title":"payment_intent_payment_method_options_mandate_options_sepa_debit","type":"object","properties":{"reference_prefix":{"maxLength":5000,"type":"string","description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference_prefix"],"x-stripeResource":{"class_name":"SepaDebitMandateOptions","in_package":""}},"payment_intent_payment_method_options_mobilepay":{"title":"payment_intent_payment_method_options_mobilepay","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"payment_intent_payment_method_options_nz_bank_account":{"title":"payment_intent_payment_method_options_nz_bank_account","type":"object","properties":{"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage","target_date"]},"payment_intent_payment_method_options_payto":{"title":"payment_intent_payment_method_options_payto","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/payment_intent_payment_method_options_mandate_options_payto"},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage"]},"payment_intent_payment_method_options_sepa_debit":{"title":"payment_intent_payment_method_options_sepa_debit","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/payment_intent_payment_method_options_mandate_options_sepa_debit"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","setup_future_usage","target_date"]},"payment_intent_payment_method_options_swish":{"title":"payment_intent_payment_method_options_swish","required":["reference"],"type":"object","properties":{"reference":{"maxLength":35,"type":"string","description":"A reference for this payment to be displayed in the Swish app.","nullable":true},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","setup_future_usage"]},"payment_intent_payment_method_options_us_bank_account":{"title":"payment_intent_payment_method_options_us_bank_account","type":"object","properties":{"financial_connections":{"$ref":"#/components/schemas/linked_account_options_common"},"mandate_options":{"$ref":"#/components/schemas/payment_method_options_us_bank_account_mandate_options"},"setup_future_usage":{"type":"string","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"]},"target_date":{"maxLength":5000,"type":"string","description":"Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now."},"transaction_purpose":{"type":"string","description":"The purpose of the transaction.","enum":["goods","other","services","unspecified"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["financial_connections","mandate_options"],"x-stripeMostCommon":["financial_connections","mandate_options","setup_future_usage","target_date","transaction_purpose","verification_method"]},"payment_intent_processing":{"title":"PaymentIntentProcessing","required":["type"],"type":"object","properties":{"card":{"$ref":"#/components/schemas/payment_intent_card_processing"},"type":{"type":"string","description":"Type of the payment method for which payment is in `processing` state, one of `card`.","enum":["card"]}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card","type"]},"payment_intent_processing_customer_notification":{"title":"PaymentIntentProcessingCustomerNotification","required":["approval_requested","completes_at"],"type":"object","properties":{"approval_requested":{"type":"boolean","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},"completes_at":{"type":"integer","description":"If customer approval is required, they need to provide approval before this time.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["approval_requested","completes_at"],"x-stripeResource":{"class_name":"CustomerNotification","in_package":""}},"payment_intent_type_specific_payment_method_options_client":{"title":"PaymentIntentTypeSpecificPaymentMethodOptionsClient","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual","manual_preferred"]},"installments":{"$ref":"#/components/schemas/payment_flows_installment_options"},"mandate_options":{"$ref":"#/components/schemas/payment_intent_payment_method_options_mandate_options_payto"},"request_incremental_authorization_support":{"type":"boolean","description":"Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support."},"require_cvc_recollection":{"type":"boolean","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)."},"routing":{"$ref":"#/components/schemas/payment_method_options_card_present_routing"},"setup_future_usage":{"type":"string","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"]},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["installments","mandate_options","routing"],"x-stripeMostCommon":["capture_method","installments","mandate_options","request_incremental_authorization_support","require_cvc_recollection","routing","setup_future_usage","verification_method"]},"payment_link":{"title":"PaymentLink","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"],"type":"object","properties":{"active":{"type":"boolean","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."},"after_completion":{"$ref":"#/components/schemas/payment_links_resource_after_completion"},"allow_promotion_codes":{"type":"boolean","description":"Whether user redeemable promotion codes are enabled."},"application":{"description":"The ID of the Connect application that created the Payment Link.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}]}},"application_fee_amount":{"type":"integer","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},"application_fee_percent":{"type":"number","description":"This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account.","nullable":true},"automatic_tax":{"$ref":"#/components/schemas/payment_links_resource_automatic_tax"},"billing_address_collection":{"type":"string","description":"Configuration for collecting the customer's billing address. Defaults to `auto`.","enum":["auto","required"]},"consent_collection":{"description":"When set, provides configuration to gather active consent from customers.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_consent_collection"}]},"currency":{"type":"string","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).","format":"currency"},"custom_fields":{"type":"array","description":"Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `custom`.","items":{"$ref":"#/components/schemas/payment_links_resource_custom_fields"}},"custom_text":{"$ref":"#/components/schemas/payment_links_resource_custom_text"},"customer_creation":{"type":"string","description":"Configuration for Customer creation during checkout.","enum":["always","if_required"]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"inactive_message":{"maxLength":5000,"type":"string","description":"The custom message to be displayed to a customer when a payment link is no longer active.","nullable":true},"invoice_creation":{"description":"Configuration for creating invoice for payment mode payment links.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_invoice_creation"}]},"line_items":{"title":"PaymentLinksResourceListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"The line items representing what is being sold.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"name_collection":{"$ref":"#/components/schemas/payment_links_resource_name_collection"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_link"]},"on_behalf_of":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"optional_items":{"type":"array","description":"The optional items presented to the customer at checkout.","nullable":true,"items":{"$ref":"#/components/schemas/payment_links_resource_optional_item"}},"payment_intent_data":{"description":"Indicates the parameters to be passed to PaymentIntent creation during checkout.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_payment_intent_data"}]},"payment_method_collection":{"type":"string","description":"Configuration for collecting a payment method during checkout. Defaults to `always`.","enum":["always","if_required"]},"payment_method_types":{"type":"array","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).","nullable":true,"items":{"type":"string","enum":["affirm","afterpay_clearpay","alipay","alma","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","eps","fpx","giropay","grabpay","ideal","klarna","konbini","link","mb_way","mobilepay","multibanco","oxxo","p24","pay_by_bank","paynow","paypal","payto","pix","promptpay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"phone_number_collection":{"$ref":"#/components/schemas/payment_links_resource_phone_number_collection"},"restrictions":{"description":"Settings that restrict the usage of a payment link.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_restrictions"}]},"shipping_address_collection":{"description":"Configuration for collecting the customer's shipping address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_shipping_address_collection"}]},"shipping_options":{"type":"array","description":"The shipping rate options applied to the session.","items":{"$ref":"#/components/schemas/payment_links_resource_shipping_option"}},"submit_type":{"type":"string","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"]},"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,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_subscription_data"}]},"tax_id_collection":{"$ref":"#/components/schemas/payment_links_resource_tax_id_collection"},"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,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_transfer_data"}]},"url":{"maxLength":5000,"type":"string","description":"The public URL that can be shared with customers."}},"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://docs.stripe.com/api/checkout/sessions) to render the payment page. You can use [checkout session events](https://docs.stripe.com/api/events/types#event_types-checkout.session.completed) to track payments through payment links.\n\nRelated guide: [Payment Links API](https://docs.stripe.com/payment-links)","x-expandableFields":["after_completion","application","automatic_tax","consent_collection","custom_fields","custom_text","invoice_creation","line_items","name_collection","on_behalf_of","optional_items","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_link"}},"description":"Occurs when a payment link is created.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_link.created"}},"payment_link.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_link"}},"description":"Occurs when a payment link is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_link.updated"}},"payment_links_resource_after_completion":{"title":"PaymentLinksResourceAfterCompletion","required":["type"],"type":"object","properties":{"hosted_confirmation":{"$ref":"#/components/schemas/payment_links_resource_completion_behavior_confirmation_page"},"redirect":{"$ref":"#/components/schemas/payment_links_resource_completion_behavior_redirect"},"type":{"type":"string","description":"The specified behavior after the purchase is complete.","enum":["hosted_confirmation","redirect"]}},"description":"","x-expandableFields":["hosted_confirmation","redirect"],"x-stripeMostCommon":["hosted_confirmation","redirect","type"]},"payment_links_resource_automatic_tax":{"title":"PaymentLinksResourceAutomaticTax","required":["enabled","liability"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If `true`, tax will be calculated automatically using the customer's location."},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]}},"description":"","x-expandableFields":["liability"],"x-stripeMostCommon":["enabled","liability"]},"payment_links_resource_business_name":{"title":"PaymentLinksResourceBusinessName","required":["enabled","optional"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether business name collection is enabled for the payment link."},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before checking out. Defaults to `false`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","optional"]},"payment_links_resource_completed_sessions":{"title":"PaymentLinksResourceCompletedSessions","required":["count","limit"],"type":"object","properties":{"count":{"type":"integer","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."},"limit":{"type":"integer","description":"The maximum number of checkout sessions that can be completed for the `completed_sessions` restriction to be met."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["count","limit"]},"payment_links_resource_completion_behavior_confirmation_page":{"title":"PaymentLinksResourceCompletionBehaviorConfirmationPage","required":["custom_message"],"type":"object","properties":{"custom_message":{"maxLength":5000,"type":"string","description":"The custom message that is displayed to the customer after the purchase is complete.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom_message"]},"payment_links_resource_completion_behavior_redirect":{"title":"PaymentLinksResourceCompletionBehaviorRedirect","required":["url"],"type":"object","properties":{"url":{"maxLength":5000,"type":"string","description":"The URL the customer will be redirected to after the purchase is complete."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["url"]},"payment_links_resource_consent_collection":{"title":"PaymentLinksResourceConsentCollection","required":["payment_method_reuse_agreement","promotions","terms_of_service"],"type":"object","properties":{"payment_method_reuse_agreement":{"description":"Settings related to the payment method reuse text shown in the Checkout UI.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_payment_method_reuse_agreement"}]},"promotions":{"type":"string","description":"If set to `auto`, enables the collection of customer consent for promotional communications.","nullable":true,"enum":["auto","none"]},"terms_of_service":{"type":"string","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.","nullable":true,"enum":["none","required"]}},"description":"","x-expandableFields":["payment_method_reuse_agreement"],"x-stripeMostCommon":["payment_method_reuse_agreement","promotions","terms_of_service"]},"payment_links_resource_custom_fields":{"title":"PaymentLinksResourceCustomFields","required":["key","label","optional","type"],"type":"object","properties":{"dropdown":{"$ref":"#/components/schemas/payment_links_resource_custom_fields_dropdown"},"key":{"maxLength":5000,"type":"string","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."},"label":{"$ref":"#/components/schemas/payment_links_resource_custom_fields_label"},"numeric":{"$ref":"#/components/schemas/payment_links_resource_custom_fields_numeric"},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."},"text":{"$ref":"#/components/schemas/payment_links_resource_custom_fields_text"},"type":{"type":"string","description":"The type of the field.","enum":["dropdown","numeric","text"]}},"description":"","x-expandableFields":["dropdown","label","numeric","text"],"x-stripeMostCommon":["dropdown","key","label","numeric","optional","text","type"]},"payment_links_resource_custom_fields_dropdown":{"title":"PaymentLinksResourceCustomFieldsDropdown","required":["default_value","options"],"type":"object","properties":{"default_value":{"maxLength":5000,"type":"string","description":"The value that pre-fills on the payment page.","nullable":true},"options":{"type":"array","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"}}},"description":"","x-expandableFields":["options"],"x-stripeMostCommon":["default_value","options"]},"payment_links_resource_custom_fields_dropdown_option":{"title":"PaymentLinksResourceCustomFieldsDropdownOption","required":["label","value"],"type":"object","properties":{"label":{"maxLength":5000,"type":"string","description":"The label for the option, displayed to the customer. Up to 100 characters."},"value":{"maxLength":5000,"type":"string","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."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["label","value"],"x-stripeResource":{"class_name":"CustomFieldDropdownOption","in_package":""}},"payment_links_resource_custom_fields_label":{"title":"PaymentLinksResourceCustomFieldsLabel","required":["custom","type"],"type":"object","properties":{"custom":{"maxLength":5000,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 50 characters.","nullable":true},"type":{"type":"string","description":"The type of the label.","enum":["custom"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom","type"]},"payment_links_resource_custom_fields_numeric":{"title":"PaymentLinksResourceCustomFieldsNumeric","required":["default_value","maximum_length","minimum_length"],"type":"object","properties":{"default_value":{"maxLength":5000,"type":"string","description":"The value that pre-fills the field on the payment page.","nullable":true},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input.","nullable":true},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"payment_links_resource_custom_fields_text":{"title":"PaymentLinksResourceCustomFieldsText","required":["default_value","maximum_length","minimum_length"],"type":"object","properties":{"default_value":{"maxLength":5000,"type":"string","description":"The value that pre-fills the field on the payment page.","nullable":true},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input.","nullable":true},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["default_value","maximum_length","minimum_length"]},"payment_links_resource_custom_text":{"title":"PaymentLinksResourceCustomText","required":["after_submit","shipping_address","submit","terms_of_service_acceptance"],"type":"object","properties":{"after_submit":{"description":"Custom text that should be displayed after the payment confirmation button.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_custom_text_position"}]},"shipping_address":{"description":"Custom text that should be displayed alongside shipping address collection.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_custom_text_position"}]},"submit":{"description":"Custom text that should be displayed alongside the payment confirmation button.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_custom_text_position"}]},"terms_of_service_acceptance":{"description":"Custom text that should be displayed in place of the default terms of service agreement text.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_custom_text_position"}]}},"description":"","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":{"title":"PaymentLinksResourceCustomTextPosition","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["message"]},"payment_links_resource_individual_name":{"title":"PaymentLinksResourceIndividualName","required":["enabled","optional"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether individual name collection is enabled for the payment link."},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before checking out. Defaults to `false`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","optional"]},"payment_links_resource_invoice_creation":{"title":"PaymentLinksResourceInvoiceCreation","required":["enabled","invoice_data"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable creating an invoice on successful payment."},"invoice_data":{"description":"Configuration for the invoice. Default invoice values will be used if unspecified.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_invoice_settings"}]}},"description":"","x-expandableFields":["invoice_data"],"x-stripeMostCommon":["enabled","invoice_data"]},"payment_links_resource_invoice_settings":{"title":"PaymentLinksResourceInvoiceSettings","required":["account_tax_ids","custom_fields","description","footer","issuer","metadata","rendering_options"],"type":"object","properties":{"account_tax_ids":{"type":"array","description":"The account tax IDs associated with the invoice.","nullable":true,"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"}]}}},"custom_fields":{"type":"array","description":"A list of up to 4 custom fields to be displayed on the invoice.","nullable":true,"items":{"$ref":"#/components/schemas/invoice_setting_custom_field"}},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"footer":{"maxLength":5000,"type":"string","description":"Footer to be displayed on the invoice.","nullable":true},"issuer":{"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"rendering_options":{"description":"Options for invoice PDF rendering.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_setting_checkout_rendering_options"}]}},"description":"","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_name_collection":{"title":"PaymentLinksResourceNameCollection","type":"object","properties":{"business":{"$ref":"#/components/schemas/payment_links_resource_business_name"},"individual":{"$ref":"#/components/schemas/payment_links_resource_individual_name"}},"description":"","x-expandableFields":["business","individual"],"x-stripeMostCommon":["business","individual"]},"payment_links_resource_optional_item":{"title":"PaymentLinksResourceOptionalItem","required":["adjustable_quantity","price","quantity"],"type":"object","properties":{"adjustable_quantity":{"nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_links_resource_optional_item_adjustable_quantity"}]},"price":{"maxLength":5000,"type":"string"},"quantity":{"type":"integer"}},"description":"","x-expandableFields":["adjustable_quantity"],"x-stripeMostCommon":["adjustable_quantity","price","quantity"]},"payment_links_resource_optional_item_adjustable_quantity":{"title":"PaymentLinksResourceOptionalItemAdjustableQuantity","required":["enabled","maximum","minimum"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity of this item the customer can purchase. By default this value is 99.","nullable":true},"minimum":{"type":"integer","description":"The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","maximum","minimum"]},"payment_links_resource_payment_intent_data":{"title":"PaymentLinksResourcePaymentIntentData","required":["capture_method","description","metadata","setup_future_usage","statement_descriptor","statement_descriptor_suffix","transfer_group"],"type":"object","properties":{"capture_method":{"type":"string","description":"Indicates when the funds will be captured from the customer's account.","nullable":true,"enum":["automatic","automatic_async","manual"]},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will set metadata on [Payment Intents](https://docs.stripe.com/api/payment_intents) generated from this payment link."},"setup_future_usage":{"type":"string","description":"Indicates that you intend to make future payments with the payment method collected during checkout.","nullable":true,"enum":["off_session","on_session"]},"statement_descriptor":{"maxLength":5000,"type":"string","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.","nullable":true},"statement_descriptor_suffix":{"maxLength":5000,"type":"string","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.","nullable":true},"transfer_group":{"maxLength":5000,"type":"string","description":"A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.","nullable":true}},"description":"","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":{"title":"PaymentLinksResourcePaymentMethodReuseAgreement","required":["position"],"type":"object","properties":{"position":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["position"]},"payment_links_resource_phone_number_collection":{"title":"PaymentLinksResourcePhoneNumberCollection","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If `true`, a phone number will be collected during checkout."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"payment_links_resource_restrictions":{"title":"PaymentLinksResourceRestrictions","required":["completed_sessions"],"type":"object","properties":{"completed_sessions":{"$ref":"#/components/schemas/payment_links_resource_completed_sessions"}},"description":"","x-expandableFields":["completed_sessions"],"x-stripeMostCommon":["completed_sessions"]},"payment_links_resource_shipping_address_collection":{"title":"PaymentLinksResourceShippingAddressCollection","required":["allowed_countries"],"type":"object","properties":{"allowed_countries":{"type":"array","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":{"type":"string","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","SD","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"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allowed_countries"]},"payment_links_resource_shipping_option":{"title":"PaymentLinksResourceShippingOption","required":["shipping_amount","shipping_rate"],"type":"object","properties":{"shipping_amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"shipping_rate":{"description":"The ID of the Shipping Rate to use for this shipping option.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/shipping_rate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/shipping_rate"}]}}},"description":"","x-expandableFields":["shipping_rate"],"x-stripeMostCommon":["shipping_amount","shipping_rate"]},"payment_links_resource_subscription_data":{"title":"PaymentLinksResourceSubscriptionData","required":["description","invoice_settings","metadata","trial_period_days","trial_settings"],"type":"object","properties":{"description":{"maxLength":5000,"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.","nullable":true},"invoice_settings":{"$ref":"#/components/schemas/payment_links_resource_subscription_data_invoice_settings"},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will set metadata on [Subscriptions](https://docs.stripe.com/api/subscriptions) generated from this payment link."},"trial_period_days":{"type":"integer","description":"Integer representing the number of trial period days before the customer is charged for the first time.","nullable":true},"trial_settings":{"description":"Settings related to subscription trials.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_trials_resource_trial_settings"}]}},"description":"","x-expandableFields":["invoice_settings","trial_settings"],"x-stripeMostCommon":["description","invoice_settings","metadata","trial_period_days","trial_settings"]},"payment_links_resource_subscription_data_invoice_settings":{"title":"PaymentLinksResourceSubscriptionDataInvoiceSettings","required":["issuer"],"type":"object","properties":{"issuer":{"$ref":"#/components/schemas/connect_account_reference"}},"description":"","x-expandableFields":["issuer"],"x-stripeMostCommon":["issuer"]},"payment_links_resource_tax_id_collection":{"title":"PaymentLinksResourceTaxIdCollection","required":["enabled","required"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether tax ID collection is enabled for the session."},"required":{"type":"string","enum":["if_supported","never"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","required"]},"payment_links_resource_transfer_data":{"title":"PaymentLinksResourceTransferData","required":["amount","destination"],"type":"object","properties":{"amount":{"type":"integer","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},"destination":{"description":"The connected account receiving the transfer.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}}},"description":"","x-expandableFields":["destination"],"x-stripeMostCommon":["amount","destination"]},"payment_method":{"title":"PaymentMethod","required":["billing_details","created","customer","customer_account","id","livemode","metadata","object","type"],"type":"object","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":{"type":"string","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"]},"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"},"billie":{"$ref":"#/components/schemas/payment_method_billie"},"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":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"crypto":{"$ref":"#/components/schemas/payment_method_crypto"},"custom":{"$ref":"#/components/schemas/payment_method_custom"},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string","nullable":true},"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":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"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":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"mb_way":{"$ref":"#/components/schemas/payment_method_mb_way"},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"mobilepay":{"$ref":"#/components/schemas/payment_method_mobilepay"},"multibanco":{"$ref":"#/components/schemas/payment_method_multibanco"},"naver_pay":{"$ref":"#/components/schemas/payment_method_naver_pay"},"nz_bank_account":{"$ref":"#/components/schemas/payment_method_nz_bank_account"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_method"]},"oxxo":{"$ref":"#/components/schemas/payment_method_oxxo"},"p24":{"$ref":"#/components/schemas/payment_method_p24"},"pay_by_bank":{"$ref":"#/components/schemas/payment_method_pay_by_bank"},"payco":{"$ref":"#/components/schemas/payment_method_payco"},"paynow":{"$ref":"#/components/schemas/payment_method_paynow"},"paypal":{"$ref":"#/components/schemas/payment_method_paypal"},"payto":{"$ref":"#/components/schemas/payment_method_payto"},"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"},"satispay":{"$ref":"#/components/schemas/payment_method_satispay"},"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":{"type":"string","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","billie","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true},"upi":{"$ref":"#/components/schemas/payment_method_upi"},"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"}},"description":"PaymentMethod objects represent your customer's payment instruments.\nYou can use them with [PaymentIntents](https://docs.stripe.com/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://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).","x-expandableFields":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","billing_details","blik","boleto","card","card_present","cashapp","crypto","custom","customer","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","radar_options","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-resourceId":"payment_method","x-stripeMostCommon":["billing_details","customer","customer_account","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_method"}},"description":"Occurs whenever a new payment method is attached to a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_method.attached"}},"payment_method.automatically_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_method"}},"description":"Occurs whenever a payment method's details are automatically updated by the network.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_method.automatically_updated"}},"payment_method.detached":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_method"}},"description":"Occurs whenever a payment method is detached from a customer.","x-expandableFields":[],"x-stripeEvent":{"type":"payment_method.detached"}},"payment_method.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payment_method"}},"description":"Occurs whenever a payment method is updated via the [PaymentMethod update API](https://docs.stripe.com/api/payment_methods/update).","x-expandableFields":[],"x-stripeEvent":{"type":"payment_method.updated"}},"payment_method_acss_debit":{"title":"payment_method_acss_debit","required":["bank_name","fingerprint","institution_number","last4","transit_number"],"type":"object","properties":{"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the bank account.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the bank account.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_name","fingerprint","institution_number","last4","transit_number"]},"payment_method_affirm":{"title":"payment_method_affirm","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_afterpay_clearpay":{"title":"payment_method_afterpay_clearpay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_alma":{"title":"payment_method_alma","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_amazon_pay":{"title":"payment_method_amazon_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_au_becs_debit":{"title":"payment_method_au_becs_debit","required":["bsb_number","fingerprint","last4"],"type":"object","properties":{"bsb_number":{"maxLength":5000,"type":"string","description":"Six-digit number identifying bank and branch associated with this bank account.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bsb_number","fingerprint","last4"]},"payment_method_bacs_debit":{"title":"payment_method_bacs_debit","required":["fingerprint","last4","sort_code"],"type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint","last4","sort_code"]},"payment_method_bancontact":{"title":"payment_method_bancontact","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_billie":{"title":"payment_method_billie","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_blik":{"title":"payment_method_blik","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_boleto":{"title":"payment_method_boleto","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"Uniquely identifies the customer tax id (CNPJ or CPF)"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["tax_id"]},"payment_method_card":{"title":"payment_method_card","required":["brand","checks","country","display_brand","exp_month","exp_year","funding","generated_from","last4","networks","regulated_status","three_d_secure_usage","wallet"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`."},"checks":{"description":"Checks on Card address and CVC if provided.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_card_checks"}]},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","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.)","nullable":true},"display_brand":{"maxLength":5000,"type":"string","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.","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`."},"generated_from":{"description":"Details of the original PaymentMethod that created this object.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_card_generated_card"}]},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)","nullable":true},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card."},"networks":{"description":"Contains information about card networks that can be used to process the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/networks"}]},"regulated_status":{"type":"string","description":"Status of a card based on the card issuer.","nullable":true,"enum":["regulated","unregulated"]},"three_d_secure_usage":{"description":"Contains details on how this Card may be used for 3D Secure authentication.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/three_d_secure_usage"}]},"wallet":{"description":"If this Card is part of a card wallet, this contains the details of the card wallet.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_card_wallet"}]}},"description":"","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","regulated_status","three_d_secure_usage","wallet"]},"payment_method_card_checks":{"title":"payment_method_card_checks","required":["address_line1_check","address_postal_code_check","cvc_check"],"type":"object","properties":{"address_line1_check":{"maxLength":5000,"type":"string","description":"If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"address_postal_code_check":{"maxLength":5000,"type":"string","description":"If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"cvc_check":{"maxLength":5000,"type":"string","description":"If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["address_line1_check","address_postal_code_check","cvc_check"]},"payment_method_card_generated_card":{"title":"payment_method_card_generated_card","required":["charge","payment_method_details","setup_attempt"],"type":"object","properties":{"charge":{"maxLength":5000,"type":"string","description":"The charge that created this object.","nullable":true},"payment_method_details":{"description":"Transaction-specific details of the payment method used in the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/card_generated_from_payment_method_details"}]},"setup_attempt":{"description":"The ID of the SetupAttempt that generated this PaymentMethod, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/setup_attempt"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/setup_attempt"}]}}},"description":"","x-expandableFields":["payment_method_details","setup_attempt"],"x-stripeMostCommon":["charge","payment_method_details","setup_attempt"]},"payment_method_card_present":{"title":"payment_method_card_present","required":["brand","brand_product","cardholder_name","country","exp_month","exp_year","fingerprint","funding","last4","networks","offline","preferred_locales","read_method"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.","nullable":true},"brand_product":{"maxLength":5000,"type":"string","description":"The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.","nullable":true},"cardholder_name":{"maxLength":5000,"type":"string","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.","nullable":true},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","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.)","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)","nullable":true},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true},"networks":{"description":"Contains information about card networks that can be used to process the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_card_present_networks"}]},"offline":{"description":"Details about payment methods collected offline.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_present_offline"}]},"preferred_locales":{"type":"array","description":"The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"read_method":{"type":"string","description":"How card details were read in this transaction.","nullable":true,"enum":["contact_emv","contactless_emv","contactless_magstripe_mode","magnetic_stripe_fallback","magnetic_stripe_track2"]},"wallet":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_present_common_wallet"}},"description":"","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":{"title":"payment_method_card_present_networks","required":["available","preferred"],"type":"object","properties":{"available":{"type":"array","description":"All networks available for selection via [payment_method_options.card.network](/api/payment_intents/confirm#confirm_payment_intent-payment_method_options-card-network).","items":{"maxLength":5000,"type":"string"}},"preferred":{"maxLength":5000,"type":"string","description":"The preferred network for the card.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["available","preferred"]},"payment_method_card_wallet":{"title":"payment_method_card_wallet","required":["dynamic_last4","type"],"type":"object","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":{"maxLength":5000,"type":"string","description":"(For tokenized numbers only.) The last four digits of the device account number.","nullable":true},"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":{"type":"string","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"]},"visa_checkout":{"$ref":"#/components/schemas/payment_method_card_wallet_visa_checkout"}},"description":"","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":{"title":"payment_method_card_wallet_amex_express_checkout","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_card_wallet_apple_pay":{"title":"payment_method_card_wallet_apple_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_card_wallet_google_pay":{"title":"payment_method_card_wallet_google_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_card_wallet_link":{"title":"payment_method_card_wallet_link","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_card_wallet_masterpass":{"title":"payment_method_card_wallet_masterpass","required":["billing_address","email","name","shipping_address"],"type":"object","properties":{"billing_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,"anyOf":[{"$ref":"#/components/schemas/address"}]},"email":{"maxLength":5000,"type":"string","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.","nullable":true},"name":{"maxLength":5000,"type":"string","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.","nullable":true},"shipping_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,"anyOf":[{"$ref":"#/components/schemas/address"}]}},"description":"","x-expandableFields":["billing_address","shipping_address"],"x-stripeMostCommon":["billing_address","email","name","shipping_address"]},"payment_method_card_wallet_samsung_pay":{"title":"payment_method_card_wallet_samsung_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_card_wallet_visa_checkout":{"title":"payment_method_card_wallet_visa_checkout","required":["billing_address","email","name","shipping_address"],"type":"object","properties":{"billing_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,"anyOf":[{"$ref":"#/components/schemas/address"}]},"email":{"maxLength":5000,"type":"string","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.","nullable":true},"name":{"maxLength":5000,"type":"string","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.","nullable":true},"shipping_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,"anyOf":[{"$ref":"#/components/schemas/address"}]}},"description":"","x-expandableFields":["billing_address","shipping_address"],"x-stripeMostCommon":["billing_address","email","name","shipping_address"]},"payment_method_cashapp":{"title":"payment_method_cashapp","required":["buyer_id","cashtag"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique and immutable identifier assigned by Cash App to every buyer.","nullable":true},"cashtag":{"maxLength":5000,"type":"string","description":"A public identifier for buyers using Cash App.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","cashtag"]},"payment_method_config_biz_payment_method_configuration_details":{"title":"PaymentMethodConfigBizPaymentMethodConfigurationDetails","required":["id","parent"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"ID of the payment method configuration used."},"parent":{"maxLength":5000,"type":"string","description":"ID of the parent payment method configuration used.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","parent"]},"payment_method_config_resource_display_preference":{"title":"PaymentMethodConfigResourceDisplayPreference","required":["overridable","preference","value"],"type":"object","properties":{"overridable":{"type":"boolean","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},"preference":{"type":"string","description":"The account's display preference.","enum":["none","off","on"]},"value":{"type":"string","description":"The effective display preference value.","enum":["off","on"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["overridable","preference","value"]},"payment_method_config_resource_payment_method_properties":{"title":"PaymentMethodConfigResourcePaymentMethodProperties","required":["available","display_preference"],"type":"object","properties":{"available":{"type":"boolean","description":"Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active."},"display_preference":{"$ref":"#/components/schemas/payment_method_config_resource_display_preference"}},"description":"","x-expandableFields":["display_preference"],"x-stripeMostCommon":["available","display_preference"]},"payment_method_configuration":{"title":"PaymentMethodConfigResourcePaymentMethodConfiguration","required":["active","application","id","is_default","livemode","name","object","parent"],"type":"object","properties":{"acss_debit":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"active":{"type":"boolean","description":"Whether the configuration can be used for new payments."},"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":{"maxLength":5000,"type":"string","description":"For child configs, the Connect application associated with the configuration.","nullable":true},"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"},"billie":{"$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"},"crypto":{"$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":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"ideal":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"is_default":{"type":"boolean","description":"The default configuration is used whenever a payment method configuration is not specified."},"jcb":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"kakao_pay":{"$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"},"kr_card":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"link":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"mb_way":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"mobilepay":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"multibanco":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"name":{"maxLength":5000,"type":"string","description":"The configuration's name."},"naver_pay":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"nz_bank_account":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_method_configuration"]},"oxxo":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"p24":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"parent":{"maxLength":5000,"type":"string","description":"For child configs, the configuration's parent configuration.","nullable":true},"pay_by_bank":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"payco":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"paynow":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"paypal":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"payto":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"pix":{"$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"},"samsung_pay":{"$ref":"#/components/schemas/payment_method_config_resource_payment_method_properties"},"satispay":{"$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"},"upi":{"$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"}},"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://docs.stripe.com/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://docs.stripe.com/connect/payment-method-configurations)\n- [Multiple configurations on dynamic payment methods](https://docs.stripe.com/payments/multiple-payment-method-configs)\n- [Multiple configurations for your Connect accounts](https://docs.stripe.com/connect/multiple-payment-method-configurations)","x-expandableFields":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","apple_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cartes_bancaires","cashapp","crypto","customer_balance","eps","fpx","giropay","google_pay","grabpay","ideal","jcb","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","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_crypto":{"title":"payment_method_crypto","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Crypto","in_package":""}},"payment_method_custom":{"title":"payment_method_custom","required":["display_name","logo","type"],"type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","description":"Display name of the Dashboard-only CustomPaymentMethodType.","nullable":true},"logo":{"description":"Contains information about the Dashboard-only CustomPaymentMethodType logo.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/custom_logo"}]},"type":{"maxLength":5000,"type":"string","description":"ID of the Dashboard-only CustomPaymentMethodType. Not expandable."}},"description":"","x-expandableFields":["logo"],"x-stripeMostCommon":["display_name","logo","type"],"x-stripeResource":{"class_name":"Custom","in_package":""}},"payment_method_customer_balance":{"title":"payment_method_customer_balance","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details":{"title":"payment_method_details","required":["type"],"type":"object","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"},"billie":{"$ref":"#/components/schemas/payment_method_details_billie"},"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"},"crypto":{"$ref":"#/components/schemas/payment_method_details_crypto"},"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"},"mb_way":{"$ref":"#/components/schemas/payment_method_details_mb_way"},"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"},"nz_bank_account":{"$ref":"#/components/schemas/payment_method_details_nz_bank_account"},"oxxo":{"$ref":"#/components/schemas/payment_method_details_oxxo"},"p24":{"$ref":"#/components/schemas/payment_method_details_p24"},"pay_by_bank":{"$ref":"#/components/schemas/payment_method_details_pay_by_bank"},"payco":{"$ref":"#/components/schemas/payment_method_details_payco"},"paynow":{"$ref":"#/components/schemas/payment_method_details_paynow"},"paypal":{"$ref":"#/components/schemas/payment_method_details_paypal"},"payto":{"$ref":"#/components/schemas/payment_method_details_payto"},"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"},"satispay":{"$ref":"#/components/schemas/payment_method_details_satispay"},"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":{"maxLength":5000,"type":"string","description":"The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.\nAn additional hash is included on `payment_method_details` with a name matching this value.\nIt contains information specific to the payment method."},"upi":{"$ref":"#/components/schemas/payment_method_details_upi"},"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"}},"description":"","x-expandableFields":["ach_credit_transfer","ach_debit","acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_account","swish","twint","upi","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","billie","blik","boleto","card","card_present","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_account","swish","twint","type","upi","us_bank_account","wechat","wechat_pay","zip"]},"payment_method_details_ach_credit_transfer":{"title":"payment_method_details_ach_credit_transfer","required":["account_number","bank_name","routing_number","swift_code"],"type":"object","properties":{"account_number":{"maxLength":5000,"type":"string","description":"Account number to transfer funds to.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the routing number.","nullable":true},"routing_number":{"maxLength":5000,"type":"string","description":"Routing transit number for the bank account to transfer funds to.","nullable":true},"swift_code":{"maxLength":5000,"type":"string","description":"SWIFT code of the bank associated with the routing number.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_number","bank_name","routing_number","swift_code"]},"payment_method_details_ach_debit":{"title":"payment_method_details_ach_debit","required":["account_holder_type","bank_name","country","fingerprint","last4","routing_number"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Type of entity that holds the account. This can be either `individual` or `company`.","nullable":true,"enum":["company","individual"]},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"routing_number":{"maxLength":5000,"type":"string","description":"Routing transit number of the bank account.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_holder_type","bank_name","country","fingerprint","last4","routing_number"]},"payment_method_details_acss_debit":{"title":"payment_method_details_acss_debit","required":["bank_name","fingerprint","institution_number","last4","transit_number"],"type":"object","properties":{"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"institution_number":{"maxLength":5000,"type":"string","description":"Institution number of the bank account","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"ID of the mandate used to make this payment."},"transit_number":{"maxLength":5000,"type":"string","description":"Transit number of the bank account.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_name","expected_debit_date","fingerprint","institution_number","last4","mandate","transit_number"]},"payment_method_details_affirm":{"title":"payment_method_details_affirm","required":["transaction_id"],"type":"object","properties":{"location":{"maxLength":5000,"type":"string","description":"ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to."},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."},"transaction_id":{"maxLength":5000,"type":"string","description":"The Affirm transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["location","reader","transaction_id"]},"payment_method_details_afterpay_clearpay":{"title":"payment_method_details_afterpay_clearpay","required":["order_id","reference"],"type":"object","properties":{"order_id":{"maxLength":5000,"type":"string","description":"The Afterpay order ID associated with this payment intent.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"Order identifier shown to the merchant in Afterpay’s online portal.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["order_id","reference"]},"payment_method_details_alma":{"title":"payment_method_details_alma","required":["transaction_id"],"type":"object","properties":{"installments":{"$ref":"#/components/schemas/alma_installments"},"transaction_id":{"maxLength":5000,"type":"string","description":"The Alma transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":["installments"],"x-stripeMostCommon":["installments","transaction_id"]},"payment_method_details_amazon_pay":{"title":"payment_method_details_amazon_pay","required":["transaction_id"],"type":"object","properties":{"funding":{"$ref":"#/components/schemas/amazon_pay_underlying_payment_method_funding_details"},"transaction_id":{"maxLength":5000,"type":"string","description":"The Amazon Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":["funding"],"x-stripeMostCommon":["funding","transaction_id"]},"payment_method_details_au_becs_debit":{"title":"payment_method_details_au_becs_debit","required":["bsb_number","fingerprint","last4"],"type":"object","properties":{"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account.","nullable":true},"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"ID of the mandate used to make this payment."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bsb_number","expected_debit_date","fingerprint","last4","mandate"]},"payment_method_details_bacs_debit":{"title":"payment_method_details_bacs_debit","required":["fingerprint","last4","mandate","sort_code"],"type":"object","properties":{"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"ID of the mandate used to make this payment.","nullable":true},"sort_code":{"maxLength":5000,"type":"string","description":"Sort code of the bank account. (e.g., `10-20-30`)","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expected_debit_date","fingerprint","last4","mandate","sort_code"]},"payment_method_details_bancontact":{"title":"payment_method_details_bancontact","required":["bank_code","bank_name","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","preferred_language","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.\nCan be one of `en`, `de`, `fr`, or `nl`","nullable":true,"enum":["de","en","fr","nl"]},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","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_billie":{"title":"payment_method_details_billie","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The Billie transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"]},"payment_method_details_blik":{"title":"payment_method_details_blik","required":["buyer_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique and immutable identifier assigned by BLIK to every buyer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id"]},"payment_method_details_boleto":{"title":"payment_method_details_boleto","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["tax_id"]},"payment_method_details_card":{"title":"payment_method_details_card","required":["amount_authorized","authorization_code","brand","checks","country","exp_month","exp_year","funding","installments","last4","mandate","network","network_transaction_id","regulated_status","three_d_secure","wallet"],"type":"object","properties":{"amount_authorized":{"type":"integer","description":"The authorized amount.","nullable":true},"authorization_code":{"maxLength":5000,"type":"string","description":"Authorization code on the charge.","nullable":true},"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.","nullable":true},"capture_before":{"type":"integer","description":"When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.","format":"unix-time"},"checks":{"description":"Check results by Card networks on Card address and CVC at time of payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_checks"}]},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","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.)","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"extended_authorization":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_extended_authorization_extended_authorization"},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)","nullable":true},"incremental_authorization":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_incremental_authorization_incremental_authorization"},"installments":{"description":"Installment details for this payment.\n\nFor more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_installments"}]},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"ID of the mandate used to make this payment or created by it.","nullable":true},"moto":{"type":"boolean","description":"True if this payment was marked as MOTO and out of scope for SCA.","nullable":true},"multicapture":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_multicapture"},"network":{"maxLength":5000,"type":"string","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`.","nullable":true},"network_token":{"description":"If this card has network token credentials, this contains the details of the network token credentials.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_network_token"}]},"network_transaction_id":{"maxLength":5000,"type":"string","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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.","nullable":true},"overcapture":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_details_api_resource_enterprise_features_overcapture_overcapture"},"regulated_status":{"type":"string","description":"Status of a card based on the card issuer.","nullable":true,"enum":["regulated","unregulated"]},"three_d_secure":{"description":"Populated if this transaction used 3D Secure authentication.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/three_d_secure_details_charge"}]},"wallet":{"description":"If this Card is part of a card wallet, this contains the details of the card wallet.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_wallet"}]}},"description":"","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","network_transaction_id","overcapture","regulated_status","three_d_secure","wallet"]},"payment_method_details_card_checks":{"title":"payment_method_details_card_checks","required":["address_line1_check","address_postal_code_check","cvc_check"],"type":"object","properties":{"address_line1_check":{"maxLength":5000,"type":"string","description":"If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"address_postal_code_check":{"maxLength":5000,"type":"string","description":"If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"cvc_check":{"maxLength":5000,"type":"string","description":"If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["address_line1_check","address_postal_code_check","cvc_check"]},"payment_method_details_card_installments":{"title":"payment_method_details_card_installments","required":["plan"],"type":"object","properties":{"plan":{"description":"Installment plan selected for the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_installments_plan"}]}},"description":"","x-expandableFields":["plan"],"x-stripeMostCommon":["plan"]},"payment_method_details_card_installments_plan":{"title":"payment_method_details_card_installments_plan","required":["count","interval","type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.","nullable":true},"interval":{"type":"string","description":"For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card.\nOne of `month`.","nullable":true,"enum":["month"]},"type":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `bonus`, or `revolving`.","enum":["bonus","fixed_count","revolving"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["count","interval","type"]},"payment_method_details_card_network_token":{"title":"payment_method_details_card_network_token","required":["used"],"type":"object","properties":{"used":{"type":"boolean","description":"Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["used"]},"payment_method_details_card_present":{"title":"payment_method_details_card_present","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"],"type":"object","properties":{"amount_authorized":{"type":"integer","description":"The authorized amount","nullable":true},"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.","nullable":true},"brand_product":{"maxLength":5000,"type":"string","description":"The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card.","nullable":true},"capture_before":{"type":"integer","description":"When using manual capture, a future timestamp after which the charge will be automatically refunded if uncaptured.","format":"unix-time"},"cardholder_name":{"maxLength":5000,"type":"string","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.","nullable":true},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","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.)","nullable":true},"emv_auth_data":{"maxLength":5000,"type":"string","description":"Authorization response cryptogram.","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true},"generated_card":{"maxLength":5000,"type":"string","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.","nullable":true},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)","nullable":true},"incremental_authorization_supported":{"type":"boolean","description":"Whether this [PaymentIntent](https://docs.stripe.com/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support)."},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true},"location":{"maxLength":5000,"type":"string","description":"ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to."},"network":{"maxLength":5000,"type":"string","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`.","nullable":true},"network_transaction_id":{"maxLength":5000,"type":"string","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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.","nullable":true},"offline":{"description":"Details about payments collected offline.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_present_offline"}]},"overcapture_supported":{"type":"boolean","description":"Defines whether the authorized amount can be over-captured or not"},"preferred_locales":{"type":"array","description":"The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"read_method":{"type":"string","description":"How card details were read in this transaction.","nullable":true,"enum":["contact_emv","contactless_emv","contactless_magstripe_mode","magnetic_stripe_fallback","magnetic_stripe_track2"]},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."},"receipt":{"description":"A collection of fields required to be displayed on receipts. Only required for EMV transactions.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_present_receipt"}]},"wallet":{"$ref":"#/components/schemas/payment_flows_private_payment_methods_card_present_common_wallet"}},"description":"","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","location","network","network_transaction_id","offline","overcapture_supported","preferred_locales","read_method","reader","receipt","wallet"]},"payment_method_details_card_present_offline":{"title":"payment_method_details_card_present_offline","required":["stored_at","type"],"type":"object","properties":{"stored_at":{"type":"integer","description":"Time at which the payment was collected while offline","format":"unix-time","nullable":true},"type":{"type":"string","description":"The method used to process this payment method offline. Only deferred is allowed.","nullable":true,"enum":["deferred"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["stored_at","type"],"x-stripeResource":{"class_name":"Offline","in_package":""}},"payment_method_details_card_present_receipt":{"title":"payment_method_details_card_present_receipt","required":["application_cryptogram","application_preferred_name","authorization_code","authorization_response_code","cardholder_verification_method","dedicated_file_name","terminal_verification_results","transaction_status_information"],"type":"object","properties":{"account_type":{"type":"string","description":"The type of account being debited or credited","enum":["checking","credit","prepaid","unknown"],"x-stripeBypassValidation":true},"application_cryptogram":{"maxLength":5000,"type":"string","description":"The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.","nullable":true},"application_preferred_name":{"maxLength":5000,"type":"string","description":"The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.","nullable":true},"authorization_code":{"maxLength":5000,"type":"string","description":"Identifier for this transaction.","nullable":true},"authorization_response_code":{"maxLength":5000,"type":"string","description":"EMV tag 8A. A code returned by the card issuer.","nullable":true},"cardholder_verification_method":{"maxLength":5000,"type":"string","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`.","nullable":true},"dedicated_file_name":{"maxLength":5000,"type":"string","description":"Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.","nullable":true},"terminal_verification_results":{"maxLength":5000,"type":"string","description":"A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.","nullable":true},"transaction_status_information":{"maxLength":5000,"type":"string","description":"An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.","nullable":true}},"description":"","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":{"title":"payment_method_details_card_wallet","required":["dynamic_last4","type"],"type":"object","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":{"maxLength":5000,"type":"string","description":"(For tokenized numbers only.) The last four digits of the device account number.","nullable":true},"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":{"type":"string","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"]},"visa_checkout":{"$ref":"#/components/schemas/payment_method_details_card_wallet_visa_checkout"}},"description":"","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":{"title":"payment_method_details_card_wallet_amex_express_checkout","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_card_wallet_apple_pay":{"title":"payment_method_details_card_wallet_apple_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_card_wallet_google_pay":{"title":"payment_method_details_card_wallet_google_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_card_wallet_link":{"title":"payment_method_details_card_wallet_link","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_card_wallet_masterpass":{"title":"payment_method_details_card_wallet_masterpass","required":["billing_address","email","name","shipping_address"],"type":"object","properties":{"billing_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,"anyOf":[{"$ref":"#/components/schemas/address"}]},"email":{"maxLength":5000,"type":"string","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.","nullable":true},"name":{"maxLength":5000,"type":"string","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.","nullable":true},"shipping_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,"anyOf":[{"$ref":"#/components/schemas/address"}]}},"description":"","x-expandableFields":["billing_address","shipping_address"],"x-stripeMostCommon":["billing_address","email","name","shipping_address"]},"payment_method_details_card_wallet_samsung_pay":{"title":"payment_method_details_card_wallet_samsung_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_card_wallet_visa_checkout":{"title":"payment_method_details_card_wallet_visa_checkout","required":["billing_address","email","name","shipping_address"],"type":"object","properties":{"billing_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,"anyOf":[{"$ref":"#/components/schemas/address"}]},"email":{"maxLength":5000,"type":"string","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.","nullable":true},"name":{"maxLength":5000,"type":"string","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.","nullable":true},"shipping_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,"anyOf":[{"$ref":"#/components/schemas/address"}]}},"description":"","x-expandableFields":["billing_address","shipping_address"],"x-stripeMostCommon":["billing_address","email","name","shipping_address"]},"payment_method_details_cashapp":{"title":"payment_method_details_cashapp","required":["buyer_id","cashtag","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique and immutable identifier assigned by Cash App to every buyer.","nullable":true},"cashtag":{"maxLength":5000,"type":"string","description":"A public identifier for buyers using Cash App.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"A unique and immutable identifier of payments assigned by Cash App","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","cashtag","transaction_id"]},"payment_method_details_crypto":{"title":"payment_method_details_crypto","type":"object","properties":{"buyer_address":{"maxLength":5000,"type":"string","description":"The wallet address of the customer."},"network":{"type":"string","description":"The blockchain network that the transaction was sent on.","enum":["base","ethereum","polygon","solana","tempo"]},"token_currency":{"type":"string","description":"The token currency that the transaction was sent with.","enum":["usdc","usdg","usdp"],"x-stripeBypassValidation":true},"transaction_hash":{"maxLength":5000,"type":"string","description":"The blockchain transaction hash of the crypto payment."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_address","network","token_currency","transaction_hash"],"x-stripeResource":{"class_name":"Crypto","in_package":""}},"payment_method_details_customer_balance":{"title":"payment_method_details_customer_balance","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_eps":{"title":"payment_method_details_eps","required":["bank","verified_name"],"type":"object","properties":{"bank":{"type":"string","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`.","nullable":true,"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"]},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank","verified_name"]},"payment_method_details_fpx":{"title":"payment_method_details_fpx","required":["account_holder_type","bank","transaction_id"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type, if provided. Can be one of `individual` or `company`.","nullable":true,"enum":["company","individual"]},"bank":{"type":"string","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"]},"transaction_id":{"maxLength":5000,"type":"string","description":"Unique transaction id generated by FPX for every request from the merchant","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_holder_type","bank","transaction_id"]},"payment_method_details_giropay":{"title":"payment_method_details_giropay","required":["bank_code","bank_name","bic","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_code","bank_name","bic","verified_name"]},"payment_method_details_grabpay":{"title":"payment_method_details_grabpay","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"Unique transaction id generated by GrabPay","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"]},"payment_method_details_ideal":{"title":"payment_method_details_ideal","required":["bank","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","transaction_id","verified_name"],"type":"object","properties":{"bank":{"type":"string","description":"The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.","nullable":true,"enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]},"bic":{"type":"string","description":"The Bank Identifier Code of the customer's bank.","nullable":true,"enum":["ABNANL2A","ADYBNL2A","ASNBNL21","BITSNL2A","BUNQNL2A","BUUTNL2A","FNOMNL22","FVLBNL22","HANDNL2A","INGBNL2A","KNABNL2H","MLLENL2A","MOYONL21","NNBANL2G","NTSBDEB1","RABONL2U","RBRBNL21","REVOIE23","REVOLT21","SNSBNL2A","TRIONL2U"]},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"Unique transaction ID generated by iDEAL.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":["generated_sepa_debit","generated_sepa_debit_mandate"],"x-stripeMostCommon":["bank","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","transaction_id","verified_name"]},"payment_method_details_interac_present":{"title":"payment_method_details_interac_present","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"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `interac`, `mastercard` or `visa`.","nullable":true},"cardholder_name":{"maxLength":5000,"type":"string","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.","nullable":true},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","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.)","nullable":true},"emv_auth_data":{"maxLength":5000,"type":"string","description":"Authorization response cryptogram.","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true},"generated_card":{"maxLength":5000,"type":"string","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.","nullable":true},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)","nullable":true},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true},"location":{"maxLength":5000,"type":"string","description":"ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to."},"network":{"maxLength":5000,"type":"string","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`.","nullable":true},"network_transaction_id":{"maxLength":5000,"type":"string","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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.","nullable":true},"preferred_locales":{"type":"array","description":"The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"read_method":{"type":"string","description":"How card details were read in this transaction.","nullable":true,"enum":["contact_emv","contactless_emv","contactless_magstripe_mode","magnetic_stripe_fallback","magnetic_stripe_track2"]},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."},"receipt":{"description":"A collection of fields required to be displayed on receipts. Only required for EMV transactions.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_interac_present_receipt"}]}},"description":"","x-expandableFields":["receipt"],"x-stripeMostCommon":["brand","cardholder_name","country","description","emv_auth_data","exp_month","exp_year","fingerprint","funding","generated_card","iin","issuer","last4","location","network","network_transaction_id","preferred_locales","read_method","reader","receipt"]},"payment_method_details_interac_present_receipt":{"title":"payment_method_details_interac_present_receipt","required":["application_cryptogram","application_preferred_name","authorization_code","authorization_response_code","cardholder_verification_method","dedicated_file_name","terminal_verification_results","transaction_status_information"],"type":"object","properties":{"account_type":{"type":"string","description":"The type of account being debited or credited","enum":["checking","savings","unknown"],"x-stripeBypassValidation":true},"application_cryptogram":{"maxLength":5000,"type":"string","description":"The Application Cryptogram, a unique value generated by the card to authenticate the transaction with issuers.","nullable":true},"application_preferred_name":{"maxLength":5000,"type":"string","description":"The Application Identifier (AID) on the card used to determine which networks are eligible to process the transaction. Referenced from EMV tag 9F12, data encoded on the card's chip.","nullable":true},"authorization_code":{"maxLength":5000,"type":"string","description":"Identifier for this transaction.","nullable":true},"authorization_response_code":{"maxLength":5000,"type":"string","description":"EMV tag 8A. A code returned by the card issuer.","nullable":true},"cardholder_verification_method":{"maxLength":5000,"type":"string","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`.","nullable":true},"dedicated_file_name":{"maxLength":5000,"type":"string","description":"Similar to the application_preferred_name, identifying the applications (AIDs) available on the card. Referenced from EMV tag 84.","nullable":true},"terminal_verification_results":{"maxLength":5000,"type":"string","description":"A 5-byte string that records the checks and validations that occur between the card and the terminal. These checks determine how the terminal processes the transaction and what risk tolerance is acceptable. Referenced from EMV Tag 95.","nullable":true},"transaction_status_information":{"maxLength":5000,"type":"string","description":"An indication of which steps were completed during the card read process. Referenced from EMV Tag 9B.","nullable":true}},"description":"","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":{"title":"payment_method_details_kakao_pay","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Kakao Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"],"x-stripeResource":{"class_name":"KakaoPay","in_package":""}},"payment_method_details_klarna":{"title":"payment_method_details_klarna","required":["payer_details","payment_method_category","preferred_locale"],"type":"object","properties":{"payer_details":{"description":"The payer details for this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/klarna_payer_details"}]},"payment_method_category":{"maxLength":5000,"type":"string","description":"The Klarna payment method used for this transaction.\nCan be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`","nullable":true},"preferred_locale":{"maxLength":5000,"type":"string","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`","nullable":true}},"description":"","x-expandableFields":["payer_details"],"x-stripeMostCommon":["payer_details","payment_method_category","preferred_locale"]},"payment_method_details_konbini":{"title":"payment_method_details_konbini","required":["store"],"type":"object","properties":{"store":{"description":"If the payment succeeded, this contains the details of the convenience store where the payment was completed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_konbini_store"}]}},"description":"","x-expandableFields":["store"],"x-stripeMostCommon":["store"]},"payment_method_details_konbini_store":{"title":"payment_method_details_konbini_store","required":["chain"],"type":"object","properties":{"chain":{"type":"string","description":"The name of the convenience store chain where the payment was completed.","nullable":true,"enum":["familymart","lawson","ministop","seicomart"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["chain"]},"payment_method_details_kr_card":{"title":"payment_method_details_kr_card","required":["brand","buyer_id","last4","transaction_id"],"type":"object","properties":{"brand":{"type":"string","description":"The local credit or debit card brand.","nullable":true,"enum":["bc","citi","hana","hyundai","jeju","jeonbuk","kakaobank","kbank","kdbbank","kookmin","kwangju","lotte","mg","nh","post","samsung","savingsbank","shinhan","shinhyup","suhyup","tossbank","woori"]},"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"last4":{"maxLength":4,"type":"string","description":"The last four digits of the card. This may not be present for American Express cards.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Korean Card transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brand","buyer_id","last4","transaction_id"],"x-stripeResource":{"class_name":"KrCard","in_package":""}},"payment_method_details_link":{"title":"payment_method_details_link","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country"]},"payment_method_details_mb_way":{"title":"payment_method_details_mb_way","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"MbWay","in_package":""}},"payment_method_details_mobilepay":{"title":"payment_method_details_mobilepay","required":["card"],"type":"object","properties":{"card":{"description":"Internal card details","nullable":true,"anyOf":[{"$ref":"#/components/schemas/internal_card"}]}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card"]},"payment_method_details_multibanco":{"title":"payment_method_details_multibanco","required":["entity","reference"],"type":"object","properties":{"entity":{"maxLength":5000,"type":"string","description":"Entity number associated with this Multibanco payment.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"Reference number associated with this Multibanco payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["entity","reference"]},"payment_method_details_naver_pay":{"title":"payment_method_details_naver_pay","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Naver Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"],"x-stripeResource":{"class_name":"NaverPay","in_package":""}},"payment_method_details_nz_bank_account":{"title":"payment_method_details_nz_bank_account","required":["account_holder_name","bank_code","bank_name","branch_code","last4","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.","nullable":true},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"bank_name":{"maxLength":5000,"type":"string","description":"The name of the bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number."},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_holder_name","bank_code","bank_name","branch_code","expected_debit_date","last4","suffix"]},"payment_method_details_oxxo":{"title":"payment_method_details_oxxo","required":["number"],"type":"object","properties":{"number":{"maxLength":5000,"type":"string","description":"OXXO reference number","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["number"]},"payment_method_details_p24":{"title":"payment_method_details_p24","required":["bank","reference","verified_name"],"type":"object","properties":{"bank":{"type":"string","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`.","nullable":true,"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"]},"reference":{"maxLength":5000,"type":"string","description":"Unique reference for this Przelewy24 payment.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank","reference","verified_name"]},"payment_method_details_passthrough_card":{"title":"payment_method_details_passthrough_card","required":["brand","country","exp_month","exp_year","funding","last4"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.","nullable":true},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month.","nullable":true},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year.","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brand","country","exp_month","exp_year","funding","last4"]},"payment_method_details_pay_by_bank":{"title":"payment_method_details_pay_by_bank","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_payco":{"title":"payment_method_details_payco","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Payco transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"],"x-stripeResource":{"class_name":"Payco","in_package":""}},"payment_method_details_payment_record_affirm":{"title":"payment_method_details_payment_record_affirm","required":["transaction_id"],"type":"object","properties":{"location":{"maxLength":5000,"type":"string","description":"ID of the location that this reader is assigned to."},"reader":{"maxLength":5000,"type":"string","description":"ID of the reader this transaction was made on."},"transaction_id":{"maxLength":5000,"type":"string","description":"The Affirm transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["location","reader","transaction_id"]},"payment_method_details_payment_record_afterpay_clearpay":{"title":"payment_method_details_payment_record_afterpay_clearpay","required":["order_id","reference"],"type":"object","properties":{"order_id":{"maxLength":5000,"type":"string","description":"The Afterpay order ID associated with this payment intent.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"Order identifier shown to the merchant in Afterpay's online portal.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["order_id","reference"]},"payment_method_details_payment_record_bancontact":{"title":"payment_method_details_payment_record_bancontact","required":["bank_code","bank_name","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","preferred_language","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to. Can be one of `en`, `de`, `fr`, or `nl`","nullable":true,"enum":["de","en","fr","nl"]},"verified_name":{"maxLength":5000,"type":"string","description":"Owner's verified full name. Values are verified or provided by Bancontact directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true}},"description":"","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_payment_record_boleto":{"title":"payment_method_details_payment_record_boleto","required":["tax_id"],"type":"object","properties":{"tax_id":{"maxLength":5000,"type":"string","description":"The tax ID of the customer (CPF for individuals consumers or CNPJ for businesses consumers)","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["tax_id"]},"payment_method_details_payment_record_cashapp":{"title":"payment_method_details_payment_record_cashapp","required":["buyer_id","cashtag","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique and immutable identifier assigned by Cash App to every buyer.","nullable":true},"cashtag":{"maxLength":5000,"type":"string","description":"A public identifier for buyers using Cash App.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"A unique and immutable identifier of payments assigned by Cash App.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","cashtag","transaction_id"]},"payment_method_details_payment_record_giropay":{"title":"payment_method_details_payment_record_giropay","required":["bank_code","bank_name","bic","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","description":"Owner's verified full name. Values are verified or provided by Giropay directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. Giropay rarely provides this information so the attribute is usually empty.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_code","bank_name","bic","verified_name"]},"payment_method_details_payment_record_ideal":{"title":"payment_method_details_payment_record_ideal","required":["bank","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","transaction_id","verified_name"],"type":"object","properties":{"bank":{"type":"string","description":"The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.","nullable":true,"enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]},"bic":{"type":"string","description":"The Bank Identifier Code of the customer's bank.","nullable":true,"enum":["ABNANL2A","ADYBNL2A","ASNBNL21","BITSNL2A","BUNQNL2A","BUUTNL2A","FNOMNL22","FVLBNL22","HANDNL2A","INGBNL2A","KNABNL2H","MLLENL2A","MOYONL21","NNBANL2G","NTSBDEB1","RABONL2U","RBRBNL21","REVOIE23","REVOLT21","SNSBNL2A","TRIONL2U"]},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"Unique transaction ID generated by iDEAL.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","description":"Owner's verified full name. Values are verified or provided by iDEAL directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true}},"description":"","x-expandableFields":["generated_sepa_debit","generated_sepa_debit_mandate"],"x-stripeMostCommon":["bank","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","transaction_id","verified_name"]},"payment_method_details_payment_record_kakao_pay":{"title":"payment_method_details_payment_record_kakao_pay","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Kakao Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"],"x-stripeResource":{"class_name":"KakaoPay","in_package":""}},"payment_method_details_payment_record_konbini":{"title":"payment_method_details_payment_record_konbini","required":["store"],"type":"object","properties":{"store":{"description":"If the payment succeeded, this contains the details of the convenience store where the payment was completed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_konbini_details_resource_store"}]}},"description":"","x-expandableFields":["store"],"x-stripeMostCommon":["store"]},"payment_method_details_payment_record_mb_way":{"title":"payment_method_details_payment_record_mb_way","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"MbWay","in_package":""}},"payment_method_details_payment_record_mobilepay":{"title":"payment_method_details_payment_record_mobilepay","required":["card"],"type":"object","properties":{"card":{"description":"Internal card details","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_mobilepay_details_resource_card"}]}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card"]},"payment_method_details_payment_record_multibanco":{"title":"payment_method_details_payment_record_multibanco","required":["entity","reference"],"type":"object","properties":{"entity":{"maxLength":5000,"type":"string","description":"Entity number associated with this Multibanco payment.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"Reference number associated with this Multibanco payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["entity","reference"]},"payment_method_details_payment_record_naver_pay":{"title":"payment_method_details_payment_record_naver_pay","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Naver Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"]},"payment_method_details_payment_record_oxxo":{"title":"payment_method_details_payment_record_oxxo","required":["number"],"type":"object","properties":{"number":{"maxLength":5000,"type":"string","description":"OXXO reference number","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["number"]},"payment_method_details_payment_record_payco":{"title":"payment_method_details_payment_record_payco","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Payco transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"],"x-stripeResource":{"class_name":"Payco","in_package":""}},"payment_method_details_payment_record_paynow":{"title":"payment_method_details_payment_record_paynow","required":["reference"],"type":"object","properties":{"location":{"maxLength":5000,"type":"string","description":"ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to."},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."},"reference":{"maxLength":5000,"type":"string","description":"Reference number associated with this PayNow payment","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["location","reader","reference"]},"payment_method_details_payment_record_pix":{"title":"payment_method_details_payment_record_pix","type":"object","properties":{"bank_transaction_id":{"maxLength":5000,"type":"string","description":"Unique transaction id generated by BCB","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_transaction_id"]},"payment_method_details_payment_record_promptpay":{"title":"payment_method_details_payment_record_promptpay","required":["reference"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"Bill reference generated by PromptPay","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference"]},"payment_method_details_payment_record_samsung_pay":{"title":"payment_method_details_payment_record_samsung_pay","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Samsung Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"],"x-stripeResource":{"class_name":"SamsungPay","in_package":""}},"payment_method_details_payment_record_sepa_debit":{"title":"payment_method_details_payment_record_sepa_debit","required":["bank_code","branch_code","country","fingerprint","last4","mandate"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"branch_code":{"maxLength":5000,"type":"string","description":"Branch code of bank associated with the bank account.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","nullable":true},"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_code","branch_code","country","expected_debit_date","fingerprint","last4","mandate"]},"payment_method_details_payment_record_sofort":{"title":"payment_method_details_payment_record_sofort","required":["bank_code","bank_name","bic","country","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","preferred_language","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","nullable":true},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"preferred_language":{"type":"string","description":"Preferred language of the SOFORT authorization page that the customer is redirected to. Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl`","nullable":true,"enum":["de","en","es","fr","it","nl","pl"]},"verified_name":{"maxLength":5000,"type":"string","description":"Owner's verified full name. Values are verified or provided by SOFORT directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true}},"description":"","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_payment_record_swish":{"title":"payment_method_details_payment_record_swish","required":["fingerprint","payment_reference","verified_phone_last4"],"type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","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","nullable":true},"payment_reference":{"maxLength":5000,"type":"string","description":"Payer bank reference number for the payment","nullable":true},"verified_phone_last4":{"maxLength":5000,"type":"string","description":"The last four digits of the Swish account phone number","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint","payment_reference","verified_phone_last4"]},"payment_method_details_payment_record_twint":{"title":"payment_method_details_payment_record_twint","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_payment_record_us_bank_account":{"title":"payment_method_details_payment_record_us_bank_account","required":["account_holder_type","account_type","bank_name","fingerprint","last4","payment_reference","routing_number"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"The type of entity that holds the account. This can be either 'individual' or 'company'.","nullable":true,"enum":["company","individual"]},"account_type":{"type":"string","description":"The type of the bank account. This can be either 'checking' or 'savings'.","nullable":true,"enum":["checking","savings"]},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"description":"ID of the mandate used to make this payment.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"payment_reference":{"maxLength":5000,"type":"string","description":"The ACH payment reference for this transaction.","nullable":true},"routing_number":{"maxLength":5000,"type":"string","description":"The routing number for the bank account.","nullable":true}},"description":"","x-expandableFields":["mandate"],"x-stripeMostCommon":["account_holder_type","account_type","bank_name","expected_debit_date","fingerprint","last4","mandate","payment_reference","routing_number"]},"payment_method_details_payment_record_wechat_pay":{"title":"payment_method_details_payment_record_wechat_pay","required":["fingerprint","transaction_id"],"type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.","nullable":true},"location":{"maxLength":5000,"type":"string","description":"ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to."},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."},"transaction_id":{"maxLength":5000,"type":"string","description":"Transaction ID of this particular WeChat Pay transaction.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint","location","reader","transaction_id"]},"payment_method_details_payment_record_zip":{"title":"payment_method_details_payment_record_zip","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_paynow":{"title":"payment_method_details_paynow","required":["reference"],"type":"object","properties":{"location":{"maxLength":5000,"type":"string","description":"ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to."},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."},"reference":{"maxLength":5000,"type":"string","description":"Reference number associated with this PayNow payment","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["location","reader","reference"]},"payment_method_details_paypal":{"title":"payment_method_details_paypal","required":["country","payer_email","payer_id","payer_name","seller_protection","transaction_id"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true},"payer_email":{"maxLength":5000,"type":"string","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.","nullable":true},"payer_id":{"maxLength":5000,"type":"string","description":"PayPal account PayerID. This identifier uniquely identifies the PayPal customer.","nullable":true},"payer_name":{"maxLength":5000,"type":"string","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.","nullable":true},"seller_protection":{"description":"The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/paypal_seller_protection"}]},"transaction_id":{"maxLength":5000,"type":"string","description":"A unique ID generated by PayPal for this transaction.","nullable":true}},"description":"","x-expandableFields":["seller_protection"],"x-stripeMostCommon":["country","payer_email","payer_id","payer_name","seller_protection","transaction_id"]},"payment_method_details_payto":{"title":"payment_method_details_payto","required":["bsb_number","last4","pay_id"],"type":"object","properties":{"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"ID of the mandate used to make this payment."},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bsb_number","last4","mandate","pay_id"]},"payment_method_details_pix":{"title":"payment_method_details_pix","type":"object","properties":{"bank_transaction_id":{"maxLength":5000,"type":"string","description":"Unique transaction id generated by BCB","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_transaction_id"]},"payment_method_details_promptpay":{"title":"payment_method_details_promptpay","required":["reference"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"Bill reference generated by PromptPay","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference"]},"payment_method_details_revolut_pay":{"title":"payment_method_details_revolut_pay","required":["transaction_id"],"type":"object","properties":{"funding":{"$ref":"#/components/schemas/revolut_pay_underlying_payment_method_funding_details"},"transaction_id":{"maxLength":5000,"type":"string","description":"The Revolut Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":["funding"],"x-stripeMostCommon":["funding","transaction_id"]},"payment_method_details_samsung_pay":{"title":"payment_method_details_samsung_pay","required":["buyer_id","transaction_id"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"A unique identifier for the buyer as determined by the local payment processor.","nullable":true},"transaction_id":{"maxLength":5000,"type":"string","description":"The Samsung Pay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","transaction_id"],"x-stripeResource":{"class_name":"SamsungPay","in_package":""}},"payment_method_details_satispay":{"title":"payment_method_details_satispay","required":["transaction_id"],"type":"object","properties":{"transaction_id":{"maxLength":5000,"type":"string","description":"The Satispay transaction ID associated with this payment.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction_id"]},"payment_method_details_sepa_credit_transfer":{"title":"payment_method_details_sepa_credit_transfer","required":["bank_name","bic","iban"],"type":"object","properties":{"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"iban":{"maxLength":5000,"type":"string","description":"IBAN of the bank account to transfer funds to.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_name","bic","iban"]},"payment_method_details_sepa_debit":{"title":"payment_method_details_sepa_debit","required":["bank_code","branch_code","country","fingerprint","last4","mandate"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"branch_code":{"maxLength":5000,"type":"string","description":"Branch code of bank associated with the bank account.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","nullable":true},"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"mandate":{"maxLength":5000,"type":"string","description":"Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_code","branch_code","country","expected_debit_date","fingerprint","last4","mandate"]},"payment_method_details_sofort":{"title":"payment_method_details_sofort","required":["bank_code","bank_name","bic","country","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","preferred_language","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","nullable":true},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"preferred_language":{"type":"string","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`","nullable":true,"enum":["de","en","es","fr","it","nl","pl"]},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","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":{"title":"payment_method_details_stripe_account","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_swish":{"title":"payment_method_details_swish","required":["fingerprint","payment_reference","verified_phone_last4"],"type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","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","nullable":true},"payment_reference":{"maxLength":5000,"type":"string","description":"Payer bank reference number for the payment","nullable":true},"verified_phone_last4":{"maxLength":5000,"type":"string","description":"The last four digits of the Swish account phone number","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint","payment_reference","verified_phone_last4"]},"payment_method_details_twint":{"title":"payment_method_details_twint","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_upi":{"title":"payment_method_details_upi","required":["vpa"],"type":"object","properties":{"vpa":{"maxLength":5000,"type":"string","description":"Customer's unique Virtual Payment Address.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["vpa"]},"payment_method_details_us_bank_account":{"title":"payment_method_details_us_bank_account","required":["account_holder_type","account_type","bank_name","fingerprint","last4","payment_reference","routing_number"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","nullable":true,"enum":["company","individual"]},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","nullable":true,"enum":["checking","savings"]},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"expected_debit_date":{"maxLength":5000,"type":"string","description":"Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format."},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"mandate":{"description":"ID of the mandate used to make this payment.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"payment_reference":{"maxLength":5000,"type":"string","description":"Reference number to locate ACH payments with customer's bank.","nullable":true},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account.","nullable":true}},"description":"","x-expandableFields":["mandate"],"x-stripeMostCommon":["account_holder_type","account_type","bank_name","expected_debit_date","fingerprint","last4","mandate","payment_reference","routing_number"]},"payment_method_details_wechat":{"title":"payment_method_details_wechat","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_details_wechat_pay":{"title":"payment_method_details_wechat_pay","required":["fingerprint","transaction_id"],"type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular WeChat Pay account. You can use this attribute to check whether two WeChat accounts are the same.","nullable":true},"location":{"maxLength":5000,"type":"string","description":"ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to."},"reader":{"maxLength":5000,"type":"string","description":"ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on."},"transaction_id":{"maxLength":5000,"type":"string","description":"Transaction ID of this particular WeChat Pay transaction.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint","location","reader","transaction_id"]},"payment_method_details_zip":{"title":"payment_method_details_zip","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_domain":{"title":"PaymentMethodDomainResourcePaymentMethodDomain","required":["amazon_pay","apple_pay","created","domain_name","enabled","google_pay","id","klarna","link","livemode","object","paypal"],"type":"object","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":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"domain_name":{"maxLength":5000,"type":"string","description":"The domain name that this payment method domain object represents."},"enabled":{"type":"boolean","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."},"google_pay":{"$ref":"#/components/schemas/payment_method_domain_resource_payment_method_status"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"klarna":{"$ref":"#/components/schemas/payment_method_domain_resource_payment_method_status"},"link":{"$ref":"#/components/schemas/payment_method_domain_resource_payment_method_status"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_method_domain"]},"paypal":{"$ref":"#/components/schemas/payment_method_domain_resource_payment_method_status"}},"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://docs.stripe.com/payments/payment-methods/pmd-registration).","x-expandableFields":["amazon_pay","apple_pay","google_pay","klarna","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":{"title":"PaymentMethodDomainResourcePaymentMethodStatus","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The status of the payment method on the domain.","enum":["active","inactive"]},"status_details":{"$ref":"#/components/schemas/payment_method_domain_resource_payment_method_status_details"}},"description":"Indicates the status of a specific payment method on a payment method domain.","x-expandableFields":["status_details"],"x-stripeMostCommon":["status"]},"payment_method_domain_resource_payment_method_status_details":{"title":"PaymentMethodDomainResourcePaymentMethodStatusDetails","required":["error_message"],"type":"object","properties":{"error_message":{"maxLength":5000,"type":"string","description":"The error message associated with the status of the payment method on the domain."}},"description":"Contains additional details about the status of a payment method for a specific payment method domain.","x-expandableFields":[],"x-stripeMostCommon":["error_message"]},"payment_method_eps":{"title":"payment_method_eps","required":["bank"],"type":"object","properties":{"bank":{"type":"string","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`.","nullable":true,"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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank"]},"payment_method_fpx":{"title":"payment_method_fpx","required":["account_holder_type","bank"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type, if provided. Can be one of `individual` or `company`.","nullable":true,"enum":["company","individual"]},"bank":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_holder_type","bank"]},"payment_method_giropay":{"title":"payment_method_giropay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_grabpay":{"title":"payment_method_grabpay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_ideal":{"title":"payment_method_ideal","required":["bank","bic"],"type":"object","properties":{"bank":{"type":"string","description":"The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.","nullable":true,"enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]},"bic":{"type":"string","description":"The Bank Identifier Code of the customer's bank, if the bank was provided.","nullable":true,"enum":["ABNANL2A","ADYBNL2A","ASNBNL21","BITSNL2A","BUNQNL2A","BUUTNL2A","FNOMNL22","FVLBNL22","HANDNL2A","INGBNL2A","KNABNL2H","MLLENL2A","MOYONL21","NNBANL2G","NTSBDEB1","RABONL2U","RBRBNL21","REVOIE23","REVOLT21","SNSBNL2A","TRIONL2U"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank","bic"]},"payment_method_interac_present":{"title":"payment_method_interac_present","required":["brand","cardholder_name","country","exp_month","exp_year","fingerprint","funding","last4","networks","preferred_locales","read_method"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `interac`, `mastercard` or `visa`.","nullable":true},"cardholder_name":{"maxLength":5000,"type":"string","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.","nullable":true},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","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.)","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month."},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year."},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)","nullable":true},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true},"networks":{"description":"Contains information about card networks that can be used to process the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_card_present_networks"}]},"preferred_locales":{"type":"array","description":"The languages that the issuing bank recommends using for localizing any customer-facing text, as read from the card. Referenced from EMV tag 5F2D, data encoded on the card's chip.","nullable":true,"items":{"maxLength":5000,"type":"string"}},"read_method":{"type":"string","description":"How card details were read in this transaction.","nullable":true,"enum":["contact_emv","contactless_emv","contactless_magstripe_mode","magnetic_stripe_fallback","magnetic_stripe_track2"]}},"description":"","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":{"title":"payment_method_kakao_pay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"KakaoPay","in_package":""}},"payment_method_klarna":{"title":"payment_method_klarna","type":"object","properties":{"dob":{"description":"The customer's date of birth, if provided.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_flows_private_payment_methods_klarna_dob"}]}},"description":"","x-expandableFields":["dob"],"x-stripeMostCommon":["dob"]},"payment_method_konbini":{"title":"payment_method_konbini","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_kr_card":{"title":"payment_method_kr_card","required":["brand","last4"],"type":"object","properties":{"brand":{"type":"string","description":"The local credit or debit card brand.","nullable":true,"enum":["bc","citi","hana","hyundai","jeju","jeonbuk","kakaobank","kbank","kdbbank","kookmin","kwangju","lotte","mg","nh","post","samsung","savingsbank","shinhan","shinhyup","suhyup","tossbank","woori"]},"last4":{"maxLength":4,"type":"string","description":"The last four digits of the card. This may not be present for American Express cards.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brand","last4"],"x-stripeResource":{"class_name":"KrCard","in_package":""}},"payment_method_link":{"title":"payment_method_link","required":["email"],"type":"object","properties":{"email":{"maxLength":5000,"type":"string","description":"Account owner's email address.","nullable":true},"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["email","persistent_token"]},"payment_method_mb_way":{"title":"payment_method_mb_way","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"MbWay","in_package":""}},"payment_method_mobilepay":{"title":"payment_method_mobilepay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_multibanco":{"title":"payment_method_multibanco","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_naver_pay":{"title":"payment_method_naver_pay","required":["buyer_id","funding"],"type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same.","nullable":true},"funding":{"type":"string","description":"Whether to fund this transaction with Naver Pay points or a card.","enum":["card","points"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id","funding"],"x-stripeResource":{"class_name":"NaverPay","in_package":""}},"payment_method_nz_bank_account":{"title":"payment_method_nz_bank_account","required":["account_holder_name","bank_code","bank_name","branch_code","last4","suffix"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name on the bank account. Only present if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.","nullable":true},"bank_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank."},"bank_name":{"maxLength":5000,"type":"string","description":"The name of the bank."},"branch_code":{"maxLength":5000,"type":"string","description":"The numeric code for the bank account's bank branch."},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number."},"suffix":{"maxLength":5000,"type":"string","description":"The suffix of the bank account number.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["account_holder_name","bank_code","bank_name","branch_code","last4","suffix"]},"payment_method_options_affirm":{"title":"payment_method_options_affirm","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"preferred_locale":{"maxLength":30,"type":"string","description":"Preferred language of the Affirm authorization page that the customer is redirected to."},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","preferred_locale","setup_future_usage"]},"payment_method_options_afterpay_clearpay":{"title":"payment_method_options_afterpay_clearpay","required":["reference"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"reference":{"maxLength":5000,"type":"string","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.","nullable":true},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","reference","setup_future_usage"]},"payment_method_options_alipay":{"title":"payment_method_options_alipay","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_alma":{"title":"payment_method_options_alma","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"payment_method_options_amazon_pay":{"title":"payment_method_options_amazon_pay","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"payment_method_options_bancontact":{"title":"payment_method_options_bancontact","required":["preferred_language"],"type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.","enum":["de","en","fr","nl"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["preferred_language","setup_future_usage"]},"payment_method_options_billie":{"title":"payment_method_options_billie","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"payment_method_options_boleto":{"title":"payment_method_options_boleto","required":["expires_after_days"],"type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"payment_method_options_card_installments":{"title":"payment_method_options_card_installments","required":["available_plans","enabled","plan"],"type":"object","properties":{"available_plans":{"type":"array","description":"Installment plans that may be selected for this PaymentIntent.","nullable":true,"items":{"$ref":"#/components/schemas/payment_method_details_card_installments_plan"}},"enabled":{"type":"boolean","description":"Whether Installments are enabled for this PaymentIntent."},"plan":{"description":"Installment plan selected for this PaymentIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_installments_plan"}]}},"description":"","x-expandableFields":["available_plans","plan"],"x-stripeMostCommon":["available_plans","enabled","plan"]},"payment_method_options_card_mandate_options":{"title":"payment_method_options_card_mandate_options","required":["amount","amount_type","description","end_date","interval","interval_count","reference","start_date","supported_types"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer.","nullable":true},"end_date":{"type":"integer","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},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","nullable":true,"items":{"type":"string","enum":["india"]}}},"description":"","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":{"title":"payment_method_options_card_present","required":["request_extended_authorization","request_incremental_authorization_support"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual","manual_preferred"]},"request_extended_authorization":{"type":"boolean","description":"Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)","nullable":true},"request_incremental_authorization_support":{"type":"boolean","description":"Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.","nullable":true},"routing":{"$ref":"#/components/schemas/payment_method_options_card_present_routing"}},"description":"","x-expandableFields":["routing"],"x-stripeMostCommon":["capture_method","request_extended_authorization","request_incremental_authorization_support","routing"]},"payment_method_options_card_present_routing":{"title":"payment_method_options_card_present_routing","required":["requested_priority"],"type":"object","properties":{"requested_priority":{"type":"string","description":"Requested routing priority","nullable":true,"enum":["domestic","international"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["requested_priority"],"x-stripeResource":{"class_name":"Routing","in_package":""}},"payment_method_options_cashapp":{"title":"payment_method_options_cashapp","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"payment_method_options_crypto":{"title":"payment_method_options_crypto","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_customer_balance":{"title":"payment_method_options_customer_balance","required":["funding_type"],"type":"object","properties":{"bank_transfer":{"$ref":"#/components/schemas/payment_method_options_customer_balance_bank_transfer"},"funding_type":{"type":"string","description":"The funding method type to be used when there are not enough funds in the customer balance. Permitted values include: `bank_transfer`.","nullable":true,"enum":["bank_transfer"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":["bank_transfer"],"x-stripeMostCommon":["bank_transfer","funding_type","setup_future_usage"]},"payment_method_options_customer_balance_bank_transfer":{"title":"payment_method_options_customer_balance_bank_transfer","required":["type"],"type":"object","properties":{"eu_bank_transfer":{"$ref":"#/components/schemas/payment_method_options_customer_balance_eu_bank_account"},"requested_address_types":{"type":"array","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":{"type":"string","enum":["aba","iban","sepa","sort_code","spei","swift","zengin"],"x-stripeBypassValidation":true}},"type":{"type":"string","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`.","nullable":true,"enum":["eu_bank_transfer","gb_bank_transfer","jp_bank_transfer","mx_bank_transfer","us_bank_transfer"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["eu_bank_transfer"],"x-stripeMostCommon":["eu_bank_transfer","requested_address_types","type"]},"payment_method_options_customer_balance_eu_bank_account":{"title":"payment_method_options_customer_balance_eu_bank_account","required":["country"],"type":"object","properties":{"country":{"type":"string","description":"The desired country code of the bank account information. Permitted values include: `DE`, `FR`, `IE`, or `NL`.","enum":["BE","DE","ES","FR","IE","NL"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country"]},"payment_method_options_fpx":{"title":"payment_method_options_fpx","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_giropay":{"title":"payment_method_options_giropay","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_grabpay":{"title":"payment_method_options_grabpay","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_ideal":{"title":"payment_method_options_ideal","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_interac_present":{"title":"payment_method_options_interac_present","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_options_klarna":{"title":"payment_method_options_klarna","required":["preferred_locale"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"preferred_locale":{"maxLength":5000,"type":"string","description":"Preferred locale of the Klarna checkout page that the customer is redirected to.","nullable":true},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","preferred_locale","setup_future_usage"]},"payment_method_options_konbini":{"title":"payment_method_options_konbini","required":["confirmation_number","expires_after_days","expires_at","product_description"],"type":"object","properties":{"confirmation_number":{"maxLength":5000,"type":"string","description":"An optional 10 to 11 digit numeric-only string determining the confirmation code at applicable convenience stores.","nullable":true},"expires_after_days":{"type":"integer","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},"expires_at":{"type":"integer","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},"product_description":{"maxLength":5000,"type":"string","description":"A product descriptor of up to 22 characters, which will appear to customers at the convenience store.","nullable":true},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["confirmation_number","expires_after_days","expires_at","product_description","setup_future_usage"]},"payment_method_options_kr_card":{"title":"payment_method_options_kr_card","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"payment_method_options_mandate_options_upi":{"title":"payment_method_options_mandate_options_upi","required":["amount","amount_type","description","end_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments.","nullable":true},"amount_type":{"type":"string","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.","nullable":true,"enum":["fixed","maximum"]},"description":{"maxLength":20,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer.","nullable":true},"end_date":{"type":"integer","description":"End date of the mandate or subscription.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","description","end_date"]},"payment_method_options_mb_way":{"title":"payment_method_options_mb_way","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_multibanco":{"title":"payment_method_options_multibanco","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_oxxo":{"title":"payment_method_options_oxxo","required":["expires_after_days"],"type":"object","properties":{"expires_after_days":{"type":"integer","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."},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["expires_after_days","setup_future_usage"]},"payment_method_options_p24":{"title":"payment_method_options_p24","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_pay_by_bank":{"title":"payment_method_options_pay_by_bank","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_options_paynow":{"title":"payment_method_options_paynow","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_paypal":{"title":"payment_method_options_paypal","required":["preferred_locale","reference"],"type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"preferred_locale":{"maxLength":5000,"type":"string","description":"Preferred locale of the PayPal checkout page that the customer is redirected to.","nullable":true},"reference":{"maxLength":5000,"type":"string","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.","nullable":true},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","preferred_locale","reference","setup_future_usage"]},"payment_method_options_pix":{"title":"payment_method_options_pix","required":["expires_after_seconds","expires_at"],"type":"object","properties":{"amount_includes_iof":{"type":"string","description":"Determines if the amount includes the IOF tax.","enum":["always","never"]},"expires_after_seconds":{"type":"integer","description":"The number of seconds (between 10 and 1209600) after which Pix payment will expire.","nullable":true},"expires_at":{"type":"integer","description":"The timestamp at which the Pix expires.","nullable":true},"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_includes_iof","expires_after_seconds","expires_at","setup_future_usage"]},"payment_method_options_promptpay":{"title":"payment_method_options_promptpay","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_revolut_pay":{"title":"payment_method_options_revolut_pay","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method","setup_future_usage"]},"payment_method_options_satispay":{"title":"payment_method_options_satispay","type":"object","properties":{"capture_method":{"type":"string","description":"Controls when the funds will be captured from the customer's account.","enum":["manual"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["capture_method"]},"payment_method_options_sofort":{"title":"payment_method_options_sofort","required":["preferred_language"],"type":"object","properties":{"preferred_language":{"type":"string","description":"Preferred language of the SOFORT authorization page that the customer is redirected to.","nullable":true,"enum":["de","en","es","fr","it","nl","pl"]},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["preferred_language","setup_future_usage"]},"payment_method_options_twint":{"title":"payment_method_options_twint","type":"object","properties":{"setup_future_usage":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_upi":{"title":"payment_method_options_upi","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_options_us_bank_account_mandate_options":{"title":"payment_method_options_us_bank_account_mandate_options","type":"object","properties":{"collection_method":{"type":"string","description":"Mandate collection method","enum":["paper"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["collection_method"]},"payment_method_options_wechat_pay":{"title":"payment_method_options_wechat_pay","required":["app_id","client"],"type":"object","properties":{"app_id":{"maxLength":5000,"type":"string","description":"The app ID registered with WeChat Pay. Only required when client is ios or android.","nullable":true},"client":{"type":"string","description":"The client type that the end customer will pay from","nullable":true,"enum":["android","ios","web"],"x-stripeBypassValidation":true},"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["app_id","client","setup_future_usage"]},"payment_method_options_zip":{"title":"payment_method_options_zip","type":"object","properties":{"setup_future_usage":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["setup_future_usage"]},"payment_method_oxxo":{"title":"payment_method_oxxo","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_p24":{"title":"payment_method_p24","required":["bank"],"type":"object","properties":{"bank":{"type":"string","description":"The customer's bank, if provided.","nullable":true,"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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank"]},"payment_method_pay_by_bank":{"title":"payment_method_pay_by_bank","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_payco":{"title":"payment_method_payco","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"Payco","in_package":""}},"payment_method_paynow":{"title":"payment_method_paynow","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_paypal":{"title":"payment_method_paypal","required":["country","payer_email","payer_id"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.","nullable":true},"payer_email":{"maxLength":5000,"type":"string","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.","nullable":true},"payer_id":{"maxLength":5000,"type":"string","description":"PayPal account PayerID. This identifier uniquely identifies the PayPal customer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country","payer_email","payer_id"]},"payment_method_payto":{"title":"payment_method_payto","required":["bsb_number","last4","pay_id"],"type":"object","properties":{"bsb_number":{"maxLength":5000,"type":"string","description":"Bank-State-Branch number of the bank account.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"pay_id":{"maxLength":5000,"type":"string","description":"The PayID alias for the bank account.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bsb_number","last4","pay_id"]},"payment_method_pix":{"title":"payment_method_pix","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_promptpay":{"title":"payment_method_promptpay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_revolut_pay":{"title":"payment_method_revolut_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_samsung_pay":{"title":"payment_method_samsung_pay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"SamsungPay","in_package":""}},"payment_method_satispay":{"title":"payment_method_satispay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_sepa_debit":{"title":"payment_method_sepa_debit","required":["bank_code","branch_code","country","fingerprint","generated_from","last4"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"branch_code":{"maxLength":5000,"type":"string","description":"Branch code of bank associated with the bank account.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"generated_from":{"description":"Information about the object that generated this PaymentMethod.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/sepa_debit_generated_from"}]},"last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true}},"description":"","x-expandableFields":["generated_from"],"x-stripeMostCommon":["bank_code","branch_code","country","fingerprint","generated_from","last4"]},"payment_method_sofort":{"title":"payment_method_sofort","required":["country"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country the bank account is located in.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country"]},"payment_method_swish":{"title":"payment_method_swish","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_twint":{"title":"payment_method_twint","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_upi":{"title":"payment_method_upi","required":["vpa"],"type":"object","properties":{"vpa":{"maxLength":5000,"type":"string","description":"Customer's unique Virtual Payment Address","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["vpa"]},"payment_method_us_bank_account":{"title":"payment_method_us_bank_account","required":["account_holder_type","account_type","bank_name","financial_connections_account","fingerprint","last4","networks","routing_number","status_details"],"type":"object","properties":{"account_holder_type":{"type":"string","description":"Account holder type: individual or company.","nullable":true,"enum":["company","individual"]},"account_type":{"type":"string","description":"Account type: checkings or savings. Defaults to checking if omitted.","nullable":true,"enum":["checking","savings"]},"bank_name":{"maxLength":5000,"type":"string","description":"The name of the bank.","nullable":true},"financial_connections_account":{"maxLength":5000,"type":"string","description":"The ID of the Financial Connections Account used to create the payment method.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"Last four digits of the bank account number.","nullable":true},"networks":{"description":"Contains information about US bank account networks that can be used.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/us_bank_account_networks"}]},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number of the bank account.","nullable":true},"status_details":{"description":"Contains information about the future reusability of this PaymentMethod.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_us_bank_account_status_details"}]}},"description":"","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":{"title":"payment_method_us_bank_account_blocked","required":["network_code","reason"],"type":"object","properties":{"network_code":{"type":"string","description":"The ACH network code that resulted in this block.","nullable":true,"enum":["R02","R03","R04","R05","R07","R08","R10","R11","R16","R20","R29","R31"]},"reason":{"type":"string","description":"The reason why this PaymentMethod's fingerprint has been blocked","nullable":true,"enum":["bank_account_closed","bank_account_frozen","bank_account_invalid_details","bank_account_restricted","bank_account_unusable","debit_not_authorized","tokenized_account_number_deactivated"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["network_code","reason"]},"payment_method_us_bank_account_status_details":{"title":"payment_method_us_bank_account_status_details","type":"object","properties":{"blocked":{"$ref":"#/components/schemas/payment_method_us_bank_account_blocked"}},"description":"","x-expandableFields":["blocked"],"x-stripeMostCommon":["blocked"]},"payment_method_wechat_pay":{"title":"payment_method_wechat_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_method_zip":{"title":"payment_method_zip","type":"object","properties":{},"description":"","x-expandableFields":[]},"payment_pages_checkout_session_adaptive_pricing":{"title":"PaymentPagesCheckoutSessionAdaptivePricing","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If enabled, Adaptive Pricing is available on [eligible sessions](https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#restrictions)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"payment_pages_checkout_session_after_expiration":{"title":"PaymentPagesCheckoutSessionAfterExpiration","required":["recovery"],"type":"object","properties":{"recovery":{"description":"When set, configuration used to recover the Checkout Session on expiry.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_after_expiration_recovery"}]}},"description":"","x-expandableFields":["recovery"],"x-stripeMostCommon":["recovery"]},"payment_pages_checkout_session_after_expiration_recovery":{"title":"PaymentPagesCheckoutSessionAfterExpirationRecovery","required":["allow_promotion_codes","enabled","expires_at","url"],"type":"object","properties":{"allow_promotion_codes":{"type":"boolean","description":"Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to `false`"},"enabled":{"type":"boolean","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."},"expires_at":{"type":"integer","description":"The timestamp at which the recovery URL will expire.","format":"unix-time","nullable":true},"url":{"maxLength":5000,"type":"string","description":"URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allow_promotion_codes","enabled","expires_at","url"]},"payment_pages_checkout_session_automatic_tax":{"title":"PaymentPagesCheckoutSessionAutomaticTax","required":["enabled","liability","provider","status"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether automatic tax is enabled for the session"},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]},"provider":{"maxLength":5000,"type":"string","description":"The tax provider powering automatic tax.","nullable":true},"status":{"type":"string","description":"The status of the most recent automated tax calculation for this session.","nullable":true,"enum":["complete","failed","requires_location_inputs"]}},"description":"","x-expandableFields":["liability"],"x-stripeMostCommon":["enabled","liability","provider","status"]},"payment_pages_checkout_session_branding_settings":{"title":"PaymentPagesCheckoutSessionBrandingSettings","required":["background_color","border_style","button_color","display_name","font_family","icon","logo"],"type":"object","properties":{"background_color":{"maxLength":5000,"type":"string","description":"A hex color value starting with `#` representing the background color for the Checkout Session."},"border_style":{"type":"string","description":"The border style for the Checkout Session. Must be one of `rounded`, `rectangular`, or `pill`.","enum":["pill","rectangular","rounded"]},"button_color":{"maxLength":5000,"type":"string","description":"A hex color value starting with `#` representing the button color for the Checkout Session."},"display_name":{"maxLength":5000,"type":"string","description":"The display name shown on the Checkout Session."},"font_family":{"maxLength":5000,"type":"string","description":"The font family for the Checkout Session. Must be one of the [supported font families](https://docs.stripe.com/payments/checkout/customization/appearance?payment-ui=stripe-hosted#font-compatibility)."},"icon":{"description":"The icon for the Checkout Session. You cannot set both `logo` and `icon`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_branding_settings_icon"}]},"logo":{"description":"The logo for the Checkout Session. You cannot set both `logo` and `icon`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_branding_settings_logo"}]}},"description":"","x-expandableFields":["icon","logo"],"x-stripeMostCommon":["background_color","border_style","button_color","display_name","font_family","icon","logo"]},"payment_pages_checkout_session_branding_settings_icon":{"title":"PaymentPagesCheckoutSessionBrandingSettingsIcon","required":["type"],"type":"object","properties":{"file":{"maxLength":5000,"type":"string","description":"The ID of a [File upload](https://stripe.com/docs/api/files) representing the icon. Purpose must be `business_icon`. Required if `type` is `file` and disallowed otherwise."},"type":{"type":"string","description":"The type of image for the icon. Must be one of `file` or `url`.","enum":["file","url"]},"url":{"maxLength":5000,"type":"string","description":"The URL of the image. Present when `type` is `url`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["file","type","url"]},"payment_pages_checkout_session_branding_settings_logo":{"title":"PaymentPagesCheckoutSessionBrandingSettingsLogo","required":["type"],"type":"object","properties":{"file":{"maxLength":5000,"type":"string","description":"The ID of a [File upload](https://stripe.com/docs/api/files) representing the logo. Purpose must be `business_logo`. Required if `type` is `file` and disallowed otherwise."},"type":{"type":"string","description":"The type of image for the logo. Must be one of `file` or `url`.","enum":["file","url"]},"url":{"maxLength":5000,"type":"string","description":"The URL of the image. Present when `type` is `url`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["file","type","url"]},"payment_pages_checkout_session_business_name":{"title":"PaymentPagesCheckoutSessionBusinessName","required":["enabled","optional"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether business name collection is enabled for the session"},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","optional"]},"payment_pages_checkout_session_checkout_address_details":{"title":"PaymentPagesCheckoutSessionCheckoutAddressDetails","required":["address","name"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"name":{"maxLength":5000,"type":"string","description":"Customer name."}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","name"]},"payment_pages_checkout_session_collected_information":{"title":"PaymentPagesCheckoutSessionCollectedInformation","required":["business_name","individual_name","shipping_details"],"type":"object","properties":{"business_name":{"maxLength":5000,"type":"string","description":"Customer’s business name for this Checkout Session","nullable":true},"individual_name":{"maxLength":5000,"type":"string","description":"Customer’s individual name for this Checkout Session","nullable":true},"shipping_details":{"description":"Shipping information for this Checkout Session.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_checkout_address_details"}]}},"description":"","x-expandableFields":["shipping_details"],"x-stripeMostCommon":["business_name","individual_name","shipping_details"]},"payment_pages_checkout_session_consent":{"title":"PaymentPagesCheckoutSessionConsent","required":["promotions","terms_of_service"],"type":"object","properties":{"promotions":{"type":"string","description":"If `opt_in`, the customer consents to receiving promotional communications\nfrom the merchant about this Checkout Session.","nullable":true,"enum":["opt_in","opt_out"]},"terms_of_service":{"type":"string","description":"If `accepted`, the customer in this Checkout Session has agreed to the merchant's terms of service.","nullable":true,"enum":["accepted"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["promotions","terms_of_service"]},"payment_pages_checkout_session_consent_collection":{"title":"PaymentPagesCheckoutSessionConsentCollection","required":["payment_method_reuse_agreement","promotions","terms_of_service"],"type":"object","properties":{"payment_method_reuse_agreement":{"description":"If set to `hidden`, it will hide legal text related to the reuse of a payment method.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_payment_method_reuse_agreement"}]},"promotions":{"type":"string","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.","nullable":true,"enum":["auto","none"]},"terms_of_service":{"type":"string","description":"If set to `required`, it requires customers to accept the terms of service before being able to pay.","nullable":true,"enum":["none","required"]}},"description":"","x-expandableFields":["payment_method_reuse_agreement"],"x-stripeMostCommon":["payment_method_reuse_agreement","promotions","terms_of_service"]},"payment_pages_checkout_session_currency_conversion":{"title":"PaymentPagesCheckoutSessionCurrencyConversion","required":["amount_subtotal","amount_total","fx_rate","source_currency"],"type":"object","properties":{"amount_subtotal":{"type":"integer","description":"Total of all items in source currency before discounts or taxes are applied."},"amount_total":{"type":"integer","description":"Total of all items in source currency after discounts and taxes are applied."},"fx_rate":{"type":"string","description":"Exchange rate used to convert source currency amounts to customer currency amounts","format":"decimal"},"source_currency":{"maxLength":5000,"type":"string","description":"Creation currency of the CheckoutSession before localization"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_subtotal","amount_total","fx_rate","source_currency"]},"payment_pages_checkout_session_custom_fields":{"title":"PaymentPagesCheckoutSessionCustomFields","required":["key","label","optional","type"],"type":"object","properties":{"dropdown":{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_fields_dropdown"},"key":{"maxLength":5000,"type":"string","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."},"label":{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_fields_label"},"numeric":{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_fields_numeric"},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."},"text":{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_fields_text"},"type":{"type":"string","description":"The type of the field.","enum":["dropdown","numeric","text"]}},"description":"","x-expandableFields":["dropdown","label","numeric","text"],"x-stripeMostCommon":["dropdown","key","label","numeric","optional","text","type"]},"payment_pages_checkout_session_custom_fields_dropdown":{"title":"PaymentPagesCheckoutSessionCustomFieldsDropdown","required":["default_value","options","value"],"type":"object","properties":{"default_value":{"maxLength":5000,"type":"string","description":"The value that pre-fills on the payment page.","nullable":true},"options":{"type":"array","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"}},"value":{"maxLength":5000,"type":"string","description":"The option selected by the customer. This will be the `value` for the option.","nullable":true}},"description":"","x-expandableFields":["options"],"x-stripeMostCommon":["default_value","options","value"],"x-stripeResource":{"class_name":"CustomFieldDropdown","in_package":""}},"payment_pages_checkout_session_custom_fields_label":{"title":"PaymentPagesCheckoutSessionCustomFieldsLabel","required":["custom","type"],"type":"object","properties":{"custom":{"maxLength":5000,"type":"string","description":"Custom text for the label, displayed to the customer. Up to 50 characters.","nullable":true},"type":{"type":"string","description":"The type of the label.","enum":["custom"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom","type"]},"payment_pages_checkout_session_custom_fields_numeric":{"title":"PaymentPagesCheckoutSessionCustomFieldsNumeric","required":["default_value","maximum_length","minimum_length","value"],"type":"object","properties":{"default_value":{"maxLength":5000,"type":"string","description":"The value that pre-fills the field on the payment page.","nullable":true},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input.","nullable":true},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input.","nullable":true},"value":{"maxLength":5000,"type":"string","description":"The value entered by the customer, containing only digits.","nullable":true}},"description":"","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":{"title":"PaymentPagesCheckoutSessionCustomFieldsOption","required":["label","value"],"type":"object","properties":{"label":{"maxLength":5000,"type":"string","description":"The label for the option, displayed to the customer. Up to 100 characters."},"value":{"maxLength":5000,"type":"string","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."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["label","value"],"x-stripeResource":{"class_name":"CustomFieldDropdownOption","in_package":""}},"payment_pages_checkout_session_custom_fields_text":{"title":"PaymentPagesCheckoutSessionCustomFieldsText","required":["default_value","maximum_length","minimum_length","value"],"type":"object","properties":{"default_value":{"maxLength":5000,"type":"string","description":"The value that pre-fills the field on the payment page.","nullable":true},"maximum_length":{"type":"integer","description":"The maximum character length constraint for the customer's input.","nullable":true},"minimum_length":{"type":"integer","description":"The minimum character length requirement for the customer's input.","nullable":true},"value":{"maxLength":5000,"type":"string","description":"The value entered by the customer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["default_value","maximum_length","minimum_length","value"]},"payment_pages_checkout_session_custom_text":{"title":"PaymentPagesCheckoutSessionCustomText","required":["after_submit","shipping_address","submit","terms_of_service_acceptance"],"type":"object","properties":{"after_submit":{"description":"Custom text that should be displayed after the payment confirmation button.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_text_position"}]},"shipping_address":{"description":"Custom text that should be displayed alongside shipping address collection.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_text_position"}]},"submit":{"description":"Custom text that should be displayed alongside the payment confirmation button.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_text_position"}]},"terms_of_service_acceptance":{"description":"Custom text that should be displayed in place of the default terms of service agreement text.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_custom_text_position"}]}},"description":"","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":{"title":"PaymentPagesCheckoutSessionCustomTextPosition","required":["message"],"type":"object","properties":{"message":{"maxLength":1200,"type":"string","description":"Text can be up to 1200 characters in length."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["message"]},"payment_pages_checkout_session_customer_details":{"title":"PaymentPagesCheckoutSessionCustomerDetails","required":["address","business_name","email","individual_name","name","phone","tax_exempt","tax_ids"],"type":"object","properties":{"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,"anyOf":[{"$ref":"#/components/schemas/address"}]},"business_name":{"maxLength":150,"type":"string","description":"The customer's business name after a completed Checkout Session.","nullable":true},"email":{"maxLength":5000,"type":"string","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.","nullable":true},"individual_name":{"maxLength":150,"type":"string","description":"The customer's individual name after a completed Checkout Session.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"The customer's name after a completed Checkout Session. Note: This property is populated only for sessions on or after March 30, 2022.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"The customer's phone number after a completed Checkout Session.","nullable":true},"tax_exempt":{"type":"string","description":"The customer’s tax exempt status after a completed Checkout Session.","nullable":true,"enum":["exempt","none","reverse"]},"tax_ids":{"type":"array","description":"The customer’s tax IDs after a completed Checkout Session.","nullable":true,"items":{"$ref":"#/components/schemas/payment_pages_checkout_session_tax_id"}}},"description":"","x-expandableFields":["address","tax_ids"],"x-stripeMostCommon":["address","business_name","email","individual_name","name","phone","tax_exempt","tax_ids"]},"payment_pages_checkout_session_discount":{"title":"PaymentPagesCheckoutSessionDiscount","required":["coupon","promotion_code"],"type":"object","properties":{"coupon":{"description":"Coupon attached to the Checkout Session.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/coupon"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/coupon"}]}},"promotion_code":{"description":"Promotion code attached to the Checkout Session.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/promotion_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/promotion_code"}]}}},"description":"","x-expandableFields":["coupon","promotion_code"],"x-stripeMostCommon":["coupon","promotion_code"]},"payment_pages_checkout_session_individual_name":{"title":"PaymentPagesCheckoutSessionIndividualName","required":["enabled","optional"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether individual name collection is enabled for the session"},"optional":{"type":"boolean","description":"Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","optional"]},"payment_pages_checkout_session_invoice_creation":{"title":"PaymentPagesCheckoutSessionInvoiceCreation","required":["enabled","invoice_data"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether invoice creation is enabled for the Checkout Session."},"invoice_data":{"$ref":"#/components/schemas/payment_pages_checkout_session_invoice_settings"}},"description":"","x-expandableFields":["invoice_data"],"x-stripeMostCommon":["enabled","invoice_data"]},"payment_pages_checkout_session_invoice_settings":{"title":"PaymentPagesCheckoutSessionInvoiceSettings","required":["account_tax_ids","custom_fields","description","footer","issuer","metadata","rendering_options"],"type":"object","properties":{"account_tax_ids":{"type":"array","description":"The account tax IDs associated with the invoice.","nullable":true,"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"}]}}},"custom_fields":{"type":"array","description":"Custom fields displayed on the invoice.","nullable":true,"items":{"$ref":"#/components/schemas/invoice_setting_custom_field"}},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"footer":{"maxLength":5000,"type":"string","description":"Footer displayed on the invoice.","nullable":true},"issuer":{"description":"The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"rendering_options":{"description":"Options for invoice PDF rendering.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_setting_checkout_rendering_options"}]}},"description":"","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_name_collection":{"title":"PaymentPagesCheckoutSessionNameCollection","type":"object","properties":{"business":{"$ref":"#/components/schemas/payment_pages_checkout_session_business_name"},"individual":{"$ref":"#/components/schemas/payment_pages_checkout_session_individual_name"}},"description":"","x-expandableFields":["business","individual"],"x-stripeMostCommon":["business","individual"]},"payment_pages_checkout_session_optional_item":{"title":"PaymentPagesCheckoutSessionOptionalItem","required":["adjustable_quantity","price","quantity"],"type":"object","properties":{"adjustable_quantity":{"nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_pages_checkout_session_optional_item_adjustable_quantity"}]},"price":{"maxLength":5000,"type":"string"},"quantity":{"type":"integer"}},"description":"","x-expandableFields":["adjustable_quantity"],"x-stripeMostCommon":["adjustable_quantity","price","quantity"]},"payment_pages_checkout_session_optional_item_adjustable_quantity":{"title":"PaymentPagesCheckoutSessionOptionalItemAdjustableQuantity","required":["enabled","maximum","minimum"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Set to true if the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity of this item the customer can purchase. By default this value is 99. You can specify a value up to 999999.","nullable":true},"minimum":{"type":"integer","description":"The minimum quantity of this item the customer must purchase, if they choose to purchase it. Because this item is optional, the customer will always be able to remove it from their order, even if the `minimum` configured here is greater than 0. By default this value is 0.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","maximum","minimum"]},"payment_pages_checkout_session_payment_method_reuse_agreement":{"title":"PaymentPagesCheckoutSessionPaymentMethodReuseAgreement","required":["position"],"type":"object","properties":{"position":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["position"]},"payment_pages_checkout_session_permissions":{"title":"PaymentPagesCheckoutSessionPermissions","required":["update_shipping_details"],"type":"object","properties":{"update_shipping_details":{"type":"string","description":"Determines which entity is allowed to update the shipping details.\n\nDefault is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.\n\nWhen set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.","nullable":true,"enum":["client_only","server_only"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["update_shipping_details"],"x-stripeResource":{"class_name":"Permissions","in_package":""}},"payment_pages_checkout_session_phone_number_collection":{"title":"PaymentPagesCheckoutSessionPhoneNumberCollection","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether phone number collection is enabled for the session"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"payment_pages_checkout_session_saved_payment_method_options":{"title":"PaymentPagesCheckoutSessionSavedPaymentMethodOptions","required":["allow_redisplay_filters","payment_method_remove","payment_method_save"],"type":"object","properties":{"allow_redisplay_filters":{"type":"array","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.","nullable":true,"items":{"type":"string","enum":["always","limited","unspecified"]}},"payment_method_remove":{"type":"string","description":"Enable customers to choose if they wish to remove their saved payment methods. Disabled by default.","nullable":true,"enum":["disabled","enabled"]},"payment_method_save":{"type":"string","description":"Enable customers to choose if they wish to save their payment method for future use. Disabled by default.","nullable":true,"enum":["disabled","enabled"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allow_redisplay_filters","payment_method_remove","payment_method_save"]},"payment_pages_checkout_session_shipping_address_collection":{"title":"PaymentPagesCheckoutSessionShippingAddressCollection","required":["allowed_countries"],"type":"object","properties":{"allowed_countries":{"type":"array","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, SY, UM, VI`.","items":{"type":"string","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","SD","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"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allowed_countries"],"x-stripeResource":{"class_name":"ShippingAddressCollection","in_package":""}},"payment_pages_checkout_session_shipping_cost":{"title":"PaymentPagesCheckoutSessionShippingCost","required":["amount_subtotal","amount_tax","amount_total","shipping_rate"],"type":"object","properties":{"amount_subtotal":{"type":"integer","description":"Total shipping cost before any discounts or taxes are applied."},"amount_tax":{"type":"integer","description":"Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0."},"amount_total":{"type":"integer","description":"Total shipping cost after discounts and taxes are applied."},"shipping_rate":{"description":"The ID of the ShippingRate for this order.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/shipping_rate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/shipping_rate"}]}},"taxes":{"type":"array","description":"The taxes applied to the shipping rate.","items":{"$ref":"#/components/schemas/line_items_tax_amount"}}},"description":"","x-expandableFields":["shipping_rate","taxes"],"x-stripeMostCommon":["amount_subtotal","amount_tax","amount_total","shipping_rate","taxes"]},"payment_pages_checkout_session_shipping_option":{"title":"PaymentPagesCheckoutSessionShippingOption","required":["shipping_amount","shipping_rate"],"type":"object","properties":{"shipping_amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"shipping_rate":{"description":"The shipping rate.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/shipping_rate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/shipping_rate"}]}}},"description":"","x-expandableFields":["shipping_rate"],"x-stripeMostCommon":["shipping_amount","shipping_rate"]},"payment_pages_checkout_session_tax_id":{"title":"PaymentPagesCheckoutSessionTaxID","required":["type","value"],"type":"object","properties":{"type":{"type":"string","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`, `pl_nip`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_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`, `al_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`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","unknown","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"]},"value":{"maxLength":5000,"type":"string","description":"The value of the tax ID.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type","value"]},"payment_pages_checkout_session_tax_id_collection":{"title":"PaymentPagesCheckoutSessionTaxIDCollection","required":["enabled","required"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Indicates whether tax ID collection is enabled for the session"},"required":{"type":"string","description":"Indicates whether a tax ID is required on the payment page","enum":["if_supported","never"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","required"]},"payment_pages_checkout_session_total_details":{"title":"PaymentPagesCheckoutSessionTotalDetails","required":["amount_discount","amount_shipping","amount_tax"],"type":"object","properties":{"amount_discount":{"type":"integer","description":"This is the sum of all the discounts."},"amount_shipping":{"type":"integer","description":"This is the sum of all the shipping amounts.","nullable":true},"amount_tax":{"type":"integer","description":"This is the sum of all the tax amounts."},"breakdown":{"$ref":"#/components/schemas/payment_pages_checkout_session_total_details_resource_breakdown"}},"description":"","x-expandableFields":["breakdown"],"x-stripeMostCommon":["amount_discount","amount_shipping","amount_tax","breakdown"]},"payment_pages_checkout_session_total_details_resource_breakdown":{"title":"PaymentPagesCheckoutSessionTotalDetailsResourceBreakdown","required":["discounts","taxes"],"type":"object","properties":{"discounts":{"type":"array","description":"The aggregated discounts.","items":{"$ref":"#/components/schemas/line_items_discount_amount"}},"taxes":{"type":"array","description":"The aggregated tax amounts by rate.","items":{"$ref":"#/components/schemas/line_items_tax_amount"}}},"description":"","x-expandableFields":["discounts","taxes"],"x-stripeMostCommon":["discounts","taxes"]},"payment_pages_private_card_payment_method_options_resource_restrictions":{"title":"PaymentPagesPrivateCardPaymentMethodOptionsResourceRestrictions","type":"object","properties":{"brands_blocked":{"type":"array","description":"Specify the card brands to block in the Checkout Session. If a customer enters or selects a card belonging to a blocked brand, they can't complete the Session.","items":{"type":"string","enum":["american_express","discover_global_network","mastercard","visa"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brands_blocked"],"x-stripeResource":{"class_name":"CheckoutCardRestrictions","in_package":""}},"payment_record":{"title":"PaymentRecord","required":["amount","amount_authorized","amount_canceled","amount_failed","amount_guaranteed","amount_refunded","amount_requested","application","created","customer_details","customer_presence","description","id","latest_payment_attempt_record","livemode","metadata","object","payment_method_details","processor_details","reported_by","shipping_details"],"type":"object","properties":{"amount":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_authorized":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_canceled":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_failed":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_guaranteed":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_refunded":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"amount_requested":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_amount"},"application":{"maxLength":5000,"type":"string","description":"ID of the Connect application that created the PaymentRecord.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_details":{"description":"Customer information for this payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_customer_details"}]},"customer_presence":{"type":"string","description":"Indicates whether the customer was present in your checkout flow during this payment.","nullable":true,"enum":["off_session","on_session"]},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"latest_payment_attempt_record":{"maxLength":5000,"type":"string","description":"ID of the latest Payment Attempt Record attached to this Payment Record.","nullable":true},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payment_record"]},"payment_method_details":{"description":"Information about the Payment Method debited for this payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_details"}]},"processor_details":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_processor_details"},"reported_by":{"type":"string","description":"Indicates who reported the payment.","enum":["self","stripe"]},"shipping_details":{"description":"Shipping information for this payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_shipping_details"}]}},"description":"A Payment Record is a resource that allows you to represent payments that occur on- or off-Stripe.\nFor example, you can create a Payment Record to model a payment made on a different payment processor,\nin order to mark an Invoice as paid and a Subscription as active. Payment Records consist of one or\nmore Payment Attempt Records, which represent individual attempts made on a payment network.","x-expandableFields":["amount","amount_authorized","amount_canceled","amount_failed","amount_guaranteed","amount_refunded","amount_requested","customer_details","payment_method_details","processor_details","shipping_details"],"x-resourceId":"payment_record","x-stripeMostCommon":["amount","amount_authorized","amount_canceled","amount_failed","amount_guaranteed","amount_refunded","amount_requested","customer_details","customer_presence","description","id","metadata","payment_method_details","processor_details","shipping_details"],"x-stripeOperations":[{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v1/payment_records/{id}"},{"method_name":"report_payment_attempt","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_records/{id}/report_payment_attempt"},{"method_name":"report_payment_attempt_canceled","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_records/{id}/report_payment_attempt_canceled"},{"method_name":"report_payment_attempt_failed","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_records/{id}/report_payment_attempt_failed"},{"method_name":"report_payment_attempt_guaranteed","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_records/{id}/report_payment_attempt_guaranteed"},{"method_name":"report_payment_attempt_informational","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_records/{id}/report_payment_attempt_informational"},{"method_name":"report_refund","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_records/{id}/report_refund"},{"method_name":"report_payment","method_on":"service","method_type":"custom","operation":"post","path":"/v1/payment_records/report_payment"}],"x-stripeResource":{"class_name":"PaymentRecord","in_package":""}},"payment_source":{"title":"Polymorphic","anyOf":[{"$ref":"#/components/schemas/account"},{"$ref":"#/components/schemas/bank_account"},{"$ref":"#/components/schemas/card"},{"$ref":"#/components/schemas/source"}],"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}},"payments_primitives_payment_records_resource_address":{"title":"PaymentsPrimitivesPaymentRecordsResourceAddress","required":["city","country","line1","line2","postal_code","state"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","nullable":true},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name.","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","nullable":true},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).","nullable":true}},"description":"A representation of a physical address.","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"payments_primitives_payment_records_resource_amount":{"title":"PaymentsPrimitivesPaymentRecordsResourceAmount","required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"value":{"type":"integer","description":"A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY."}},"description":"A representation of an amount of money, consisting of an amount and a currency.","x-expandableFields":[],"x-stripeMostCommon":["currency","value"]},"payments_primitives_payment_records_resource_billing_details":{"title":"PaymentsPrimitivesPaymentRecordsResourceBillingDetails","required":["address","email","name","phone"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_address"},"email":{"maxLength":5000,"type":"string","description":"The billing email associated with the method of payment.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"The billing name associated with the method of payment.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"The billing phone number associated with the method of payment.","nullable":true}},"description":"Billing details used by the customer for this payment.","x-expandableFields":["address"],"x-stripeMostCommon":["address","email","name","phone"]},"payments_primitives_payment_records_resource_customer_details":{"title":"PaymentsPrimitivesPaymentRecordsResourceCustomerDetails","required":["customer","email","name","phone"],"type":"object","properties":{"customer":{"maxLength":5000,"type":"string","description":"ID of the Stripe Customer associated with this payment.","nullable":true},"email":{"maxLength":5000,"type":"string","description":"The customer's email address.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"The customer's name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"The customer's phone number.","nullable":true}},"description":"Information about the customer for this payment.","x-expandableFields":[],"x-stripeMostCommon":["customer","email","name","phone"]},"payments_primitives_payment_records_resource_payment_method_card_details":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetails","required":["authorization_code","brand","checks","country","description","exp_month","exp_year","funding","iin","installments","issuer","last4","network","network_advice_code","network_decline_code","network_transaction_id","stored_credential_usage","three_d_secure","wallet"],"type":"object","properties":{"authorization_code":{"maxLength":5000,"type":"string","description":"The authorization code of the payment.","nullable":true},"brand":{"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.","nullable":true,"enum":["amex","cartes_bancaires","diners","discover","eftpos_au","interac","jcb","link","mastercard","unionpay","unknown","visa"]},"capture_before":{"type":"integer","description":"When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.","format":"unix-time"},"checks":{"description":"Check results by Card networks on Card address and CVC at time of payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_checks"}]},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","description":"A high-level description of the type of cards issued in this range.","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month.","nullable":true},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true,"enum":["credit","debit","prepaid","unknown"]},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card.","nullable":true},"installments":{"description":"Installment details for this payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_installments"}]},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true},"moto":{"type":"boolean","description":"True if this payment was marked as MOTO and out of scope for SCA.","nullable":true},"network":{"type":"string","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`.","nullable":true,"enum":["amex","cartes_bancaires","diners","discover","eftpos_au","interac","jcb","link","mastercard","unionpay","unknown","visa"]},"network_advice_code":{"maxLength":5000,"type":"string","description":"Advice code from the card network for the failed payment.","nullable":true},"network_decline_code":{"maxLength":5000,"type":"string","description":"Decline code from the card network for the failed payment.","nullable":true},"network_token":{"description":"If this card has network token credentials, this contains the details of the network token credentials.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_network_token"}]},"network_transaction_id":{"maxLength":5000,"type":"string","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. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.","nullable":true},"stored_credential_usage":{"type":"string","description":"The transaction type that was passed for an off-session, Merchant-Initiated transaction, one of `recurring` or `unscheduled`.","nullable":true,"enum":["recurring","unscheduled"]},"three_d_secure":{"description":"Populated if this transaction used 3D Secure authentication.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_three_d_secure"}]},"wallet":{"description":"If this Card is part of a card wallet, this contains the details of the card wallet.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_wallet"}]}},"description":"Details of the card used for this payment attempt.","x-expandableFields":["checks","installments","network_token","three_d_secure","wallet"],"x-stripeMostCommon":["authorization_code","brand","capture_before","checks","country","description","exp_month","exp_year","fingerprint","funding","iin","installments","issuer","last4","moto","network","network_advice_code","network_decline_code","network_token","network_transaction_id","stored_credential_usage","three_d_secure","wallet"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_checks":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceChecks","required":["address_line1_check","address_postal_code_check","cvc_check"],"type":"object","properties":{"address_line1_check":{"type":"string","description":"If you provide a value for `address.line1`, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true,"enum":["fail","pass","unavailable","unchecked"]},"address_postal_code_check":{"type":"string","description":"If you provide a address postal code, the check result is one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true,"enum":["fail","pass","unavailable","unchecked"]},"cvc_check":{"type":"string","description":"If you provide a CVC, the check results is one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true,"enum":["fail","pass","unavailable","unchecked"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["address_line1_check","address_postal_code_check","cvc_check"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_installment_plan":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceInstallmentPlan","required":["count","interval","type"],"type":"object","properties":{"count":{"type":"integer","description":"For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.","nullable":true},"interval":{"type":"string","description":"For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. One of `month`.","nullable":true,"enum":["month"]},"type":{"type":"string","description":"Type of installment plan, one of `fixed_count`, `revolving`, or `bonus`.","enum":["bonus","fixed_count","revolving"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["count","interval","type"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_installments":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceInstallments","required":["plan"],"type":"object","properties":{"plan":{"description":"Installment plan selected for the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_installment_plan"}]}},"description":"","x-expandableFields":["plan"],"x-stripeMostCommon":["plan"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_network_token":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceNetworkToken","required":["used"],"type":"object","properties":{"used":{"type":"boolean","description":"Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["used"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_three_d_secure":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceThreeDSecure","required":["authentication_flow","cryptogram","electronic_commerce_indicator","exemption_indicator","exemption_indicator_applied","result","result_reason","version"],"type":"object","properties":{"authentication_flow":{"type":"string","description":"For authenticated transactions: Indicates how the issuing bank authenticated the customer.","nullable":true,"enum":["challenge","frictionless"]},"cryptogram":{"maxLength":5000,"type":"string","description":"The 3D Secure cryptogram, also known as the \"authentication value\" (AAV, CAVV or AEVV).","nullable":true},"electronic_commerce_indicator":{"type":"string","description":"The Electronic Commerce Indicator (ECI). A protocol-level field indicating what degree of authentication was performed.","nullable":true,"enum":["01","02","03","04","05","06","07"]},"exemption_indicator":{"type":"string","description":"The exemption requested via 3DS and accepted by the issuer at authentication time.","nullable":true,"enum":["low_risk","none"]},"exemption_indicator_applied":{"type":"boolean","description":"Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on the outcome of Stripe's internal risk assessment.","nullable":true},"result":{"type":"string","description":"Indicates the outcome of 3D Secure authentication.","nullable":true,"enum":["attempt_acknowledged","authenticated","exempted","failed","not_supported","processing_error"]},"result_reason":{"type":"string","description":"Additional information about why 3D Secure succeeded or failed, based on the `result`.","nullable":true,"enum":["abandoned","bypassed","canceled","card_not_enrolled","network_not_supported","protocol_error","rejected"]},"version":{"type":"string","description":"The version of 3D Secure that was used.","nullable":true,"enum":["1.0.2","2.1.0","2.2.0"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["authentication_flow","cryptogram","electronic_commerce_indicator","exemption_indicator","exemption_indicator_applied","result","result_reason","version"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_wallet":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceWallet","required":["type"],"type":"object","properties":{"apple_pay":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_wallet_resource_apple_pay"},"dynamic_last4":{"maxLength":5000,"type":"string","description":"(For tokenized numbers only.) The last four digits of the device account number."},"google_pay":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details_resource_wallet_resource_google_pay"},"type":{"maxLength":5000,"type":"string","description":"The type of the card wallet, one of `apple_pay` or `google_pay`. 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."}},"description":"","x-expandableFields":["apple_pay","google_pay"],"x-stripeMostCommon":["apple_pay","dynamic_last4","google_pay","type"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_wallet_resource_apple_pay":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceWalletResourceApplePay","required":["type"],"type":"object","properties":{"type":{"maxLength":5000,"type":"string","description":"Type of the apple_pay transaction, one of `apple_pay` or `apple_pay_later`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"payments_primitives_payment_records_resource_payment_method_card_details_resource_wallet_resource_google_pay":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCardDetailsResourceWalletResourceGooglePay","type":"object","properties":{},"description":"","x-expandableFields":[]},"payments_primitives_payment_records_resource_payment_method_custom_details":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails","required":["display_name","type"],"type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","description":"Display name for the custom (user-defined) payment method type used to make this payment."},"type":{"maxLength":5000,"type":"string","description":"The custom payment method type associated with this payment.","nullable":true}},"description":"Custom Payment Methods represent Payment Method types not modeled directly in\nthe Stripe API. This resource consists of details about the custom payment method\nused for this payment attempt.","x-expandableFields":[],"x-stripeMostCommon":["display_name","type"]},"payments_primitives_payment_records_resource_payment_method_details":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodDetails","required":["billing_details","payment_method","type"],"type":"object","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_payment_record_affirm"},"afterpay_clearpay":{"$ref":"#/components/schemas/payment_method_details_payment_record_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_payment_record_bancontact"},"billie":{"$ref":"#/components/schemas/payment_method_details_billie"},"billing_details":{"description":"The billing details associated with the method of payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_billing_details"}]},"blik":{"$ref":"#/components/schemas/payment_method_details_blik"},"boleto":{"$ref":"#/components/schemas/payment_method_details_payment_record_boleto"},"card":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_card_details"},"card_present":{"$ref":"#/components/schemas/payment_method_details_card_present"},"cashapp":{"$ref":"#/components/schemas/payment_method_details_payment_record_cashapp"},"crypto":{"$ref":"#/components/schemas/payment_method_details_crypto"},"custom":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_payment_method_custom_details"},"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_payment_record_giropay"},"grabpay":{"$ref":"#/components/schemas/payment_method_details_grabpay"},"ideal":{"$ref":"#/components/schemas/payment_method_details_payment_record_ideal"},"interac_present":{"$ref":"#/components/schemas/payment_method_details_interac_present"},"kakao_pay":{"$ref":"#/components/schemas/payment_method_details_payment_record_kakao_pay"},"klarna":{"$ref":"#/components/schemas/payment_method_details_klarna"},"konbini":{"$ref":"#/components/schemas/payment_method_details_payment_record_konbini"},"kr_card":{"$ref":"#/components/schemas/payment_method_details_kr_card"},"link":{"$ref":"#/components/schemas/payment_method_details_link"},"mb_way":{"$ref":"#/components/schemas/payment_method_details_payment_record_mb_way"},"mobilepay":{"$ref":"#/components/schemas/payment_method_details_payment_record_mobilepay"},"multibanco":{"$ref":"#/components/schemas/payment_method_details_payment_record_multibanco"},"naver_pay":{"$ref":"#/components/schemas/payment_method_details_payment_record_naver_pay"},"nz_bank_account":{"$ref":"#/components/schemas/payment_method_details_nz_bank_account"},"oxxo":{"$ref":"#/components/schemas/payment_method_details_payment_record_oxxo"},"p24":{"$ref":"#/components/schemas/payment_method_details_p24"},"pay_by_bank":{"$ref":"#/components/schemas/payment_method_details_pay_by_bank"},"payco":{"$ref":"#/components/schemas/payment_method_details_payment_record_payco"},"payment_method":{"maxLength":5000,"type":"string","description":"ID of the Stripe PaymentMethod used to make this payment.","nullable":true},"paynow":{"$ref":"#/components/schemas/payment_method_details_payment_record_paynow"},"paypal":{"$ref":"#/components/schemas/payment_method_details_paypal"},"payto":{"$ref":"#/components/schemas/payment_method_details_payto"},"pix":{"$ref":"#/components/schemas/payment_method_details_payment_record_pix"},"promptpay":{"$ref":"#/components/schemas/payment_method_details_payment_record_promptpay"},"revolut_pay":{"$ref":"#/components/schemas/payment_method_details_revolut_pay"},"samsung_pay":{"$ref":"#/components/schemas/payment_method_details_payment_record_samsung_pay"},"satispay":{"$ref":"#/components/schemas/payment_method_details_satispay"},"sepa_credit_transfer":{"$ref":"#/components/schemas/payment_method_details_sepa_credit_transfer"},"sepa_debit":{"$ref":"#/components/schemas/payment_method_details_payment_record_sepa_debit"},"sofort":{"$ref":"#/components/schemas/payment_method_details_payment_record_sofort"},"stripe_account":{"$ref":"#/components/schemas/payment_method_details_stripe_account"},"swish":{"$ref":"#/components/schemas/payment_method_details_payment_record_swish"},"twint":{"$ref":"#/components/schemas/payment_method_details_payment_record_twint"},"type":{"maxLength":5000,"type":"string","description":"The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.\nAn additional hash is included on `payment_method_details` with a name matching this value.\nIt contains information specific to the payment method."},"upi":{"$ref":"#/components/schemas/payment_method_details_upi"},"us_bank_account":{"$ref":"#/components/schemas/payment_method_details_payment_record_us_bank_account"},"wechat":{"$ref":"#/components/schemas/payment_method_details_wechat"},"wechat_pay":{"$ref":"#/components/schemas/payment_method_details_payment_record_wechat_pay"},"zip":{"$ref":"#/components/schemas/payment_method_details_payment_record_zip"}},"description":"Details about the Payment Method used in this payment attempt.","x-expandableFields":["ach_credit_transfer","ach_debit","acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","billing_details","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_account","swish","twint","upi","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","billie","billing_details","blik","boleto","card","card_present","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","interac_present","kakao_pay","klarna","konbini","kr_card","link","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","payment_method","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_credit_transfer","sepa_debit","sofort","stripe_account","swish","twint","type","upi","us_bank_account","wechat","wechat_pay","zip"]},"payments_primitives_payment_records_resource_payment_method_konbini_details_resource_store":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodKonbiniDetailsResourceStore","required":["chain"],"type":"object","properties":{"chain":{"type":"string","description":"The name of the convenience store chain where the payment was completed.","nullable":true,"enum":["familymart","lawson","ministop","seicomart"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["chain"]},"payments_primitives_payment_records_resource_payment_method_mobilepay_details_resource_card":{"title":"PaymentsPrimitivesPaymentRecordsResourcePaymentMethodMobilepayDetailsResourceCard","required":["brand","country","exp_month","exp_year","last4"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Brand of the card used in the transaction","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country of the card","nullable":true},"exp_month":{"type":"integer","description":"Two digit number representing the card's expiration month","nullable":true},"exp_year":{"type":"integer","description":"Two digit number representing the card's expiration year","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last 4 digits of the card","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["brand","country","exp_month","exp_year","last4"]},"payments_primitives_payment_records_resource_processor_details":{"title":"PaymentsPrimitivesPaymentRecordsResourceProcessorDetails","required":["type"],"type":"object","properties":{"custom":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_processor_details_resource_custom_details"},"type":{"type":"string","description":"The processor used for this payment attempt.","enum":["custom"],"x-stripeBypassValidation":true}},"description":"Processor information associated with this payment.","x-expandableFields":["custom"],"x-stripeMostCommon":["custom","type"]},"payments_primitives_payment_records_resource_processor_details_resource_custom_details":{"title":"PaymentsPrimitivesPaymentRecordsResourceProcessorDetailsResourceCustomDetails","required":["payment_reference"],"type":"object","properties":{"payment_reference":{"maxLength":5000,"type":"string","description":"An opaque string for manual reconciliation of this payment, for example a check number or a payment processor ID.","nullable":true}},"description":"Custom processors represent payment processors not modeled directly in\nthe Stripe API. This resource consists of details about the custom processor\nused for this payment attempt.","x-expandableFields":[],"x-stripeMostCommon":["payment_reference"]},"payments_primitives_payment_records_resource_shipping_details":{"title":"PaymentsPrimitivesPaymentRecordsResourceShippingDetails","required":["address","name","phone"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/payments_primitives_payment_records_resource_address"},"name":{"maxLength":5000,"type":"string","description":"The shipping recipient's name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"The shipping recipient's phone number.","nullable":true}},"description":"The customer's shipping information associated with this payment.","x-expandableFields":["address"],"x-stripeMostCommon":["address","name","phone"]},"payout":{"title":"Payout","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","payout_method","reconciliation_status","reversed_by","source_type","statement_descriptor","status","trace_id","type"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount (in cents (or local equivalent)) that transfers to your bank account or debit card."},"application_fee":{"description":"The application fee (if any) for the payout. [See the Connect documentation](https://docs.stripe.com/connect/instant-payouts#monetization-and-fees) for details.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application_fee"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application_fee"}]}},"application_fee_amount":{"type":"integer","description":"The amount of the application fee (if any) requested for the payout. [See the Connect documentation](https://docs.stripe.com/connect/instant-payouts#monetization-and-fees) for details.","nullable":true},"arrival_date":{"type":"integer","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"},"automatic":{"type":"boolean","description":"Returns `true` if the payout is created by an [automated payout schedule](https://docs.stripe.com/payouts#payout-schedule) and `false` if it's [requested manually](https://stripe.com/docs/payouts#manual-payouts)."},"balance_transaction":{"description":"ID of the balance transaction that describes the impact of this payout on your account balance.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"destination":{"description":"ID of the bank account or card the payout is sent to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/external_account"},{"$ref":"#/components/schemas/deleted_external_account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/external_account"},{"$ref":"#/components/schemas/deleted_external_account"}]}},"failure_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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"failure_code":{"maxLength":5000,"type":"string","description":"Error code that provides a reason for a payout failure, if available. View our [list of failure codes](https://docs.stripe.com/api#payout_failures).","nullable":true},"failure_message":{"maxLength":5000,"type":"string","description":"Message that provides the reason for a payout failure, if available.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"method":{"maxLength":5000,"type":"string","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)."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["payout"]},"original_payout":{"description":"If the payout reverses another, this is the ID of the original payout.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payout"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payout"}]}},"payout_method":{"maxLength":5000,"type":"string","description":"ID of the v2 FinancialAccount the funds are sent to.","nullable":true},"reconciliation_status":{"type":"string","description":"If `completed`, you can use the [Balance Transactions API](https://docs.stripe.com/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"]},"reversed_by":{"description":"If the payout reverses, this is the ID of the payout that reverses this payout.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payout"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payout"}]}},"source_type":{"maxLength":5000,"type":"string","description":"The source balance this payout came from, which can be one of the following: `card`, `fpx`, or `bank_account`."},"statement_descriptor":{"maxLength":5000,"type":"string","description":"Extra information about a payout that displays on the user's bank statement.","nullable":true},"status":{"maxLength":5000,"type":"string","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`."},"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,"anyOf":[{"$ref":"#/components/schemas/payouts_trace_id"}]},"type":{"type":"string","description":"Can be `bank_account` or `card`.","enum":["bank_account","card"],"x-stripeBypassValidation":true}},"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://docs.stripe.com/payouts)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payout"}},"description":"Occurs whenever a payout is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"payout.canceled"}},"payout.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payout"}},"description":"Occurs whenever a payout is created.","x-expandableFields":[],"x-stripeEvent":{"type":"payout.created"}},"payout.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payout"}},"description":"Occurs whenever a payout attempt fails.","x-expandableFields":[],"x-stripeEvent":{"type":"payout.failed"}},"payout.paid":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payout"}},"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.","x-expandableFields":[],"x-stripeEvent":{"type":"payout.paid"}},"payout.reconciliation_completed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payout"}},"description":"Occurs whenever balance transactions paid out in an automatic payout can be queried.","x-expandableFields":[],"x-stripeEvent":{"type":"payout.reconciliation_completed"}},"payout.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/payout"}},"description":"Occurs whenever a payout is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"payout.updated"}},"payouts_trace_id":{"title":"PayoutsTraceID","required":["status","value"],"type":"object","properties":{"status":{"maxLength":5000,"type":"string","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`."},"value":{"maxLength":5000,"type":"string","description":"The trace ID value if `trace_id.status` is `supported`, otherwise `nil`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status","value"]},"paypal_seller_protection":{"title":"paypal_seller_protection","required":["dispute_categories","status"],"type":"object","properties":{"dispute_categories":{"type":"array","description":"An array of conditions that are covered for the transaction, if applicable.","nullable":true,"items":{"type":"string","enum":["fraudulent","product_not_received"],"x-stripeBypassValidation":true}},"status":{"type":"string","description":"Indicates whether the transaction is eligible for PayPal's seller protection.","enum":["eligible","not_eligible","partially_eligible"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["dispute_categories","status"]},"person":{"title":"Person","required":["created","id","object"],"type":"object","properties":{"account":{"maxLength":5000,"type":"string","description":"The account the person is associated with."},"additional_tos_acceptances":{"$ref":"#/components/schemas/person_additional_tos_acceptances"},"address":{"$ref":"#/components/schemas/address"},"address_kana":{"description":"The Kana variation of the person's address (Japan only).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_japan_address"}]},"address_kanji":{"description":"The Kanji variation of the person's address (Japan only).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/legal_entity_japan_address"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"dob":{"$ref":"#/components/schemas/legal_entity_dob"},"email":{"maxLength":5000,"type":"string","description":"The person's email address. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"first_name":{"maxLength":5000,"type":"string","description":"The person's first name. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"first_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's first name (Japan only). Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"first_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's first name (Japan only). Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"full_name_aliases":{"type":"array","description":"A list of alternate names or aliases that the person is known by. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","items":{"maxLength":5000,"type":"string"}},"future_requirements":{"description":"Information about the [upcoming new requirements for this person](https://docs.stripe.com/connect/custom-accounts/future-requirements), including what information needs to be collected, and by when.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/person_future_requirements"}]},"gender":{"type":"string","description":"The person's gender.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"id_number_provided":{"type":"boolean","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`)."},"id_number_secondary_provided":{"type":"boolean","description":"Whether the person's `id_number_secondary` was provided."},"last_name":{"maxLength":5000,"type":"string","description":"The person's last name. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"last_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the person's last name (Japan only). Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"last_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the person's last name (Japan only). Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`.","nullable":true},"maiden_name":{"maxLength":5000,"type":"string","description":"The person's maiden name.","nullable":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"nationality":{"maxLength":5000,"type":"string","description":"The country where the person is a national.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["person"]},"phone":{"maxLength":5000,"type":"string","description":"The person's phone number.","nullable":true},"political_exposure":{"type":"string","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"]},"registered_address":{"$ref":"#/components/schemas/address"},"relationship":{"$ref":"#/components/schemas/person_relationship"},"requirements":{"description":"Information about the requirements for this person, including what information needs to be collected, and by when.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/person_requirements"}]},"ssn_last_4_provided":{"type":"boolean","description":"Whether the last four digits of the person's Social Security number have been provided (U.S. only)."},"us_cfpb_data":{"description":"Demographic data related to the person.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/person_us_cfpb_data"}]},"verification":{"$ref":"#/components/schemas/legal_entity_person_verification"}},"description":"This is an object representing a person associated with a Stripe account.\n\nA platform can only access a subset of data in 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).","x-expandableFields":["additional_tos_acceptances","address","address_kana","address_kanji","dob","future_requirements","registered_address","relationship","requirements","us_cfpb_data","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/person"}},"description":"Occurs whenever a person associated with an account is created.","x-expandableFields":[],"x-stripeEvent":{"type":"person.created"}},"person.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/person"}},"description":"Occurs whenever a person associated with an account is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"person.deleted"}},"person.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/person"}},"description":"Occurs whenever a person associated with an account is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"person.updated"}},"person_additional_tos_acceptance":{"title":"PersonAdditionalTOSAcceptance","required":["date","ip","user_agent"],"type":"object","properties":{"date":{"type":"integer","description":"The Unix timestamp marking when the legal guardian accepted the service agreement.","format":"unix-time","nullable":true},"ip":{"maxLength":5000,"type":"string","description":"The IP address from which the legal guardian accepted the service agreement.","nullable":true},"user_agent":{"maxLength":5000,"type":"string","description":"The user agent of the browser from which the legal guardian accepted the service agreement.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["date","ip","user_agent"]},"person_additional_tos_acceptances":{"title":"PersonAdditionalTOSAcceptances","required":["account"],"type":"object","properties":{"account":{"description":"Details on the legal guardian's acceptance of the main Stripe service agreement.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/person_additional_tos_acceptance"}]}},"description":"","x-expandableFields":["account"],"x-stripeMostCommon":["account"]},"person_ethnicity_details":{"title":"PersonEthnicityDetails","required":["ethnicity","ethnicity_other"],"type":"object","properties":{"ethnicity":{"type":"array","description":"The persons ethnicity","nullable":true,"items":{"type":"string","enum":["cuban","hispanic_or_latino","mexican","not_hispanic_or_latino","other_hispanic_or_latino","prefer_not_to_answer","puerto_rican"]}},"ethnicity_other":{"maxLength":5000,"type":"string","description":"Please specify your origin, when other is selected.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["ethnicity","ethnicity_other"]},"person_future_requirements":{"title":"PersonFutureRequirements","required":["alternatives","currently_due","errors","eventually_due","past_due","pending_verification"],"type":"object","properties":{"alternatives":{"type":"array","description":"Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_alternative"}},"currently_due":{"type":"array","description":"Fields that need to be resolved to keep the person's account enabled. If not resolved 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"}},"errors":{"type":"array","description":"Details about validation and verification failures for `due` requirements that must be resolved.","items":{"$ref":"#/components/schemas/account_requirements_error"}},"eventually_due":{"type":"array","description":"Fields you must collect when all 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"}},"past_due":{"type":"array","description":"Fields that haven't been resolved by the account's `requirements.current_deadline`. These fields need to be resolved to enable the person's account. `future_requirements.past_due` is a subset of `requirements.past_due`.","items":{"maxLength":5000,"type":"string"}},"pending_verification":{"type":"array","description":"Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["alternatives","errors"],"x-stripeMostCommon":["alternatives","currently_due","errors","eventually_due","past_due","pending_verification"]},"person_race_details":{"title":"PersonRaceDetails","required":["race","race_other"],"type":"object","properties":{"race":{"type":"array","description":"The persons race.","nullable":true,"items":{"type":"string","enum":["african_american","american_indian_or_alaska_native","asian","asian_indian","black_or_african_american","chinese","ethiopian","filipino","guamanian_or_chamorro","haitian","jamaican","japanese","korean","native_hawaiian","native_hawaiian_or_other_pacific_islander","nigerian","other_asian","other_black_or_african_american","other_pacific_islander","prefer_not_to_answer","samoan","somali","vietnamese","white"]}},"race_other":{"maxLength":5000,"type":"string","description":"Please specify your race, when other is selected.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["race","race_other"]},"person_relationship":{"title":"PersonRelationship","required":["authorizer","director","executive","legal_guardian","owner","percent_ownership","representative","title"],"type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the person is the authorizer of the account's representative.","nullable":true},"director":{"type":"boolean","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},"executive":{"type":"boolean","description":"Whether the person has significant responsibility to control, manage, or direct the organization.","nullable":true},"legal_guardian":{"type":"boolean","description":"Whether the person is the legal guardian of the account's representative.","nullable":true},"owner":{"type":"boolean","description":"Whether the person is an owner of the account’s legal entity.","nullable":true},"percent_ownership":{"type":"number","description":"The percent owned by the person of the account's legal entity.","nullable":true},"representative":{"type":"boolean","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},"title":{"maxLength":5000,"type":"string","description":"The person's title (e.g., CEO, Support Engineer).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["authorizer","director","executive","legal_guardian","owner","percent_ownership","representative","title"]},"person_requirements":{"title":"PersonRequirements","required":["alternatives","currently_due","errors","eventually_due","past_due","pending_verification"],"type":"object","properties":{"alternatives":{"type":"array","description":"Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.","nullable":true,"items":{"$ref":"#/components/schemas/account_requirements_alternative"}},"currently_due":{"type":"array","description":"Fields that need to be resolved to keep the person's account enabled. If not resolved by the account's `current_deadline`, these fields will appear in `past_due` as well, and the account is disabled.","items":{"maxLength":5000,"type":"string"}},"errors":{"type":"array","description":"Details about validation and verification failures for `due` requirements that must be resolved.","items":{"$ref":"#/components/schemas/account_requirements_error"}},"eventually_due":{"type":"array","description":"Fields you must collect when all 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"}},"past_due":{"type":"array","description":"Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the person's account.","items":{"maxLength":5000,"type":"string"}},"pending_verification":{"type":"array","description":"Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.","items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":["alternatives","errors"],"x-stripeMostCommon":["alternatives","currently_due","errors","eventually_due","past_due","pending_verification"]},"person_us_cfpb_data":{"title":"PersonUSCfpbData","required":["ethnicity_details","race_details","self_identified_gender"],"type":"object","properties":{"ethnicity_details":{"description":"The persons ethnicity details","nullable":true,"anyOf":[{"$ref":"#/components/schemas/person_ethnicity_details"}]},"race_details":{"description":"The persons race details","nullable":true,"anyOf":[{"$ref":"#/components/schemas/person_race_details"}]},"self_identified_gender":{"maxLength":5000,"type":"string","description":"The persons self-identified gender","nullable":true}},"description":"","x-expandableFields":["ethnicity_details","race_details"],"x-stripeMostCommon":["ethnicity_details","race_details","self_identified_gender"]},"plan":{"title":"Plan","required":["active","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"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the plan can be used for new purchases."},"amount":{"type":"integer","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},"amount_decimal":{"type":"string","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},"billing_scheme":{"type":"string","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"]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"interval":{"type":"string","description":"The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"meter":{"maxLength":5000,"type":"string","description":"The meter tracking the usage of a metered price","nullable":true},"nickname":{"maxLength":5000,"type":"string","description":"A brief description of the plan, hidden from customers.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["plan"]},"product":{"description":"The product whose pricing this plan determines.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/product"},{"$ref":"#/components/schemas/deleted_product"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/product"},{"$ref":"#/components/schemas/deleted_product"}]}},"tiers":{"type":"array","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"}},"tiers_mode":{"type":"string","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.","nullable":true,"enum":["graduated","volume"]},"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,"anyOf":[{"$ref":"#/components/schemas/transform_usage"}]},"trial_period_days":{"type":"integer","description":"Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).","nullable":true},"usage_type":{"type":"string","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"]}},"description":"You can now model subscriptions more flexibly using the [Prices API](https://api.stripe.com#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://api.stripe.com#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://docs.stripe.com/billing/subscriptions/set-up-subscription) and more about [products and prices](https://docs.stripe.com/products-prices/overview).","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/plan"}},"description":"Occurs whenever a plan is created.","x-expandableFields":[],"x-stripeEvent":{"type":"plan.created"}},"plan.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/plan"}},"description":"Occurs whenever a plan is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"plan.deleted"}},"plan.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/plan"}},"description":"Occurs whenever a plan is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"plan.updated"}},"plan_tier":{"title":"PlanTier","required":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"],"type":"object","properties":{"flat_amount":{"type":"integer","description":"Price for the entire tier.","nullable":true},"flat_amount_decimal":{"type":"string","description":"Same as `flat_amount`, but contains a decimal value with at most 12 decimal places.","format":"decimal","nullable":true},"unit_amount":{"type":"integer","description":"Per unit price for units relevant to the tier.","nullable":true},"unit_amount_decimal":{"type":"string","description":"Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.","format":"decimal","nullable":true},"up_to":{"type":"integer","description":"Up to and including to this quantity will be contained in the tier.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"]},"platform_earning_fee_source":{"title":"PlatformEarningFeeSource","required":["type"],"type":"object","properties":{"charge":{"maxLength":5000,"type":"string","description":"Charge ID that created this application fee."},"payout":{"maxLength":5000,"type":"string","description":"Payout ID that created this application fee."},"type":{"type":"string","description":"Type of object that created the application fee.","enum":["charge","payout"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["charge","payout","type"]},"portal_business_profile":{"title":"PortalBusinessProfile","required":["headline","privacy_policy_url","terms_of_service_url"],"type":"object","properties":{"headline":{"maxLength":5000,"type":"string","description":"The messaging shown to customers in the portal.","nullable":true},"privacy_policy_url":{"maxLength":5000,"type":"string","description":"A link to the business’s publicly available privacy policy.","nullable":true},"terms_of_service_url":{"maxLength":5000,"type":"string","description":"A link to the business’s publicly available terms of service.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["headline","privacy_policy_url","terms_of_service_url"]},"portal_customer_update":{"title":"PortalCustomerUpdate","required":["allowed_updates","enabled"],"type":"object","properties":{"allowed_updates":{"type":"array","description":"The types of customer updates that are supported. When empty, customers are not updateable.","items":{"type":"string","enum":["address","email","name","phone","shipping","tax_id"]}},"enabled":{"type":"boolean","description":"Whether the feature is enabled."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["allowed_updates","enabled"]},"portal_features":{"title":"PortalFeatures","required":["customer_update","invoice_history","payment_method_update","subscription_cancel","subscription_update"],"type":"object","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"}},"description":"","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":{"title":"PortalFlowsAfterCompletionHostedConfirmation","required":["custom_message"],"type":"object","properties":{"custom_message":{"maxLength":5000,"type":"string","description":"A custom message to display to the customer after the flow is completed.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom_message"]},"portal_flows_after_completion_redirect":{"title":"PortalFlowsAfterCompletionRedirect","required":["return_url"],"type":"object","properties":{"return_url":{"maxLength":5000,"type":"string","description":"The URL the customer will be redirected to after the flow is completed."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["return_url"]},"portal_flows_coupon_offer":{"title":"PortalFlowsCouponOffer","required":["coupon"],"type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The ID of the coupon to be offered."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["coupon"]},"portal_flows_flow":{"title":"PortalFlowsFlow","required":["after_completion","subscription_cancel","subscription_update","subscription_update_confirm","type"],"type":"object","properties":{"after_completion":{"$ref":"#/components/schemas/portal_flows_flow_after_completion"},"subscription_cancel":{"description":"Configuration when `flow.type=subscription_cancel`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_flow_subscription_cancel"}]},"subscription_update":{"description":"Configuration when `flow.type=subscription_update`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_flow_subscription_update"}]},"subscription_update_confirm":{"description":"Configuration when `flow.type=subscription_update_confirm`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_flow_subscription_update_confirm"}]},"type":{"type":"string","description":"Type of flow that the customer will go through.","enum":["payment_method_update","subscription_cancel","subscription_update","subscription_update_confirm"]}},"description":"","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":{"title":"PortalFlowsFlowAfterCompletion","required":["hosted_confirmation","redirect","type"],"type":"object","properties":{"hosted_confirmation":{"description":"Configuration when `after_completion.type=hosted_confirmation`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_after_completion_hosted_confirmation"}]},"redirect":{"description":"Configuration when `after_completion.type=redirect`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_after_completion_redirect"}]},"type":{"type":"string","description":"The specified type of behavior after the flow is completed.","enum":["hosted_confirmation","portal_homepage","redirect"]}},"description":"","x-expandableFields":["hosted_confirmation","redirect"],"x-stripeMostCommon":["hosted_confirmation","redirect","type"]},"portal_flows_flow_subscription_cancel":{"title":"PortalFlowsFlowSubscriptionCancel","required":["retention","subscription"],"type":"object","properties":{"retention":{"description":"Specify a retention strategy to be used in the cancellation flow.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_retention"}]},"subscription":{"maxLength":5000,"type":"string","description":"The ID of the subscription to be canceled."}},"description":"","x-expandableFields":["retention"],"x-stripeMostCommon":["retention","subscription"]},"portal_flows_flow_subscription_update":{"title":"PortalFlowsFlowSubscriptionUpdate","required":["subscription"],"type":"object","properties":{"subscription":{"maxLength":5000,"type":"string","description":"The ID of the subscription to be updated."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["subscription"]},"portal_flows_flow_subscription_update_confirm":{"title":"PortalFlowsFlowSubscriptionUpdateConfirm","required":["discounts","items","subscription"],"type":"object","properties":{"discounts":{"type":"array","description":"The coupon or promotion code to apply to this subscription update.","nullable":true,"items":{"$ref":"#/components/schemas/portal_flows_subscription_update_confirm_discount"}},"items":{"type":"array","description":"The [subscription item](https://docs.stripe.com/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"}},"subscription":{"maxLength":5000,"type":"string","description":"The ID of the subscription to be updated."}},"description":"","x-expandableFields":["discounts","items"],"x-stripeMostCommon":["discounts","items","subscription"]},"portal_flows_retention":{"title":"PortalFlowsRetention","required":["coupon_offer","type"],"type":"object","properties":{"coupon_offer":{"description":"Configuration when `retention.type=coupon_offer`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/portal_flows_coupon_offer"}]},"type":{"type":"string","description":"Type of retention strategy that will be used.","enum":["coupon_offer"]}},"description":"","x-expandableFields":["coupon_offer"],"x-stripeMostCommon":["coupon_offer","type"]},"portal_flows_subscription_update_confirm_discount":{"title":"PortalFlowsSubscriptionUpdateConfirmDiscount","required":["coupon","promotion_code"],"type":"object","properties":{"coupon":{"maxLength":5000,"type":"string","description":"The ID of the coupon to apply to this subscription update.","nullable":true},"promotion_code":{"maxLength":5000,"type":"string","description":"The ID of a promotion code to apply to this subscription update.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["coupon","promotion_code"]},"portal_flows_subscription_update_confirm_item":{"title":"PortalFlowsSubscriptionUpdateConfirmItem","required":["id","price"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The ID of the [subscription item](https://docs.stripe.com/api/subscriptions/object#subscription_object-items-data-id) to be updated.","nullable":true},"price":{"maxLength":5000,"type":"string","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://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products).","nullable":true},"quantity":{"type":"integer","description":"[Quantity](https://docs.stripe.com/subscriptions/quantities) for this item that the customer should subscribe to through this flow."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","price","quantity"]},"portal_invoice_list":{"title":"PortalInvoiceList","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"portal_login_page":{"title":"PortalLoginPage","required":["enabled","url"],"type":"object","properties":{"enabled":{"type":"boolean","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."},"url":{"maxLength":5000,"type":"string","description":"A shareable URL to the hosted portal login page. Your customers will be able to log in with their [email](https://docs.stripe.com/api/customers/object#customer_object-email) and receive a link to their customer portal.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","url"]},"portal_payment_method_update":{"title":"PortalPaymentMethodUpdate","required":["enabled","payment_method_configuration"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"payment_method_configuration":{"maxLength":5000,"type":"string","description":"The [Payment Method Configuration](/api/payment_method_configurations) to use for this portal session. When specified, customers will be able to update their payment method to one of the options specified by the payment method configuration. If not set, the default payment method configuration is used.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","payment_method_configuration"]},"portal_resource_schedule_update_at_period_end":{"title":"PortalResourceScheduleUpdateAtPeriodEnd","required":["conditions"],"type":"object","properties":{"conditions":{"type":"array","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"}}},"description":"","x-expandableFields":["conditions"],"x-stripeMostCommon":["conditions"]},"portal_resource_schedule_update_at_period_end_condition":{"title":"PortalResourceScheduleUpdateAtPeriodEndCondition","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The type of condition.","enum":["decreasing_item_amount","shortening_interval"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"portal_subscription_cancel":{"title":"PortalSubscriptionCancel","required":["cancellation_reason","enabled","mode","proration_behavior"],"type":"object","properties":{"cancellation_reason":{"$ref":"#/components/schemas/portal_subscription_cancellation_reason"},"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"mode":{"type":"string","description":"Whether to cancel subscriptions immediately or at the end of the billing period.","enum":["at_period_end","immediately"]},"proration_behavior":{"type":"string","description":"Whether to create prorations when canceling subscriptions. Possible values are `none` and `create_prorations`.","enum":["always_invoice","create_prorations","none"]}},"description":"","x-expandableFields":["cancellation_reason"],"x-stripeMostCommon":["cancellation_reason","enabled","mode","proration_behavior"]},"portal_subscription_cancellation_reason":{"title":"PortalSubscriptionCancellationReason","required":["enabled","options"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"options":{"type":"array","description":"Which cancellation reasons will be given as options to the customer.","items":{"type":"string","enum":["customer_service","low_quality","missing_features","other","switched_service","too_complex","too_expensive","unused"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","options"]},"portal_subscription_update":{"title":"PortalSubscriptionUpdate","required":["billing_cycle_anchor","default_allowed_updates","enabled","proration_behavior","schedule_at_period_end","trial_update_behavior"],"type":"object","properties":{"billing_cycle_anchor":{"type":"string","description":"Determines the value to use for the billing cycle anchor on subscription updates. Valid values are `now` or `unchanged`, and the default value is `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://docs.stripe.com/billing/subscriptions/billing-cycle).","nullable":true,"enum":["now","unchanged"]},"default_allowed_updates":{"type":"array","description":"The types of subscription updates that are supported for items listed in the `products` attribute. When empty, subscriptions are not updateable.","items":{"type":"string","enum":["price","promotion_code","quantity"]}},"enabled":{"type":"boolean","description":"Whether the feature is enabled."},"products":{"type":"array","description":"The list of up to 10 products that support subscription updates.","nullable":true,"items":{"$ref":"#/components/schemas/portal_subscription_update_product"}},"proration_behavior":{"type":"string","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"]},"schedule_at_period_end":{"$ref":"#/components/schemas/portal_resource_schedule_update_at_period_end"},"trial_update_behavior":{"type":"string","description":"Determines how handle updates to trialing subscriptions. Valid values are `end_trial` and `continue_trial`. Defaults to a value of `end_trial` if you don't set it during creation.","enum":["continue_trial","end_trial"]}},"description":"","x-expandableFields":["products","schedule_at_period_end"],"x-stripeMostCommon":["billing_cycle_anchor","default_allowed_updates","enabled","products","proration_behavior","schedule_at_period_end","trial_update_behavior"]},"portal_subscription_update_product":{"title":"PortalSubscriptionUpdateProduct","required":["adjustable_quantity","prices","product"],"type":"object","properties":{"adjustable_quantity":{"$ref":"#/components/schemas/portal_subscription_update_product_adjustable_quantity"},"prices":{"type":"array","description":"The list of price IDs which, when subscribed to, a subscription can be updated.","items":{"maxLength":5000,"type":"string"}},"product":{"maxLength":5000,"type":"string","description":"The product ID."}},"description":"","x-expandableFields":["adjustable_quantity"],"x-stripeMostCommon":["adjustable_quantity","prices","product"]},"portal_subscription_update_product_adjustable_quantity":{"title":"PortalSubscriptionUpdateProductAdjustableQuantity","required":["enabled","maximum","minimum"],"type":"object","properties":{"enabled":{"type":"boolean","description":"If true, the quantity can be adjusted to any non-negative integer."},"maximum":{"type":"integer","description":"The maximum quantity that can be set for the product.","nullable":true},"minimum":{"type":"integer","description":"The minimum quantity that can be set for the product."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled","maximum","minimum"]},"price":{"title":"Price","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"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the price can be used for new purchases."},"billing_scheme":{"type":"string","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"]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","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)."},"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,"anyOf":[{"$ref":"#/components/schemas/custom_unit_amount"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"lookup_key":{"maxLength":5000,"type":"string","description":"A lookup key used to retrieve prices dynamically from a static string. This may be up to 200 characters.","nullable":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"nickname":{"maxLength":5000,"type":"string","description":"A brief description of the price, hidden from customers.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["price"]},"product":{"description":"The ID of the product this price is associated with.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/product"},{"$ref":"#/components/schemas/deleted_product"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/product"},{"$ref":"#/components/schemas/deleted_product"}]}},"recurring":{"description":"The recurring components of a price such as `interval` and `usage_type`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/recurring"}]},"tax_behavior":{"type":"string","description":"Only required if a [default tax behavior](https://docs.stripe.com/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.","nullable":true,"enum":["exclusive","inclusive","unspecified"]},"tiers":{"type":"array","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"}},"tiers_mode":{"type":"string","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.","nullable":true,"enum":["graduated","volume"]},"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,"anyOf":[{"$ref":"#/components/schemas/transform_quantity"}]},"type":{"type":"string","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"]},"unit_amount":{"type":"integer","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},"unit_amount_decimal":{"type":"string","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}},"description":"Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products.\n[Products](https://api.stripe.com#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://docs.stripe.com/billing/subscriptions/set-up-subscription), [create an invoice](https://docs.stripe.com/billing/invoices/create), and more about [products and prices](https://docs.stripe.com/products-prices/overview).","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/price"}},"description":"Occurs whenever a price is created.","x-expandableFields":[],"x-stripeEvent":{"type":"price.created"}},"price.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/price"}},"description":"Occurs whenever a price is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"price.deleted"}},"price.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/price"}},"description":"Occurs whenever a price is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"price.updated"}},"price_tier":{"title":"PriceTier","required":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"],"type":"object","properties":{"flat_amount":{"type":"integer","description":"Price for the entire tier.","nullable":true},"flat_amount_decimal":{"type":"string","description":"Same as `flat_amount`, but contains a decimal value with at most 12 decimal places.","format":"decimal","nullable":true},"unit_amount":{"type":"integer","description":"Per unit price for units relevant to the tier.","nullable":true},"unit_amount_decimal":{"type":"string","description":"Same as `unit_amount`, but contains a decimal value with at most 12 decimal places.","format":"decimal","nullable":true},"up_to":{"type":"integer","description":"Up to and including to this quantity will be contained in the tier.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["flat_amount","flat_amount_decimal","unit_amount","unit_amount_decimal","up_to"]},"product":{"title":"Product","required":["active","created","description","id","images","livemode","marketing_features","metadata","name","object","package_dimensions","shippable","type","updated","url"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the product is currently available for purchase."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"default_price":{"description":"The ID of the [Price](https://docs.stripe.com/api/prices) object that is the default price for this product.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/price"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/price"}]}},"description":{"maxLength":5000,"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.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"images":{"type":"array","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"}},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"marketing_features":{"type":"array","description":"A list of up to 15 marketing features for this product. These are displayed in [pricing tables](https://docs.stripe.com/payments/checkout/pricing-table).","items":{"$ref":"#/components/schemas/product_marketing_feature"}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"name":{"maxLength":5000,"type":"string","description":"The product's name, meant to be displayable to the customer."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["product"]},"package_dimensions":{"description":"The dimensions of this product for shipping purposes.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/package_dimensions"}]},"shippable":{"type":"boolean","description":"Whether this product is shipped (i.e., physical goods).","nullable":true},"statement_descriptor":{"maxLength":5000,"type":"string","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.","nullable":true},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/tax_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/tax_code"}]}},"type":{"type":"string","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"]},"unit_label":{"maxLength":5000,"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.","nullable":true},"updated":{"type":"integer","description":"Time at which the object was last updated. Measured in seconds since the Unix epoch.","format":"unix-time"},"url":{"maxLength":2048,"type":"string","description":"A URL of a publicly-accessible webpage for this product.","nullable":true}},"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://api.stripe.com#prices) to configure pricing in Payment Links, Checkout, and Subscriptions.\n\nRelated guides: [Set up a subscription](https://docs.stripe.com/billing/subscriptions/set-up-subscription),\n[share a Payment Link](https://docs.stripe.com/payment-links),\n[accept payments with Checkout](https://docs.stripe.com/payments/accept-a-payment#create-product-prices-upfront),\nand more about [Products and Prices](https://docs.stripe.com/products-prices/overview)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/product"}},"description":"Occurs whenever a product is created.","x-expandableFields":[],"x-stripeEvent":{"type":"product.created"}},"product.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/product"}},"description":"Occurs whenever a product is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"product.deleted"}},"product.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/product"}},"description":"Occurs whenever a product is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"product.updated"}},"product_feature":{"title":"ProductFeature","required":["entitlement_feature","id","livemode","object"],"type":"object","properties":{"entitlement_feature":{"$ref":"#/components/schemas/entitlements.feature"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["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.","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":{"title":"ProductMarketingFeature","type":"object","properties":{"name":{"maxLength":5000,"type":"string","description":"The marketing feature name. Up to 80 characters long."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["name"]},"promotion_code":{"title":"PromotionCode","required":["active","code","created","customer","customer_account","expires_at","id","livemode","max_redemptions","metadata","object","promotion","restrictions","times_redeemed"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid."},"code":{"maxLength":5000,"type":"string","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), digits (0-9), and dashes (-)."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer":{"description":"The customer who can use this promotion code.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The account representing the customer who can use this promotion code.","nullable":true},"expires_at":{"type":"integer","description":"Date at which the promotion code can no longer be redeemed.","format":"unix-time","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"max_redemptions":{"type":"integer","description":"Maximum number of times this promotion code can be redeemed.","nullable":true},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["promotion_code"]},"promotion":{"$ref":"#/components/schemas/promotion_codes_resource_promotion"},"restrictions":{"$ref":"#/components/schemas/promotion_codes_resource_restrictions"},"times_redeemed":{"type":"integer","description":"Number of times this promotion code has been used."}},"description":"A Promotion Code represents a customer-redeemable code for an underlying promotion.\nYou can create multiple codes for a single promotion.\n\nIf you enable promotion codes in your [customer portal configuration](https://docs.stripe.com/customer-management/configure-portal), then customers can redeem a code themselves when updating a subscription in the portal.\nCustomers can also view the currently active promotion codes and coupons on each of their subscriptions in the portal.","x-expandableFields":["customer","promotion","restrictions"],"x-resourceId":"promotion_code","x-stripeMostCommon":["code","id","metadata","promotion"],"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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/promotion_code"}},"description":"Occurs whenever a promotion code is created.","x-expandableFields":[],"x-stripeEvent":{"type":"promotion_code.created"}},"promotion_code.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/promotion_code"}},"description":"Occurs whenever a promotion code is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"promotion_code.updated"}},"promotion_code_currency_option":{"title":"PromotionCodeCurrencyOption","required":["minimum_amount"],"type":"object","properties":{"minimum_amount":{"type":"integer","description":"Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["minimum_amount"]},"promotion_codes_resource_promotion":{"title":"PromotionCodesResourcePromotion","required":["coupon","type"],"type":"object","properties":{"coupon":{"description":"If promotion `type` is `coupon`, the coupon for this promotion.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/coupon"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/coupon"}]}},"type":{"type":"string","description":"The type of promotion.","enum":["coupon"]}},"description":"","x-expandableFields":["coupon"],"x-stripeMostCommon":["coupon","type"]},"promotion_codes_resource_restrictions":{"title":"PromotionCodesResourceRestrictions","required":["first_time_transaction","minimum_amount","minimum_amount_currency"],"type":"object","properties":{"currency_options":{"type":"object","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)."},"first_time_transaction":{"type":"boolean","description":"A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices"},"minimum_amount":{"type":"integer","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},"minimum_amount_currency":{"maxLength":5000,"type":"string","description":"Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount","nullable":true}},"description":"","x-expandableFields":["currency_options"],"x-stripeMostCommon":["currency_options","first_time_transaction","minimum_amount","minimum_amount_currency"]},"proration_details":{"title":"ProrationDetails","required":["discount_amounts"],"type":"object","properties":{"discount_amounts":{"type":"array","description":"Discount amounts applied when the proration was created.","items":{"$ref":"#/components/schemas/discounts_resource_discount_amount"}}},"description":"","x-expandableFields":["discount_amounts"],"x-stripeMostCommon":["discount_amounts"]},"quote":{"title":"Quote","required":["amount_subtotal","amount_total","application","application_fee_amount","application_fee_percent","automatic_tax","collection_method","computed","created","currency","customer","customer_account","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"],"type":"object","properties":{"amount_subtotal":{"type":"integer","description":"Total before any discounts or taxes are applied."},"amount_total":{"type":"integer","description":"Total after discounts and taxes are applied."},"application":{"description":"ID of the Connect Application that created the quote.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}]}},"application_fee_amount":{"type":"integer","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},"application_fee_percent":{"type":"number","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},"automatic_tax":{"$ref":"#/components/schemas/quotes_resource_automatic_tax"},"collection_method":{"type":"string","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"]},"computed":{"$ref":"#/components/schemas/quotes_resource_computed"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","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},"customer":{"description":"The customer who received this quote. A customer is required to finalize the quote. Once specified, you can't change it.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The account representing the customer who received this quote. A customer or account is required to finalize the quote. Once specified, you can't change it.","nullable":true},"default_tax_rates":{"type":"array","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"}]}}},"description":{"maxLength":5000,"type":"string","description":"A description that will be displayed on the quote PDF.","nullable":true},"discounts":{"type":"array","description":"The discounts applied to this quote.","items":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/discount"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/discount"}]}}},"expires_at":{"type":"integer","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"},"footer":{"maxLength":5000,"type":"string","description":"A footer that will be displayed on the quote PDF.","nullable":true},"from_quote":{"description":"Details of the quote that was cloned. See the [cloning documentation](https://docs.stripe.com/quotes/clone) for more details.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_from_quote"}]},"header":{"maxLength":5000,"type":"string","description":"A header that will be displayed on the quote PDF.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice":{"description":"The invoice that was created from this quote.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"},{"$ref":"#/components/schemas/deleted_invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"},{"$ref":"#/components/schemas/deleted_invoice"}]}},"invoice_settings":{"$ref":"#/components/schemas/invoice_setting_quote_setting"},"line_items":{"title":"QuotesResourceListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"A list of items the customer is being quoted for.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"number":{"maxLength":5000,"type":"string","description":"A unique number that identifies this particular quote. This number is assigned once the quote is [finalized](https://docs.stripe.com/quotes/overview#finalize).","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["quote"]},"on_behalf_of":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"status":{"type":"string","description":"The status of the quote.","enum":["accepted","canceled","draft","open"],"x-stripeBypassValidation":true},"status_transitions":{"$ref":"#/components/schemas/quotes_resource_status_transitions"},"subscription":{"description":"The subscription that was created or updated from this quote.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription"}]}},"subscription_data":{"$ref":"#/components/schemas/quotes_resource_subscription_data_subscription_data"},"subscription_schedule":{"description":"The subscription schedule that was created or updated from this quote.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription_schedule"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription_schedule"}]}},"test_clock":{"description":"ID of the test clock this quote belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}},"total_details":{"$ref":"#/components/schemas/quotes_resource_total_details"},"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,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_transfer_data"}]}},"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.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote is accepted.","x-expandableFields":[],"x-stripeEvent":{"type":"quote.accepted"}},"quote.canceled":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"quote.canceled"}},"quote.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote is created.","x-expandableFields":[],"x-stripeEvent":{"type":"quote.created"}},"quote.finalized":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/quote"}},"description":"Occurs whenever a quote is finalized.","x-expandableFields":[],"x-stripeEvent":{"type":"quote.finalized"}},"quotes_resource_automatic_tax":{"title":"QuotesResourceAutomaticTax","required":["enabled","liability","provider","status"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Automatically calculate taxes"},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]},"provider":{"maxLength":5000,"type":"string","description":"The tax provider powering automatic tax.","nullable":true},"status":{"type":"string","description":"The status of the most recent automated tax calculation for this quote.","nullable":true,"enum":["complete","failed","requires_location_inputs"]}},"description":"","x-expandableFields":["liability"],"x-stripeMostCommon":["enabled","liability","provider","status"]},"quotes_resource_computed":{"title":"QuotesResourceComputed","required":["recurring","upfront"],"type":"object","properties":{"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,"anyOf":[{"$ref":"#/components/schemas/quotes_resource_recurring"}]},"upfront":{"$ref":"#/components/schemas/quotes_resource_upfront"}},"description":"","x-expandableFields":["recurring","upfront"],"x-stripeMostCommon":["recurring","upfront"]},"quotes_resource_from_quote":{"title":"QuotesResourceFromQuote","required":["is_revision","quote"],"type":"object","properties":{"is_revision":{"type":"boolean","description":"Whether this quote is a revision of a different quote."},"quote":{"description":"The quote that was cloned.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/quote"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/quote"}]}}},"description":"","x-expandableFields":["quote"],"x-stripeMostCommon":["is_revision","quote"]},"quotes_resource_recurring":{"title":"QuotesResourceRecurring","required":["amount_subtotal","amount_total","interval","interval_count","total_details"],"type":"object","properties":{"amount_subtotal":{"type":"integer","description":"Total before any discounts or taxes are applied."},"amount_total":{"type":"integer","description":"Total after discounts and taxes are applied."},"interval":{"type":"string","description":"The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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."},"total_details":{"$ref":"#/components/schemas/quotes_resource_total_details"}},"description":"","x-expandableFields":["total_details"],"x-stripeMostCommon":["amount_subtotal","amount_total","interval","interval_count","total_details"]},"quotes_resource_status_transitions":{"title":"QuotesResourceStatusTransitions","required":["accepted_at","canceled_at","finalized_at"],"type":"object","properties":{"accepted_at":{"type":"integer","description":"The time that the quote was accepted. Measured in seconds since Unix epoch.","format":"unix-time","nullable":true},"canceled_at":{"type":"integer","description":"The time that the quote was canceled. Measured in seconds since Unix epoch.","format":"unix-time","nullable":true},"finalized_at":{"type":"integer","description":"The time that the quote was finalized. Measured in seconds since Unix epoch.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["accepted_at","canceled_at","finalized_at"]},"quotes_resource_subscription_data_billing_mode":{"title":"QuotesResourceSubscriptionDataBillingMode","required":["type"],"type":"object","properties":{"flexible":{"$ref":"#/components/schemas/subscriptions_resource_billing_mode_flexible"},"type":{"type":"string","description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","enum":["classic","flexible"]}},"description":"The billing mode of the quote.","x-expandableFields":["flexible"],"x-stripeMostCommon":["flexible","type"]},"quotes_resource_subscription_data_subscription_data":{"title":"QuotesResourceSubscriptionDataSubscriptionData","required":["billing_mode","description","effective_date","metadata","trial_period_days"],"type":"object","properties":{"billing_mode":{"$ref":"#/components/schemas/quotes_resource_subscription_data_billing_mode"},"description":{"maxLength":5000,"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.","nullable":true},"effective_date":{"type":"integer","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},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"trial_period_days":{"type":"integer","description":"Integer representing the number of trial period days before the customer is charged for the first time.","nullable":true}},"description":"","x-expandableFields":["billing_mode"],"x-stripeMostCommon":["billing_mode","description","effective_date","metadata","trial_period_days"]},"quotes_resource_total_details":{"title":"QuotesResourceTotalDetails","required":["amount_discount","amount_shipping","amount_tax"],"type":"object","properties":{"amount_discount":{"type":"integer","description":"This is the sum of all the discounts."},"amount_shipping":{"type":"integer","description":"This is the sum of all the shipping amounts.","nullable":true},"amount_tax":{"type":"integer","description":"This is the sum of all the tax amounts."},"breakdown":{"$ref":"#/components/schemas/quotes_resource_total_details_resource_breakdown"}},"description":"","x-expandableFields":["breakdown"],"x-stripeMostCommon":["amount_discount","amount_shipping","amount_tax","breakdown"]},"quotes_resource_total_details_resource_breakdown":{"title":"QuotesResourceTotalDetailsResourceBreakdown","required":["discounts","taxes"],"type":"object","properties":{"discounts":{"type":"array","description":"The aggregated discounts.","items":{"$ref":"#/components/schemas/line_items_discount_amount"}},"taxes":{"type":"array","description":"The aggregated tax amounts by rate.","items":{"$ref":"#/components/schemas/line_items_tax_amount"}}},"description":"","x-expandableFields":["discounts","taxes"],"x-stripeMostCommon":["discounts","taxes"]},"quotes_resource_transfer_data":{"title":"QuotesResourceTransferData","required":["amount","amount_percent","destination"],"type":"object","properties":{"amount":{"type":"integer","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},"amount_percent":{"type":"number","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},"destination":{"description":"The account where funds from the payment will be transferred to upon payment success.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}}},"description":"","x-expandableFields":["destination"],"x-stripeMostCommon":["amount","amount_percent","destination"]},"quotes_resource_upfront":{"title":"QuotesResourceUpfront","required":["amount_subtotal","amount_total","total_details"],"type":"object","properties":{"amount_subtotal":{"type":"integer","description":"Total before any discounts or taxes are applied."},"amount_total":{"type":"integer","description":"Total after discounts and taxes are applied."},"line_items":{"title":"QuotesResourceListLineItems","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"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.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"total_details":{"$ref":"#/components/schemas/quotes_resource_total_details"}},"description":"","x-expandableFields":["line_items","total_details"],"x-stripeMostCommon":["amount_subtotal","amount_total","line_items","total_details"]},"radar.early_fraud_warning":{"title":"RadarEarlyFraudWarning","required":["actionable","charge","created","fraud_type","id","livemode","object"],"type":"object","properties":{"actionable":{"type":"boolean","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."},"charge":{"description":"ID of the charge this early fraud warning is for, optionally expanded.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"fraud_type":{"maxLength":5000,"type":"string","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`."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["radar.early_fraud_warning"]},"payment_intent":{"description":"ID of the Payment Intent this early fraud warning is for, optionally expanded.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}}},"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://docs.stripe.com/disputes/measuring#early-fraud-warnings)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/radar.early_fraud_warning"}},"description":"Occurs whenever an early fraud warning is created.","x-expandableFields":[],"x-stripeEvent":{"type":"radar.early_fraud_warning.created"}},"radar.early_fraud_warning.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/radar.early_fraud_warning"}},"description":"Occurs whenever an early fraud warning is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"radar.early_fraud_warning.updated"}},"radar.payment_evaluation":{"title":"InsightsResourcesPaymentEvaluation","required":["created_at","id","livemode","metadata","object","recommended_action","signals"],"type":"object","properties":{"client_device_metadata_details":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_client_device_metadata"},"created_at":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer_details":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_customer_details"},"events":{"type":"array","description":"Event information associated with the payment evaluation, such as refunds, dispute, early fraud warnings, or user interventions.","items":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_event"}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["radar.payment_evaluation"]},"outcome":{"description":"Indicates the final outcome for the payment evaluation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/insights_resources_payment_evaluation_outcome"}]},"payment_details":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_payment_details"},"recommended_action":{"type":"string","description":"Recommended action based on the score of the fraudulent_payment signal. Possible values are `block` and `continue`.","enum":["block","continue"]},"signals":{"$ref":"#/components/schemas/insights_resources_payment_evaluation_signals"}},"description":"Payment Evaluations represent the risk lifecycle of an externally processed payment. It includes the Radar risk score from Stripe, payment outcome taken by the merchant or processor, and any post transaction events, such as refunds or disputes. See the [Radar API guide](/radar/multiprocessor) for integration steps.","x-expandableFields":["client_device_metadata_details","customer_details","events","outcome","payment_details","signals"],"x-resourceId":"radar.payment_evaluation","x-stripeMostCommon":["client_device_metadata_details","customer_details","events","id","metadata","payment_details","recommended_action","signals"],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/radar/payment_evaluations"}],"x-stripeResource":{"class_name":"PaymentEvaluation","in_package":"Radar"}},"radar.value_list":{"title":"RadarListList","required":["alias","created","created_by","id","item_type","list_items","livemode","metadata","name","object"],"type":"object","properties":{"alias":{"maxLength":5000,"type":"string","description":"The name of the value list for use in rules."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"created_by":{"maxLength":5000,"type":"string","description":"The name or email address of the user who created this value list."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"item_type":{"type":"string","description":"The type of items in the value list. One of `card_fingerprint`, `card_bin`, `crypto_fingerprint`, `email`, `ip_address`, `country`, `string`, `case_sensitive_string`, `customer_id`, `sepa_debit_fingerprint`, or `us_bank_account_fingerprint`.","enum":["card_bin","card_fingerprint","case_sensitive_string","country","crypto_fingerprint","customer_id","email","ip_address","sepa_debit_fingerprint","string","us_bank_account_fingerprint"]},"list_items":{"title":"RadarListListItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/radar.value_list_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"List of items contained within this value list.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"name":{"maxLength":5000,"type":"string","description":"The name of the value list."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["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://docs.stripe.com/radar/lists#managing-list-items)","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":{"title":"RadarListListItem","required":["created","created_by","id","livemode","object","value","value_list"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"created_by":{"maxLength":5000,"type":"string","description":"The name or email address of the user who added this item to the value list."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["radar.value_list_item"]},"value":{"maxLength":5000,"type":"string","description":"The value of the item."},"value_list":{"maxLength":5000,"type":"string","description":"The identifier of the value list this item belongs to."}},"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://docs.stripe.com/radar/lists#managing-list-items)","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":{"title":"RadarRadarOptions","type":"object","properties":{"session":{"maxLength":5000,"type":"string","description":"A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments."}},"description":"Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.","x-expandableFields":[],"x-stripeMostCommon":["session"]},"radar_review_resource_location":{"title":"RadarReviewResourceLocation","required":["city","country","latitude","longitude","region"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"The city where the payment originated.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country where the payment originated.","nullable":true},"latitude":{"type":"number","description":"The geographic latitude where the payment originated.","nullable":true},"longitude":{"type":"number","description":"The geographic longitude where the payment originated.","nullable":true},"region":{"maxLength":5000,"type":"string","description":"The state/county/province/region where the payment originated.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","latitude","longitude","region"]},"radar_review_resource_session":{"title":"RadarReviewResourceSession","required":["browser","device","platform","version"],"type":"object","properties":{"browser":{"maxLength":5000,"type":"string","description":"The browser used in this browser session (e.g., `Chrome`).","nullable":true},"device":{"maxLength":5000,"type":"string","description":"Information about the device used for the browser session (e.g., `Samsung SM-G930T`).","nullable":true},"platform":{"maxLength":5000,"type":"string","description":"The platform for the browser session (e.g., `Macintosh`).","nullable":true},"version":{"maxLength":5000,"type":"string","description":"The version for the browser session (e.g., `61.0.3163.100`).","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["browser","device","platform","version"]},"received_payment_method_details_financial_account":{"title":"received_payment_method_details_financial_account","required":["id","network"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The FinancialAccount ID."},"network":{"type":"string","description":"The rails the ReceivedCredit was sent over. A FinancialAccount can only send funds over `stripe`.","enum":["stripe"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["id","network"],"x-stripeResource":{"class_name":"FinancialAccount","in_package":""}},"recurring":{"title":"Recurring","required":["interval","interval_count","meter","trial_period_days","usage_type"],"type":"object","properties":{"interval":{"type":"string","description":"The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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."},"meter":{"maxLength":5000,"type":"string","description":"The meter tracking the usage of a metered price","nullable":true},"trial_period_days":{"type":"integer","description":"Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](https://docs.stripe.com/api#create_subscription-trial_from_plan).","nullable":true},"usage_type":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["interval"]},"refund":{"title":"Refund","required":["amount","balance_transaction","charge","created","currency","id","metadata","object","payment_intent","reason","receipt_number","source_transfer_reversal","status","transfer_reversal"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount, in cents (or local equivalent)."},"balance_transaction":{"description":"Balance transaction that describes the impact on your account balance.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"charge":{"description":"ID of the charge that's refunded.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. You can use this for displaying to users (available on non-card refunds only)."},"destination_details":{"$ref":"#/components/schemas/refund_destination_details"},"failure_balance_transaction":{"description":"After the refund fails, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"failure_reason":{"maxLength":5000,"type":"string","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`."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"instructions_email":{"maxLength":5000,"type":"string","description":"For payment methods without native refund support (for example, Konbini, PromptPay), provide an email address for the customer to receive refund instructions."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"next_action":{"$ref":"#/components/schemas/refund_next_action"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["refund"]},"payment_intent":{"description":"ID of the PaymentIntent that's refunded.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"pending_reason":{"type":"string","description":"Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`.","enum":["charge_pending","insufficient_funds","processing"]},"presentment_details":{"$ref":"#/components/schemas/payment_flows_payment_intent_presentment_details"},"reason":{"type":"string","description":"Reason for the refund, which is either user-provided (`duplicate`, `fraudulent`, or `requested_by_customer`) or generated by Stripe internally (`expired_uncaptured_charge`).","nullable":true,"enum":["duplicate","expired_uncaptured_charge","fraudulent","requested_by_customer"],"x-stripeBypassValidation":true},"receipt_number":{"maxLength":5000,"type":"string","description":"This is the transaction number that appears on email receipts sent for this refund.","nullable":true},"source_transfer_reversal":{"description":"The transfer reversal that's associated with the refund. Only present if the charge came from another Stripe account.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/transfer_reversal"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/transfer_reversal"}]}},"status":{"maxLength":5000,"type":"string","description":"Status of the refund. This can be `pending`, `requires_action`, `succeeded`, `failed`, or `canceled`. Learn more about [failed refunds](https://docs.stripe.com/refunds#failed-refunds).","nullable":true},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/transfer_reversal"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/transfer_reversal"}]}}},"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://docs.stripe.com/refunds)","x-expandableFields":["balance_transaction","charge","destination_details","failure_balance_transaction","next_action","payment_intent","presentment_details","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/refund"}},"description":"Occurs whenever a refund is created.","x-expandableFields":[],"x-stripeEvent":{"type":"refund.created"}},"refund.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/refund"}},"description":"Occurs whenever a refund has failed.","x-expandableFields":[],"x-stripeEvent":{"type":"refund.failed"}},"refund.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/refund"}},"description":"Occurs whenever a refund is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"refund.updated"}},"refund_destination_details":{"title":"refund_destination_details","required":["type"],"type":"object","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"},"crypto":{"$ref":"#/components/schemas/refund_destination_details_crypto"},"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"},"mb_way":{"$ref":"#/components/schemas/refund_destination_details_mb_way"},"multibanco":{"$ref":"#/components/schemas/refund_destination_details_multibanco"},"mx_bank_transfer":{"$ref":"#/components/schemas/refund_destination_details_mx_bank_transfer"},"nz_bank_transfer":{"$ref":"#/components/schemas/destination_details_unimplemented"},"p24":{"$ref":"#/components/schemas/refund_destination_details_p24"},"paynow":{"$ref":"#/components/schemas/destination_details_unimplemented"},"paypal":{"$ref":"#/components/schemas/refund_destination_details_paypal"},"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"},"twint":{"$ref":"#/components/schemas/destination_details_unimplemented"},"type":{"maxLength":5000,"type":"string","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."},"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"}},"description":"","x-expandableFields":["affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_bank_transfer","blik","br_bank_transfer","card","cashapp","crypto","customer_cash_balance","eps","eu_bank_transfer","gb_bank_transfer","giropay","grabpay","jp_bank_transfer","klarna","mb_way","multibanco","mx_bank_transfer","nz_bank_transfer","p24","paynow","paypal","pix","revolut","sofort","swish","th_bank_transfer","twint","us_bank_transfer","wechat_pay","zip"],"x-stripeMostCommon":["affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_bank_transfer","blik","br_bank_transfer","card","cashapp","crypto","customer_cash_balance","eps","eu_bank_transfer","gb_bank_transfer","giropay","grabpay","jp_bank_transfer","klarna","mb_way","multibanco","mx_bank_transfer","nz_bank_transfer","p24","paynow","paypal","pix","revolut","sofort","swish","th_bank_transfer","twint","type","us_bank_transfer","wechat_pay","zip"]},"refund_destination_details_blik":{"title":"refund_destination_details_blik","required":["network_decline_code","reference","reference_status"],"type":"object","properties":{"network_decline_code":{"maxLength":5000,"type":"string","description":"For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["network_decline_code","reference","reference_status"]},"refund_destination_details_br_bank_transfer":{"title":"refund_destination_details_br_bank_transfer","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_card":{"title":"refund_destination_details_card","required":["type"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"Value of the reference number assigned to the refund."},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`."},"reference_type":{"maxLength":5000,"type":"string","description":"Type of the reference number assigned to the refund."},"type":{"type":"string","description":"The type of refund. This can be `refund`, `reversal`, or `pending`.","enum":["pending","refund","reversal"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status","reference_type","type"]},"refund_destination_details_crypto":{"title":"refund_destination_details_crypto","required":["reference"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The transaction hash of the refund.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference"]},"refund_destination_details_eu_bank_transfer":{"title":"refund_destination_details_eu_bank_transfer","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_gb_bank_transfer":{"title":"refund_destination_details_gb_bank_transfer","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_jp_bank_transfer":{"title":"refund_destination_details_jp_bank_transfer","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_mb_way":{"title":"refund_destination_details_mb_way","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_multibanco":{"title":"refund_destination_details_multibanco","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_mx_bank_transfer":{"title":"refund_destination_details_mx_bank_transfer","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_p24":{"title":"refund_destination_details_p24","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_paypal":{"title":"refund_destination_details_paypal","required":["network_decline_code"],"type":"object","properties":{"network_decline_code":{"maxLength":5000,"type":"string","description":"For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["network_decline_code"]},"refund_destination_details_swish":{"title":"refund_destination_details_swish","required":["network_decline_code","reference","reference_status"],"type":"object","properties":{"network_decline_code":{"maxLength":5000,"type":"string","description":"For refunds declined by the network, a decline code provided by the network which indicates the reason the refund failed.","nullable":true},"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["network_decline_code","reference","reference_status"]},"refund_destination_details_th_bank_transfer":{"title":"refund_destination_details_th_bank_transfer","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_destination_details_us_bank_transfer":{"title":"refund_destination_details_us_bank_transfer","required":["reference","reference_status"],"type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"The reference assigned to the refund.","nullable":true},"reference_status":{"maxLength":5000,"type":"string","description":"Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","reference_status"]},"refund_next_action":{"title":"RefundNextAction","required":["type"],"type":"object","properties":{"display_details":{"$ref":"#/components/schemas/refund_next_action_display_details"},"type":{"maxLength":5000,"type":"string","description":"Type of the next action to perform."}},"description":"","x-expandableFields":["display_details"],"x-stripeMostCommon":["display_details","type"]},"refund_next_action_display_details":{"title":"RefundNextActionDisplayDetails","required":["email_sent","expires_at"],"type":"object","properties":{"email_sent":{"$ref":"#/components/schemas/email_sent"},"expires_at":{"type":"integer","description":"The expiry timestamp.","format":"unix-time"}},"description":"","x-expandableFields":["email_sent"],"x-stripeMostCommon":["email_sent","expires_at"]},"reporting.report_run":{"title":"reporting_report_run","required":["created","error","id","livemode","object","parameters","report_type","result","status","succeeded_at"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"error":{"maxLength":5000,"type":"string","description":"If something should go wrong during the run, a message about the failure (populated when\n `status=failed`).","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"`true` if the report is run on live mode data and `false` if it is run on test mode data."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["reporting.report_run"]},"parameters":{"$ref":"#/components/schemas/financial_reporting_finance_report_run_run_parameters"},"report_type":{"maxLength":5000,"type":"string","description":"The ID of the [report type](https://docs.stripe.com/reports/report-types) to run, such as `\"balance.summary.1\"`."},"result":{"description":"The file object representing the result of the report run (populated when\n `status=succeeded`).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/file"}]},"status":{"maxLength":5000,"type":"string","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."},"succeeded_at":{"type":"integer","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}},"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://docs.stripe.com/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://docs.stripe.com/keys#test-live-modes).","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reporting.report_run"}},"description":"Occurs whenever a requested `ReportRun` failed to complete.","x-expandableFields":[],"x-stripeEvent":{"type":"reporting.report_run.failed"}},"reporting.report_run.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reporting.report_run"}},"description":"Occurs whenever a requested `ReportRun` completed successfully.","x-expandableFields":[],"x-stripeEvent":{"type":"reporting.report_run.succeeded"}},"reporting.report_type":{"title":"reporting_report_type","required":["data_available_end","data_available_start","default_columns","id","livemode","name","object","updated","version"],"type":"object","properties":{"data_available_end":{"type":"integer","description":"Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch.","format":"unix-time"},"data_available_start":{"type":"integer","description":"Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch.","format":"unix-time"},"default_columns":{"type":"array","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.)","nullable":true,"items":{"maxLength":5000,"type":"string"}},"id":{"maxLength":5000,"type":"string","description":"The [ID of the Report Type](https://docs.stripe.com/reporting/statements/api#available-report-types), such as `balance.summary.1`."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"name":{"maxLength":5000,"type":"string","description":"Human-readable name of the Report Type"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["reporting.report_type"]},"updated":{"type":"integer","description":"When this Report Type was latest updated. Measured in seconds since the Unix epoch.","format":"unix-time"},"version":{"type":"integer","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."}},"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://docs.stripe.com/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://docs.stripe.com/keys#test-live-modes).","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reporting.report_type"}},"description":"Occurs whenever a `ReportType` is updated (typically to indicate that a new day's data has come available).","x-expandableFields":[],"x-stripeEvent":{"type":"reporting.report_type.updated"}},"reserve.hold":{"title":"ReservesReserveHoldsResourcesReserveHold","required":["amount","created","created_by","currency","id","livemode","object","reason","release_schedule","reserve_plan","source_charge","source_type"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount reserved. A positive integer representing how much is reserved in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"amount_releasable":{"type":"integer","description":"Amount in cents that can be released from this ReserveHold"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"created_by":{"type":"string","description":"Indicates which party created this ReserveHold.","enum":["application","stripe"]},"currency":{"type":"string","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).","format":"currency"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"is_releasable":{"type":"boolean","description":"Whether there are any funds available to release on this ReserveHold. Note that if the ReserveHold is in the process of being released, this could be false, even though the funds haven't been fully released yet."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["reserve.hold"]},"reason":{"type":"string","description":"The reason for the ReserveHold.","enum":["charge","standalone"]},"release_schedule":{"$ref":"#/components/schemas/reserves_reserve_holds_resources_release_schedule"},"reserve_plan":{"description":"The ReservePlan which produced this ReserveHold (i.e., resplan_123)","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/reserve.plan"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/reserve.plan"}]}},"source_charge":{"description":"The Charge which funded this ReserveHold (e.g., ch_123)","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"source_type":{"type":"string","description":"Which source balance type this ReserveHold reserves funds from. One of `bank_account`, `card`, or `fpx`.","enum":["bank_account","card","fpx"]}},"description":"ReserveHolds are used to place a temporary ReserveHold on a merchant's funds.","x-expandableFields":["release_schedule","reserve_plan","source_charge"],"x-stripeMostCommon":["amount","currency","id","metadata","release_schedule"],"x-stripeResource":{"class_name":"Hold","in_package":"Reserve"}},"reserve.hold.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reserve.hold"}},"description":"Occurs when a reserve hold is created.","x-expandableFields":[],"x-stripeEvent":{"type":"reserve.hold.created"}},"reserve.hold.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reserve.hold"}},"description":"Occurs when a reserve hold is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"reserve.hold.updated"}},"reserve.plan":{"title":"ReservesReservePlansResourcesReservePlan","required":["created","created_by","currency","disabled_at","id","livemode","object","percent","status","type"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"created_by":{"type":"string","description":"Indicates which party created this ReservePlan.","enum":["application","stripe"]},"currency":{"type":"string","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). An unset currency indicates that the plan applies to all currencies.","format":"currency","nullable":true},"disabled_at":{"type":"integer","description":"Time at which the ReservePlan was disabled.","format":"unix-time","nullable":true},"fixed_release":{"$ref":"#/components/schemas/reserves_reserve_plans_resources_fixed_release"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["reserve.plan"]},"percent":{"type":"integer","description":"The percent of each Charge to reserve."},"rolling_release":{"$ref":"#/components/schemas/reserves_reserve_plans_resources_rolling_release"},"status":{"type":"string","description":"The current status of the ReservePlan. The ReservePlan only affects charges if it is `active`.","enum":["active","disabled","expired"]},"type":{"type":"string","description":"The type of the ReservePlan.","enum":["fixed_release","rolling_release"]}},"description":"ReservePlans are used to automatically place holds on a merchant's funds until the plan expires. It takes a portion of each incoming Charge (including those resulting from a Transfer from a platform account).","x-expandableFields":["fixed_release","rolling_release"],"x-stripeMostCommon":["currency","fixed_release","id","metadata","percent","rolling_release","status","type"],"x-stripeResource":{"class_name":"Plan","in_package":"Reserve"}},"reserve.plan.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reserve.plan"}},"description":"Occurs when a reserve plan is created.","x-expandableFields":[],"x-stripeEvent":{"type":"reserve.plan.created"}},"reserve.plan.disabled":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reserve.plan"}},"description":"Occurs when a reserve plan is disabled.","x-expandableFields":[],"x-stripeEvent":{"type":"reserve.plan.disabled"}},"reserve.plan.expired":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reserve.plan"}},"description":"Occurs when a reserve plan expires.","x-expandableFields":[],"x-stripeEvent":{"type":"reserve.plan.expired"}},"reserve.plan.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reserve.plan"}},"description":"Occurs when a reserve plan is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"reserve.plan.updated"}},"reserve.release":{"title":"ReservesReserveReleasesResourcesReserveRelease","required":["amount","created","created_by","currency","id","livemode","object","reason","released_at","reserve_hold","reserve_plan"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount released. A positive integer representing how much is released in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"created_by":{"type":"string","description":"Indicates which party created this ReserveRelease.","enum":["application","stripe"]},"currency":{"type":"string","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).","format":"currency"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["reserve.release"]},"reason":{"type":"string","description":"The reason for the ReserveRelease, indicating why the funds were released.","enum":["bulk_hold_expiry","hold_released_early","hold_reversed","plan_disabled"]},"released_at":{"type":"integer","description":"The release timestamp of the funds.","format":"unix-time"},"reserve_hold":{"description":"The ReserveHold this ReserveRelease is associated with.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/reserve.hold"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/reserve.hold"}]}},"reserve_plan":{"description":"The ReservePlan ID this ReserveRelease is associated with. This field is only populated if a ReserveRelease is created by a ReservePlan disable operation, or from a scheduled ReservedHold expiry.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/reserve.plan"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/reserve.plan"}]}},"source_transaction":{"$ref":"#/components/schemas/reserves_reserve_releases_resources_source_transaction"}},"description":"ReserveReleases represent the release of funds from a ReserveHold.","x-expandableFields":["reserve_hold","reserve_plan","source_transaction"],"x-stripeMostCommon":["amount","currency","id","metadata","reason","released_at","reserve_hold","source_transaction"],"x-stripeResource":{"class_name":"Release","in_package":"Reserve"}},"reserve.release.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/reserve.release"}},"description":"Occurs when a reserve release is created.","x-expandableFields":[],"x-stripeEvent":{"type":"reserve.release.created"}},"reserve_transaction":{"title":"ReserveTransaction","required":["amount","currency","description","id","object"],"type":"object","properties":{"amount":{"type":"integer"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["reserve_transaction"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","description","id","object"],"x-stripeResource":{"class_name":"ReserveTransaction","in_package":"","polymorphic_groups":["balance_transaction_source"]}},"reserves_reserve_holds_resources_release_schedule":{"title":"ReservesReserveHoldsResourcesReleaseSchedule","required":["release_after","scheduled_release"],"type":"object","properties":{"release_after":{"type":"integer","description":"The time after which the ReserveHold is requested to be released.","format":"unix-time","nullable":true},"scheduled_release":{"type":"integer","description":"The time at which the ReserveHold is scheduled to be released, automatically set to midnight UTC of the day after `release_after`.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["release_after","scheduled_release"]},"reserves_reserve_plans_resources_fixed_release":{"title":"ReservesReservePlansResourcesFixedRelease","required":["release_after","scheduled_release"],"type":"object","properties":{"release_after":{"type":"integer","description":"The time after which all reserved funds are requested for release."},"scheduled_release":{"type":"integer","description":"The time at which reserved funds are scheduled for release, automatically set to midnight UTC of the day after `release_after`.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["release_after","scheduled_release"]},"reserves_reserve_plans_resources_rolling_release":{"title":"ReservesReservePlansResourcesRollingRelease","required":["days_after_charge","expires_on"],"type":"object","properties":{"days_after_charge":{"type":"integer","description":"The number of days to reserve funds before releasing."},"expires_on":{"type":"integer","description":"The time at which the ReservePlan expires.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["days_after_charge","expires_on"]},"reserves_reserve_releases_resources_source_transaction":{"title":"ReservesReserveReleasesResourcesSourceTransaction","required":["type"],"type":"object","properties":{"dispute":{"description":"The ID of the dispute.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/dispute"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/dispute"}]}},"refund":{"description":"The ID of the refund.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/refund"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/refund"}]}},"type":{"type":"string","description":"The type of source transaction.","enum":["dispute","refund"]}},"description":"","x-expandableFields":["dispute","refund"],"x-stripeMostCommon":["dispute","refund","type"]},"review":{"title":"RadarReview","required":["billing_zip","charge","closed_reason","created","id","ip_address","ip_address_location","livemode","object","open","opened_reason","reason","session"],"type":"object","properties":{"billing_zip":{"maxLength":5000,"type":"string","description":"The ZIP or postal code of the card used, if applicable.","nullable":true},"charge":{"description":"The charge associated with this review.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"closed_reason":{"type":"string","description":"The reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`.","nullable":true,"enum":["acknowledged","approved","canceled","disputed","payment_never_settled","redacted","refunded","refunded_as_fraud"]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"ip_address":{"maxLength":5000,"type":"string","description":"The IP address where the payment originated.","nullable":true},"ip_address_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,"anyOf":[{"$ref":"#/components/schemas/radar_review_resource_location"}]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["review"]},"open":{"type":"boolean","description":"If `true`, the review needs action."},"opened_reason":{"type":"string","description":"The reason the review was opened. One of `rule` or `manual`.","enum":["manual","rule"]},"payment_intent":{"description":"The PaymentIntent ID associated with this review, if one exists.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"reason":{"maxLength":5000,"type":"string","description":"The reason the review is currently open or closed. One of `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, `disputed`, `redacted`, `canceled`, `payment_never_settled`, or `acknowledged`."},"session":{"description":"Information related to the browsing session of the user who initiated the payment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/radar_review_resource_session"}]}},"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://docs.stripe.com/radar/reviews).","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/review"}},"description":"Occurs whenever a review is closed. The review's `reason` field indicates why: `approved`, `disputed`, `refunded`, `refunded_as_fraud`, or `canceled`.","x-expandableFields":[],"x-stripeEvent":{"type":"review.closed"}},"review.opened":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/review"}},"description":"Occurs whenever a review is opened.","x-expandableFields":[],"x-stripeEvent":{"type":"review.opened"}},"revolut_pay_underlying_payment_method_funding_details":{"title":"revolut_pay_underlying_payment_method_funding_details","required":["type"],"type":"object","properties":{"card":{"$ref":"#/components/schemas/payment_method_details_passthrough_card"},"type":{"type":"string","description":"funding type of the underlying payment method.","nullable":true,"enum":["card"]}},"description":"","x-expandableFields":["card"],"x-stripeMostCommon":["card","type"]},"rule":{"title":"RadarRule","required":["action","id","predicate"],"type":"object","properties":{"action":{"maxLength":5000,"type":"string","description":"The action taken on the payment."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"predicate":{"maxLength":5000,"type":"string","description":"The predicate to evaluate the payment against."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["action","id","predicate"],"x-stripeResource":{"class_name":"Rule","in_package":"Radar"}},"scheduled_query_run":{"title":"ScheduledQueryRun","required":["created","data_load_time","file","id","livemode","object","result_available_until","sql","status","title"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"data_load_time":{"type":"integer","description":"When the query was run, Sigma contained a snapshot of your Stripe data at this time.","format":"unix-time"},"error":{"$ref":"#/components/schemas/sigma_scheduled_query_run_error"},"file":{"description":"The file object representing the results of the query.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/file"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["scheduled_query_run"]},"result_available_until":{"type":"integer","description":"Time at which the result expires and is no longer available for download.","format":"unix-time"},"sql":{"maxLength":100000,"type":"string","description":"SQL for the query."},"status":{"maxLength":5000,"type":"string","description":"The query's execution status, which will be `completed` for successful runs, and `canceled`, `failed`, or `timed_out` otherwise."},"title":{"maxLength":5000,"type":"string","description":"Title of the query."}},"description":"If you have [scheduled a Sigma query](https://docs.stripe.com/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.","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":{"title":"SchedulesPhaseAutomaticTax","required":["disabled_reason","enabled","liability"],"type":"object","properties":{"disabled_reason":{"type":"string","description":"If Stripe disabled automatic tax, this enum describes why.","nullable":true,"enum":["requires_location_inputs"]},"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on invoices created during this phase."},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]}},"description":"","x-expandableFields":["liability"],"x-stripeMostCommon":["disabled_reason","enabled","liability"]},"secret_service_resource_scope":{"title":"SecretServiceResourceScope","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The secret scope type.","enum":["account","user"]},"user":{"maxLength":5000,"type":"string","description":"The user ID, if type is set to \"user\""}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type","user"]},"sepa_debit_generated_from":{"title":"sepa_debit_generated_from","required":["charge","setup_attempt"],"type":"object","properties":{"charge":{"description":"The ID of the Charge that generated this PaymentMethod, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"setup_attempt":{"description":"The ID of the SetupAttempt that generated this PaymentMethod, if any.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/setup_attempt"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/setup_attempt"}]}}},"description":"","x-expandableFields":["charge","setup_attempt"],"x-stripeMostCommon":["charge","setup_attempt"]},"setup_attempt":{"title":"PaymentFlowsSetupIntentSetupAttempt","required":["application","created","customer","customer_account","flow_directions","id","livemode","object","on_behalf_of","payment_method","payment_method_details","setup_error","setup_intent","status","usage"],"type":"object","properties":{"application":{"description":"The value of [application](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-application) on the SetupIntent at the time of this confirmation.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"attach_to_self":{"type":"boolean","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."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer":{"description":"The value of [customer](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer) on the SetupIntent at the time of this confirmation.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The value of [customer_account](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer_account) on the SetupIntent at the time of this confirmation.","nullable":true},"flow_directions":{"type":"array","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.","nullable":true,"items":{"type":"string","enum":["inbound","outbound"]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["setup_attempt"]},"on_behalf_of":{"description":"The value of [on_behalf_of](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of) on the SetupIntent at the time of this confirmation.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"payment_method":{"description":"ID of the payment method used with this SetupAttempt.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"payment_method_details":{"$ref":"#/components/schemas/setup_attempt_payment_method_details"},"setup_error":{"description":"The error encountered during this attempt to confirm the SetupIntent, if any.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/api_errors"}]},"setup_intent":{"description":"ID of the SetupIntent that this attempt belongs to.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/setup_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/setup_intent"}]}},"status":{"maxLength":5000,"type":"string","description":"Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`."},"usage":{"maxLength":5000,"type":"string","description":"The value of [usage](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage) on the SetupIntent at the time of this confirmation, one of `off_session` or `on_session`."}},"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.","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","customer_account","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":{"title":"SetupAttemptPaymentMethodDetails","required":["type"],"type":"object","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"},"naver_pay":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_naver_pay"},"nz_bank_account":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_nz_bank_account"},"paypal":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_paypal"},"payto":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_payto"},"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":{"maxLength":5000,"type":"string","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."},"upi":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_upi"},"us_bank_account":{"$ref":"#/components/schemas/setup_attempt_payment_method_details_us_bank_account"}},"description":"","x-expandableFields":["acss_debit","amazon_pay","au_becs_debit","bacs_debit","bancontact","boleto","card","card_present","cashapp","ideal","kakao_pay","klarna","kr_card","link","naver_pay","nz_bank_account","paypal","payto","revolut_pay","sepa_debit","sofort","upi","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","naver_pay","nz_bank_account","paypal","payto","revolut_pay","sepa_debit","sofort","type","upi","us_bank_account"]},"setup_attempt_payment_method_details_acss_debit":{"title":"setup_attempt_payment_method_details_acss_debit","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_amazon_pay":{"title":"setup_attempt_payment_method_details_amazon_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_au_becs_debit":{"title":"setup_attempt_payment_method_details_au_becs_debit","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"AuBecsDebit","in_package":""}},"setup_attempt_payment_method_details_bacs_debit":{"title":"setup_attempt_payment_method_details_bacs_debit","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_bancontact":{"title":"setup_attempt_payment_method_details_bancontact","required":["bank_code","bank_name","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","preferred_language","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"preferred_language":{"type":"string","description":"Preferred language of the Bancontact authorization page that the customer is redirected to.\nCan be one of `en`, `de`, `fr`, or `nl`","nullable":true,"enum":["de","en","fr","nl"]},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","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":{"title":"setup_attempt_payment_method_details_boleto","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_card":{"title":"setup_attempt_payment_method_details_card","required":["brand","checks","country","exp_month","exp_year","funding","last4","network","three_d_secure","wallet"],"type":"object","properties":{"brand":{"maxLength":5000,"type":"string","description":"Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.","nullable":true},"checks":{"description":"Check results by Card networks on Card address and CVC at the time of authorization","nullable":true,"anyOf":[{"$ref":"#/components/schemas/setup_attempt_payment_method_details_card_checks"}]},"country":{"maxLength":5000,"type":"string","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.","nullable":true},"description":{"maxLength":5000,"type":"string","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.)","nullable":true},"exp_month":{"type":"integer","description":"Two-digit number representing the card's expiration month.","nullable":true},"exp_year":{"type":"integer","description":"Four-digit number representing the card's expiration year.","nullable":true},"fingerprint":{"maxLength":5000,"type":"string","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.*","nullable":true},"funding":{"maxLength":5000,"type":"string","description":"Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.","nullable":true},"iin":{"maxLength":5000,"type":"string","description":"Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)","nullable":true},"issuer":{"maxLength":5000,"type":"string","description":"The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the card.","nullable":true},"network":{"maxLength":5000,"type":"string","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`.","nullable":true},"three_d_secure":{"description":"Populated if this authorization used 3D Secure authentication.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/three_d_secure_details"}]},"wallet":{"description":"If this Card is part of a card wallet, this contains the details of the card wallet.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/setup_attempt_payment_method_details_card_wallet"}]}},"description":"","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":{"title":"setup_attempt_payment_method_details_card_checks","required":["address_line1_check","address_postal_code_check","cvc_check"],"type":"object","properties":{"address_line1_check":{"maxLength":5000,"type":"string","description":"If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"address_postal_code_check":{"maxLength":5000,"type":"string","description":"If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true},"cvc_check":{"maxLength":5000,"type":"string","description":"If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["address_line1_check","address_postal_code_check","cvc_check"]},"setup_attempt_payment_method_details_card_present":{"title":"setup_attempt_payment_method_details_card_present","required":["generated_card","offline"],"type":"object","properties":{"generated_card":{"description":"The ID of the Card PaymentMethod which was generated by this SetupAttempt.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"offline":{"description":"Details about payments collected offline.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_details_card_present_offline"}]}},"description":"","x-expandableFields":["generated_card","offline"],"x-stripeMostCommon":["generated_card","offline"],"x-stripeResource":{"class_name":"CardPresent","in_package":""}},"setup_attempt_payment_method_details_card_wallet":{"title":"setup_attempt_payment_method_details_card_wallet","required":["type"],"type":"object","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":{"type":"string","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"]}},"description":"","x-expandableFields":["apple_pay","google_pay"],"x-stripeMostCommon":["apple_pay","google_pay","type"]},"setup_attempt_payment_method_details_cashapp":{"title":"setup_attempt_payment_method_details_cashapp","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_ideal":{"title":"setup_attempt_payment_method_details_ideal","required":["bank","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","verified_name"],"type":"object","properties":{"bank":{"type":"string","description":"The customer's bank. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.","nullable":true,"enum":["abn_amro","adyen","asn_bank","bunq","buut","finom","handelsbanken","ing","knab","mollie","moneyou","n26","nn","rabobank","regiobank","revolut","sns_bank","triodos_bank","van_lanschot","yoursafe"]},"bic":{"type":"string","description":"The Bank Identifier Code of the customer's bank.","nullable":true,"enum":["ABNANL2A","ADYBNL2A","ASNBNL21","BITSNL2A","BUNQNL2A","BUUTNL2A","FNOMNL22","FVLBNL22","HANDNL2A","INGBNL2A","KNABNL2H","MLLENL2A","MOYONL21","NNBANL2G","NTSBDEB1","RABONL2U","RBRBNL21","REVOIE23","REVOLT21","SNSBNL2A","TRIONL2U"]},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","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":{"title":"setup_attempt_payment_method_details_kakao_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_klarna":{"title":"setup_attempt_payment_method_details_klarna","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_kr_card":{"title":"setup_attempt_payment_method_details_kr_card","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_link":{"title":"setup_attempt_payment_method_details_link","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_naver_pay":{"title":"setup_attempt_payment_method_details_naver_pay","type":"object","properties":{"buyer_id":{"maxLength":5000,"type":"string","description":"Uniquely identifies this particular Naver Pay account. You can use this attribute to check whether two Naver Pay accounts are the same."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["buyer_id"]},"setup_attempt_payment_method_details_nz_bank_account":{"title":"setup_attempt_payment_method_details_nz_bank_account","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"NzBankAccount","in_package":""}},"setup_attempt_payment_method_details_paypal":{"title":"setup_attempt_payment_method_details_paypal","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_payto":{"title":"setup_attempt_payment_method_details_payto","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_revolut_pay":{"title":"setup_attempt_payment_method_details_revolut_pay","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"RevolutPay","in_package":""}},"setup_attempt_payment_method_details_sepa_debit":{"title":"setup_attempt_payment_method_details_sepa_debit","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_sofort":{"title":"setup_attempt_payment_method_details_sofort","required":["bank_code","bank_name","bic","generated_sepa_debit","generated_sepa_debit_mandate","iban_last4","preferred_language","verified_name"],"type":"object","properties":{"bank_code":{"maxLength":5000,"type":"string","description":"Bank code of bank associated with the bank account.","nullable":true},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank associated with the bank account.","nullable":true},"bic":{"maxLength":5000,"type":"string","description":"Bank Identifier Code of the bank associated with the bank account.","nullable":true},"generated_sepa_debit":{"description":"The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"generated_sepa_debit_mandate":{"description":"The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"iban_last4":{"maxLength":5000,"type":"string","description":"Last four characters of the IBAN.","nullable":true},"preferred_language":{"type":"string","description":"Preferred language of the Sofort authorization page that the customer is redirected to.\nCan be one of `en`, `de`, `fr`, or `nl`","nullable":true,"enum":["de","en","fr","nl"]},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","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_upi":{"title":"setup_attempt_payment_method_details_upi","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_attempt_payment_method_details_us_bank_account":{"title":"setup_attempt_payment_method_details_us_bank_account","type":"object","properties":{},"description":"","x-expandableFields":[],"x-stripeResource":{"class_name":"UsBankAccount","in_package":""}},"setup_intent":{"title":"SetupIntent","required":["application","automatic_payment_methods","cancellation_reason","client_secret","created","customer","description","excluded_payment_method_types","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"],"type":"object","properties":{"application":{"description":"ID of the Connect application that created the SetupIntent.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"attach_to_self":{"type":"boolean","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."},"automatic_payment_methods":{"description":"Settings for dynamic payment methods compatible with this Setup Intent","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_flows_automatic_payment_methods_setup_intent"}]},"cancellation_reason":{"type":"string","description":"Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`.","nullable":true,"enum":["abandoned","duplicate","requested_by_customer"]},"client_secret":{"maxLength":5000,"type":"string","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.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account this SetupIntent belongs to, if one exists.\n\nIf present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.","nullable":true},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"excluded_payment_method_types":{"type":"array","description":"Payment method types that are excluded from this SetupIntent.","nullable":true,"items":{"type":"string","enum":["acss_debit","affirm","afterpay_clearpay","alipay","alma","amazon_pay","au_becs_debit","bacs_debit","bancontact","billie","blik","boleto","card","cashapp","crypto","customer_balance","eps","fpx","giropay","grabpay","ideal","kakao_pay","klarna","konbini","kr_card","mb_way","mobilepay","multibanco","naver_pay","nz_bank_account","oxxo","p24","pay_by_bank","payco","paynow","paypal","payto","pix","promptpay","revolut_pay","samsung_pay","satispay","sepa_debit","sofort","swish","twint","upi","us_bank_account","wechat_pay","zip"],"x-stripeBypassValidation":true}},"flow_directions":{"type":"array","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.","nullable":true,"items":{"type":"string","enum":["inbound","outbound"]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"last_setup_error":{"description":"The error encountered in the previous SetupIntent confirmation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/api_errors"}]},"latest_attempt":{"description":"The most recent SetupAttempt for this SetupIntent.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/setup_attempt"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/setup_attempt"}]}},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"mandate":{"description":"ID of the multi use Mandate generated by the SetupIntent.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"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,"anyOf":[{"$ref":"#/components/schemas/setup_intent_next_action"}]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["setup_intent"]},"on_behalf_of":{"description":"The account (if any) for which the setup is intended.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"payment_method_configuration_details":{"description":"Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this Setup Intent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/payment_method_config_biz_payment_method_configuration_details"}]},"payment_method_options":{"description":"Payment method-specific configuration for this SetupIntent.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/setup_intent_payment_method_options"}]},"payment_method_types":{"type":"array","description":"The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).","items":{"maxLength":5000,"type":"string"}},"single_use_mandate":{"description":"ID of the single_use Mandate generated by the SetupIntent.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/mandate"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/mandate"}]}},"status":{"type":"string","description":"[Status](https://docs.stripe.com/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"]},"usage":{"maxLength":5000,"type":"string","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`."}},"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://api.stripe.com#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://api.stripe.com#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://api.stripe.com#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)","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","customer_account","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/setup_intent"}},"description":"Occurs when a SetupIntent is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"setup_intent.canceled"}},"setup_intent.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/setup_intent"}},"description":"Occurs when a new SetupIntent is created.","x-expandableFields":[],"x-stripeEvent":{"type":"setup_intent.created"}},"setup_intent.requires_action":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/setup_intent"}},"description":"Occurs when a SetupIntent is in requires_action state.","x-expandableFields":[],"x-stripeEvent":{"type":"setup_intent.requires_action"}},"setup_intent.setup_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/setup_intent"}},"description":"Occurs when a SetupIntent has failed the attempt to setup a payment method.","x-expandableFields":[],"x-stripeEvent":{"type":"setup_intent.setup_failed"}},"setup_intent.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/setup_intent"}},"description":"Occurs when an SetupIntent has successfully setup a payment method.","x-expandableFields":[],"x-stripeEvent":{"type":"setup_intent.succeeded"}},"setup_intent_next_action":{"title":"SetupIntentNextAction","required":["type"],"type":"object","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":{"maxLength":5000,"type":"string","description":"Type of the next action to perform. Refer to the other child attributes under `next_action` for available values. Examples include: `redirect_to_url`, `use_stripe_sdk`, `alipay_handle_redirect`, `oxxo_display_details`, or `verify_with_microdeposits`."},"upi_handle_redirect_or_display_qr_code":{"$ref":"#/components/schemas/payment_intent_next_action_upi_handle_redirect_or_display_qr_code"},"use_stripe_sdk":{"type":"object","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."},"verify_with_microdeposits":{"$ref":"#/components/schemas/setup_intent_next_action_verify_with_microdeposits"}},"description":"","x-expandableFields":["cashapp_handle_redirect_or_display_qr_code","redirect_to_url","upi_handle_redirect_or_display_qr_code","verify_with_microdeposits"],"x-stripeMostCommon":["cashapp_handle_redirect_or_display_qr_code","redirect_to_url","type","upi_handle_redirect_or_display_qr_code","use_stripe_sdk","verify_with_microdeposits"]},"setup_intent_next_action_redirect_to_url":{"title":"SetupIntentNextActionRedirectToUrl","required":["return_url","url"],"type":"object","properties":{"return_url":{"maxLength":5000,"type":"string","description":"If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion.","nullable":true},"url":{"maxLength":5000,"type":"string","description":"The URL you must redirect your customer to in order to authenticate.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["return_url","url"],"x-stripeResource":{"class_name":"NextActionRedirectToUrl","in_package":""}},"setup_intent_next_action_verify_with_microdeposits":{"title":"SetupIntentNextActionVerifyWithMicrodeposits","required":["arrival_date","hosted_verification_url","microdeposit_type"],"type":"object","properties":{"arrival_date":{"type":"integer","description":"The timestamp when the microdeposits are expected to land.","format":"unix-time"},"hosted_verification_url":{"maxLength":5000,"type":"string","description":"The URL for the hosted verification page, which allows customers to verify their bank account."},"microdeposit_type":{"type":"string","description":"The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.","nullable":true,"enum":["amounts","descriptor_code"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["arrival_date","hosted_verification_url","microdeposit_type"]},"setup_intent_payment_method_options":{"title":"SetupIntentPaymentMethodOptions","type":"object","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"},"klarna":{"$ref":"#/components/schemas/setup_intent_payment_method_options_klarna"},"link":{"$ref":"#/components/schemas/setup_intent_payment_method_options_link"},"paypal":{"$ref":"#/components/schemas/setup_intent_payment_method_options_paypal"},"payto":{"$ref":"#/components/schemas/setup_intent_payment_method_options_payto"},"sepa_debit":{"$ref":"#/components/schemas/setup_intent_payment_method_options_sepa_debit"},"upi":{"$ref":"#/components/schemas/setup_intent_payment_method_options_upi"},"us_bank_account":{"$ref":"#/components/schemas/setup_intent_payment_method_options_us_bank_account"}},"description":"","x-expandableFields":["acss_debit","amazon_pay","bacs_debit","card","card_present","klarna","link","paypal","payto","sepa_debit","upi","us_bank_account"],"x-stripeMostCommon":["acss_debit","amazon_pay","bacs_debit","card","card_present","klarna","link","paypal","payto","sepa_debit","upi","us_bank_account"]},"setup_intent_payment_method_options_acss_debit":{"title":"setup_intent_payment_method_options_acss_debit","required":["currency"],"type":"object","properties":{"currency":{"type":"string","description":"Currency supported by the bank account","nullable":true,"enum":["cad","usd"]},"mandate_options":{"$ref":"#/components/schemas/setup_intent_payment_method_options_mandate_options_acss_debit"},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["currency","mandate_options","verification_method"]},"setup_intent_payment_method_options_amazon_pay":{"title":"setup_intent_payment_method_options_amazon_pay","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_intent_payment_method_options_bacs_debit":{"title":"setup_intent_payment_method_options_bacs_debit","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/setup_intent_payment_method_options_mandate_options_bacs_debit"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options"]},"setup_intent_payment_method_options_card":{"title":"setup_intent_payment_method_options_card","required":["mandate_options","network","request_three_d_secure"],"type":"object","properties":{"mandate_options":{"description":"Configuration options for setting up an eMandate for cards issued in India.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/setup_intent_payment_method_options_card_mandate_options"}]},"network":{"type":"string","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.","nullable":true,"enum":["amex","cartes_bancaires","diners","discover","eftpos_au","girocard","interac","jcb","link","mastercard","unionpay","unknown","visa"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.","nullable":true,"enum":["any","automatic","challenge"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","network","request_three_d_secure"]},"setup_intent_payment_method_options_card_mandate_options":{"title":"setup_intent_payment_method_options_card_mandate_options","required":["amount","amount_type","currency","description","end_date","interval","interval_count","reference","start_date","supported_types"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount to be charged for future payments, specified in the presentment currency."},"amount_type":{"type":"string","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"]},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":200,"type":"string","description":"A description of the mandate or subscription that is meant to be displayed to the customer.","nullable":true},"end_date":{"type":"integer","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},"interval":{"type":"string","description":"Specifies payment frequency. One of `day`, `week`, `month`, `year`, or `sporadic`.","enum":["day","month","sporadic","week","year"]},"interval_count":{"type":"integer","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},"reference":{"maxLength":80,"type":"string","description":"Unique identifier for the mandate or subscription."},"start_date":{"type":"integer","description":"Start date of the mandate or subscription. Start date should not be lesser than yesterday.","format":"unix-time"},"supported_types":{"type":"array","description":"Specifies the type of mandates supported. Possible values are `india`.","nullable":true,"items":{"type":"string","enum":["india"]}}},"description":"","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":{"title":"setup_intent_payment_method_options_card_present","type":"object","properties":{},"description":"","x-expandableFields":[]},"setup_intent_payment_method_options_klarna":{"title":"setup_intent_payment_method_options_klarna","required":["currency","preferred_locale"],"type":"object","properties":{"currency":{"type":"string","description":"The currency of the setup intent. Three letter ISO currency code.","format":"currency","nullable":true},"preferred_locale":{"maxLength":5000,"type":"string","description":"Preferred locale of the Klarna checkout page that the customer is redirected to.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["currency","preferred_locale"]},"setup_intent_payment_method_options_link":{"title":"setup_intent_payment_method_options_link","required":["persistent_token"],"type":"object","properties":{"persistent_token":{"maxLength":5000,"type":"string","description":"[Deprecated] This is a legacy parameter that no longer has any function.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["persistent_token"]},"setup_intent_payment_method_options_mandate_options_acss_debit":{"title":"setup_intent_payment_method_options_mandate_options_acss_debit","required":["interval_description","payment_schedule","transaction_type"],"type":"object","properties":{"custom_mandate_url":{"maxLength":5000,"type":"string","description":"A URL for custom mandate text"},"default_for":{"type":"array","description":"List of Stripe products where this mandate can be selected automatically.","items":{"type":"string","enum":["invoice","subscription"]}},"interval_description":{"maxLength":5000,"type":"string","description":"Description of the interval. Only required if the 'payment_schedule' parameter is 'interval' or 'combined'.","nullable":true},"payment_schedule":{"type":"string","description":"Payment schedule for the mandate.","nullable":true,"enum":["combined","interval","sporadic"]},"transaction_type":{"type":"string","description":"Transaction type of the mandate.","nullable":true,"enum":["business","personal"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["custom_mandate_url","default_for","interval_description","payment_schedule","transaction_type"]},"setup_intent_payment_method_options_mandate_options_bacs_debit":{"title":"setup_intent_payment_method_options_mandate_options_bacs_debit","type":"object","properties":{"reference_prefix":{"maxLength":5000,"type":"string","description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'DDIC' or 'STRIPE'."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference_prefix"],"x-stripeResource":{"class_name":"BacsDebitMandateOptions","in_package":""}},"setup_intent_payment_method_options_mandate_options_payto":{"title":"setup_intent_payment_method_options_mandate_options_payto","required":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount that will be collected. It is required when `amount_type` is `fixed`.","nullable":true},"amount_type":{"type":"string","description":"The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.","nullable":true,"enum":["fixed","maximum"]},"end_date":{"maxLength":5000,"type":"string","description":"Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.","nullable":true},"payment_schedule":{"type":"string","description":"The periodicity at which payments will be collected. Defaults to `adhoc`.","nullable":true,"enum":["adhoc","annual","daily","fortnightly","monthly","quarterly","semi_annual","weekly"]},"payments_per_period":{"type":"integer","description":"The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.","nullable":true},"purpose":{"type":"string","description":"The purpose for which payments are made. Has a default value based on your merchant category code.","nullable":true,"enum":["dependant_support","government","loan","mortgage","other","pension","personal","retail","salary","tax","utility"]},"start_date":{"maxLength":5000,"type":"string","description":"Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","amount_type","end_date","payment_schedule","payments_per_period","purpose","start_date"]},"setup_intent_payment_method_options_mandate_options_sepa_debit":{"title":"setup_intent_payment_method_options_mandate_options_sepa_debit","type":"object","properties":{"reference_prefix":{"maxLength":5000,"type":"string","description":"Prefix used to generate the Mandate reference. Must be at most 12 characters long. Must consist of only uppercase letters, numbers, spaces, or the following special characters: '/', '_', '-', '&', '.'. Cannot begin with 'STRIPE'."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference_prefix"],"x-stripeResource":{"class_name":"SepaDebitMandateOptions","in_package":""}},"setup_intent_payment_method_options_paypal":{"title":"setup_intent_payment_method_options_paypal","required":["billing_agreement_id"],"type":"object","properties":{"billing_agreement_id":{"maxLength":5000,"type":"string","description":"The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["billing_agreement_id"]},"setup_intent_payment_method_options_payto":{"title":"setup_intent_payment_method_options_payto","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/setup_intent_payment_method_options_mandate_options_payto"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options"]},"setup_intent_payment_method_options_sepa_debit":{"title":"setup_intent_payment_method_options_sepa_debit","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/setup_intent_payment_method_options_mandate_options_sepa_debit"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options"]},"setup_intent_payment_method_options_upi":{"title":"setup_intent_payment_method_options_upi","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/payment_method_options_mandate_options_upi"}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options"]},"setup_intent_payment_method_options_us_bank_account":{"title":"setup_intent_payment_method_options_us_bank_account","type":"object","properties":{"financial_connections":{"$ref":"#/components/schemas/linked_account_options_common"},"mandate_options":{"$ref":"#/components/schemas/payment_method_options_us_bank_account_mandate_options"},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["financial_connections","mandate_options"],"x-stripeMostCommon":["financial_connections","mandate_options","verification_method"]},"setup_intent_type_specific_payment_method_options_client":{"title":"SetupIntentTypeSpecificPaymentMethodOptionsClient","type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/setup_intent_payment_method_options_mandate_options_payto"},"verification_method":{"type":"string","description":"Bank account verification method. The default value is `automatic`.","enum":["automatic","instant","microdeposits"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","verification_method"]},"shipping":{"title":"Shipping","type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"carrier":{"maxLength":5000,"type":"string","description":"The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Recipient name."},"phone":{"maxLength":5000,"type":"string","description":"Recipient phone (including extension).","nullable":true},"tracking_number":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address","carrier","name","phone","tracking_number"],"x-stripeResource":{"class_name":"ShippingDetails","in_package":""}},"shipping_rate":{"title":"ShippingRate","required":["active","created","delivery_estimate","display_name","id","livemode","metadata","object","tax_behavior","tax_code","type"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether the shipping rate can be used for new purchases. Defaults to `true`."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"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,"anyOf":[{"$ref":"#/components/schemas/shipping_rate_delivery_estimate"}]},"display_name":{"maxLength":5000,"type":"string","description":"The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.","nullable":true},"fixed_amount":{"$ref":"#/components/schemas/shipping_rate_fixed_amount"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["shipping_rate"]},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","nullable":true,"enum":["exclusive","inclusive","unspecified"]},"tax_code":{"description":"A [tax code](https://docs.stripe.com/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/tax_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/tax_code"}]}},"type":{"type":"string","description":"The type of calculation to use on the shipping rate.","enum":["fixed_amount"]}},"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://docs.stripe.com/payments/during-payment/charge-shipping).","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":{"title":"ShippingRateCurrencyOption","required":["amount","tax_behavior"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"tax_behavior":{"type":"string","description":"Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.","enum":["exclusive","inclusive","unspecified"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","tax_behavior"]},"shipping_rate_delivery_estimate":{"title":"ShippingRateDeliveryEstimate","required":["maximum","minimum"],"type":"object","properties":{"maximum":{"description":"The upper bound of the estimated range. If empty, represents no upper bound i.e., infinite.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shipping_rate_delivery_estimate_bound"}]},"minimum":{"description":"The lower bound of the estimated range. If empty, represents no lower bound.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/shipping_rate_delivery_estimate_bound"}]}},"description":"","x-expandableFields":["maximum","minimum"],"x-stripeMostCommon":["maximum","minimum"]},"shipping_rate_delivery_estimate_bound":{"title":"ShippingRateDeliveryEstimateBound","required":["unit","value"],"type":"object","properties":{"unit":{"type":"string","description":"A unit of time.","enum":["business_day","day","hour","month","week"]},"value":{"type":"integer","description":"Must be greater than 0."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["unit","value"]},"shipping_rate_fixed_amount":{"title":"ShippingRateFixedAmount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","description":"A non-negative integer in cents representing how much to charge."},"currency":{"type":"string","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).","format":"currency"},"currency_options":{"type":"object","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)."}},"description":"","x-expandableFields":["currency_options"],"x-stripeMostCommon":["amount","currency","currency_options"]},"sigma.scheduled_query_run.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/scheduled_query_run"}},"description":"Occurs whenever a Sigma scheduled query run finishes.","x-expandableFields":[],"x-stripeEvent":{"type":"sigma.scheduled_query_run.created"}},"sigma_scheduled_query_run_error":{"title":"SigmaScheduledQueryRunError","required":["message"],"type":"object","properties":{"message":{"maxLength":5000,"type":"string","description":"Information about the run failure."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["message"]},"source":{"title":"Source","required":["allow_redisplay","amount","client_secret","created","currency","flow","id","livemode","metadata","object","owner","statement_descriptor","status","type","usage"],"type":"object","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"},"allow_redisplay":{"type":"string","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”.","nullable":true,"enum":["always","limited","unspecified"]},"amount":{"type":"integer","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},"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":{"maxLength":5000,"type":"string","description":"The client secret of the source. Used for client-side retrieval using a publishable key."},"code_verification":{"$ref":"#/components/schemas/source_code_verification_flow"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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.","format":"currency","nullable":true},"customer":{"maxLength":5000,"type":"string","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."},"eps":{"$ref":"#/components/schemas/source_type_eps"},"flow":{"maxLength":5000,"type":"string","description":"The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`."},"giropay":{"$ref":"#/components/schemas/source_type_giropay"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"ideal":{"$ref":"#/components/schemas/source_type_ideal"},"klarna":{"$ref":"#/components/schemas/source_type_klarna"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"multibanco":{"$ref":"#/components/schemas/source_type_multibanco"},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["source"]},"owner":{"description":"Information about the owner of the payment instrument that may be used or required by particular source types.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/source_owner"}]},"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":{"maxLength":5000,"type":"string","description":"Extra information about a source. This will appear on your customer's statement every time you charge the source.","nullable":true},"status":{"maxLength":5000,"type":"string","description":"The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge."},"three_d_secure":{"$ref":"#/components/schemas/source_type_three_d_secure"},"type":{"type":"string","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://docs.stripe.com/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"],"x-stripeBypassValidation":true},"usage":{"maxLength":5000,"type":"string","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.","nullable":true},"wechat":{"$ref":"#/components/schemas/source_type_wechat"}},"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://docs.stripe.com/api/sources).\nWe recommend that you adopt the [PaymentMethods API](https://docs.stripe.com/api/payment_methods).\nThis newer API provides access to our latest features and payment method types.\n\nRelated guides: [Sources API](https://docs.stripe.com/sources) and [Sources & Customers](https://docs.stripe.com/sources/customers).","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/source"}},"description":"Occurs whenever a source is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"source.canceled"}},"source.chargeable":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/source"}},"description":"Occurs whenever a source transitions to chargeable.","x-expandableFields":[],"x-stripeEvent":{"type":"source.chargeable"}},"source.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/source"}},"description":"Occurs whenever a source fails.","x-expandableFields":[],"x-stripeEvent":{"type":"source.failed"}},"source.mandate_notification":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/source_mandate_notification"}},"description":"Occurs whenever a source mandate notification method is set to manual.","x-expandableFields":[],"x-stripeEvent":{"type":"source.mandate_notification"}},"source.refund_attributes_required":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/source"}},"description":"Occurs whenever the refund attributes are required on a receiver source to process a refund or a mispayment.","x-expandableFields":[],"x-stripeEvent":{"type":"source.refund_attributes_required"}},"source.transaction.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/source_transaction"}},"description":"Occurs whenever a source transaction is created.","x-expandableFields":[],"x-stripeEvent":{"type":"source.transaction.created"}},"source.transaction.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/source_transaction"}},"description":"Occurs whenever a source transaction is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"source.transaction.updated"}},"source_code_verification_flow":{"title":"SourceCodeVerificationFlow","required":["attempts_remaining","status"],"type":"object","properties":{"attempts_remaining":{"type":"integer","description":"The number of attempts remaining to authenticate the source object with a verification code."},"status":{"maxLength":5000,"type":"string","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)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["attempts_remaining","status"]},"source_mandate_notification":{"title":"SourceMandateNotification","required":["amount","created","id","livemode","object","reason","source","status","type"],"type":"object","properties":{"acss_debit":{"$ref":"#/components/schemas/source_mandate_notification_acss_debit_data"},"amount":{"type":"integer","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},"bacs_debit":{"$ref":"#/components/schemas/source_mandate_notification_bacs_debit_data"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["source_mandate_notification"]},"reason":{"maxLength":5000,"type":"string","description":"The reason of the mandate notification. Valid reasons are `mandate_confirmed` or `debit_initiated`."},"sepa_debit":{"$ref":"#/components/schemas/source_mandate_notification_sepa_debit_data"},"source":{"$ref":"#/components/schemas/source"},"status":{"maxLength":5000,"type":"string","description":"The status of the mandate notification. Valid statuses are `pending` or `submitted`."},"type":{"maxLength":5000,"type":"string","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`."}},"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.","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":{"title":"SourceMandateNotificationAcssDebitData","type":"object","properties":{"statement_descriptor":{"maxLength":5000,"type":"string","description":"The statement descriptor associate with the debit."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["statement_descriptor"]},"source_mandate_notification_bacs_debit_data":{"title":"SourceMandateNotificationBacsDebitData","type":"object","properties":{"last4":{"maxLength":5000,"type":"string","description":"Last 4 digits of the account number associated with the debit."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["last4"]},"source_mandate_notification_sepa_debit_data":{"title":"SourceMandateNotificationSepaDebitData","type":"object","properties":{"creditor_identifier":{"maxLength":5000,"type":"string","description":"SEPA creditor ID."},"last4":{"maxLength":5000,"type":"string","description":"Last 4 digits of the account number associated with the debit."},"mandate_reference":{"maxLength":5000,"type":"string","description":"Mandate reference associated with the debit."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["creditor_identifier","last4","mandate_reference"]},"source_order":{"title":"SourceOrder","required":["amount","currency","items"],"type":"object","properties":{"amount":{"type":"integer","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."},"currency":{"type":"string","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).","format":"currency"},"email":{"maxLength":5000,"type":"string","description":"The email address of the customer placing the order."},"items":{"type":"array","description":"List of items constituting the order.","nullable":true,"items":{"$ref":"#/components/schemas/source_order_item"}},"shipping":{"$ref":"#/components/schemas/shipping"}},"description":"","x-expandableFields":["items","shipping"],"x-stripeMostCommon":["amount","currency","email","items","shipping"]},"source_order_item":{"title":"SourceOrderItem","required":["amount","currency","description","parent","type"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount (price) for this order item.","nullable":true},"currency":{"maxLength":5000,"type":"string","description":"This currency of this order item. Required when `amount` is present.","nullable":true},"description":{"maxLength":5000,"type":"string","description":"Human-readable description for this order item.","nullable":true},"parent":{"maxLength":5000,"type":"string","description":"The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).","nullable":true},"quantity":{"type":"integer","description":"The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered."},"type":{"maxLength":5000,"type":"string","description":"The type of this order item. Must be `sku`, `tax`, or `shipping`.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount","currency","description","parent","quantity","type"]},"source_owner":{"title":"SourceOwner","required":["address","email","name","phone","verified_address","verified_email","verified_name","verified_phone"],"type":"object","properties":{"address":{"description":"Owner's address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/address"}]},"email":{"maxLength":5000,"type":"string","description":"Owner's email address.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Owner's full name.","nullable":true},"phone":{"maxLength":5000,"type":"string","description":"Owner's phone number (including extension).","nullable":true},"verified_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,"anyOf":[{"$ref":"#/components/schemas/address"}]},"verified_email":{"maxLength":5000,"type":"string","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.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","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.","nullable":true},"verified_phone":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":["address","verified_address"],"x-stripeMostCommon":["address","email","name","phone","verified_address","verified_email","verified_name","verified_phone"]},"source_receiver_flow":{"title":"SourceReceiverFlow","required":["address","amount_charged","amount_received","amount_returned","refund_attributes_method","refund_attributes_status"],"type":"object","properties":{"address":{"maxLength":5000,"type":"string","description":"The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.","nullable":true},"amount_charged":{"type":"integer","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."},"amount_received":{"type":"integer","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."},"amount_returned":{"type":"integer","description":"The total amount that was returned to the customer. The amount returned is expressed in the source's currency."},"refund_attributes_method":{"maxLength":5000,"type":"string","description":"Type of refund attribute method, one of `email`, `manual`, or `none`."},"refund_attributes_status":{"maxLength":5000,"type":"string","description":"Type of refund attribute status, one of `missing`, `requested`, or `available`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["address","amount_charged","amount_received","amount_returned","refund_attributes_method","refund_attributes_status"]},"source_redirect_flow":{"title":"SourceRedirectFlow","required":["failure_reason","return_url","status","url"],"type":"object","properties":{"failure_reason":{"maxLength":5000,"type":"string","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`.","nullable":true},"return_url":{"maxLength":5000,"type":"string","description":"The URL you provide to redirect the customer to after they authenticated their payment."},"status":{"maxLength":5000,"type":"string","description":"The status of the redirect, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (successful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused)."},"url":{"maxLength":2048,"type":"string","description":"The URL provided to you to redirect a customer to as part of a `redirect` authentication flow."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["failure_reason","return_url","status","url"]},"source_transaction":{"title":"SourceTransaction","required":["amount","created","currency","id","livemode","object","source","status","type"],"type":"object","properties":{"ach_credit_transfer":{"$ref":"#/components/schemas/source_transaction_ach_credit_transfer_data"},"amount":{"type":"integer","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."},"chf_credit_transfer":{"$ref":"#/components/schemas/source_transaction_chf_credit_transfer_data"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"gbp_credit_transfer":{"$ref":"#/components/schemas/source_transaction_gbp_credit_transfer_data"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["source_transaction"]},"paper_check":{"$ref":"#/components/schemas/source_transaction_paper_check_data"},"sepa_credit_transfer":{"$ref":"#/components/schemas/source_transaction_sepa_credit_transfer_data"},"source":{"maxLength":5000,"type":"string","description":"The ID of the source this transaction is attached to."},"status":{"maxLength":5000,"type":"string","description":"The status of the transaction, one of `succeeded`, `pending`, or `failed`."},"type":{"type":"string","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"]}},"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.","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":{"title":"SourceTransactionAchCreditTransferData","type":"object","properties":{"customer_data":{"maxLength":5000,"type":"string","description":"Customer data associated with the transfer."},"fingerprint":{"maxLength":5000,"type":"string","description":"Bank account fingerprint associated with the transfer."},"last4":{"maxLength":5000,"type":"string","description":"Last 4 digits of the account number associated with the transfer."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number associated with the transfer."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["customer_data","fingerprint","last4","routing_number"]},"source_transaction_chf_credit_transfer_data":{"title":"SourceTransactionChfCreditTransferData","type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"Reference associated with the transfer."},"sender_address_country":{"maxLength":5000,"type":"string","description":"Sender's country address."},"sender_address_line1":{"maxLength":5000,"type":"string","description":"Sender's line 1 address."},"sender_iban":{"maxLength":5000,"type":"string","description":"Sender's bank account IBAN."},"sender_name":{"maxLength":5000,"type":"string","description":"Sender's name."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","sender_address_country","sender_address_line1","sender_iban","sender_name"]},"source_transaction_gbp_credit_transfer_data":{"title":"SourceTransactionGbpCreditTransferData","type":"object","properties":{"fingerprint":{"maxLength":5000,"type":"string","description":"Bank account fingerprint associated with the Stripe owned bank account receiving the transfer."},"funding_method":{"maxLength":5000,"type":"string","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."},"last4":{"maxLength":5000,"type":"string","description":"Last 4 digits of sender account number associated with the transfer."},"reference":{"maxLength":5000,"type":"string","description":"Sender entered arbitrary information about the transfer."},"sender_account_number":{"maxLength":5000,"type":"string","description":"Sender account number associated with the transfer."},"sender_name":{"maxLength":5000,"type":"string","description":"Sender name associated with the transfer."},"sender_sort_code":{"maxLength":5000,"type":"string","description":"Sender sort code associated with the transfer."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fingerprint","funding_method","last4","reference","sender_account_number","sender_name","sender_sort_code"]},"source_transaction_paper_check_data":{"title":"SourceTransactionPaperCheckData","type":"object","properties":{"available_at":{"maxLength":5000,"type":"string","description":"Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch."},"invoices":{"maxLength":5000,"type":"string","description":"Comma-separated list of invoice IDs associated with the paper check."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["available_at","invoices"]},"source_transaction_sepa_credit_transfer_data":{"title":"SourceTransactionSepaCreditTransferData","type":"object","properties":{"reference":{"maxLength":5000,"type":"string","description":"Reference associated with the transfer."},"sender_iban":{"maxLength":5000,"type":"string","description":"Sender's bank account IBAN."},"sender_name":{"maxLength":5000,"type":"string","description":"Sender's name."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reference","sender_iban","sender_name"]},"source_type_ach_credit_transfer":{"type":"object","properties":{"account_number":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"fingerprint":{"type":"string","nullable":true},"refund_account_holder_name":{"type":"string","nullable":true},"refund_account_holder_type":{"type":"string","nullable":true},"refund_routing_number":{"type":"string","nullable":true},"routing_number":{"type":"string","nullable":true},"swift_code":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"AchCreditTransfer"}},"source_type_ach_debit":{"type":"object","properties":{"bank_name":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"fingerprint":{"type":"string","nullable":true},"last4":{"type":"string","nullable":true},"routing_number":{"type":"string","nullable":true},"type":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"AchDebit"}},"source_type_acss_debit":{"type":"object","properties":{"bank_address_city":{"type":"string","nullable":true},"bank_address_line_1":{"type":"string","nullable":true},"bank_address_line_2":{"type":"string","nullable":true},"bank_address_postal_code":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"fingerprint":{"type":"string","nullable":true},"last4":{"type":"string","nullable":true},"routing_number":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"AcssDebit"}},"source_type_alipay":{"type":"object","properties":{"data_string":{"type":"string","nullable":true},"native_url":{"type":"string","nullable":true},"statement_descriptor":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Alipay"}},"source_type_au_becs_debit":{"type":"object","properties":{"bsb_number":{"type":"string","nullable":true},"fingerprint":{"type":"string","nullable":true},"last4":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"AuBecsDebit"}},"source_type_bancontact":{"type":"object","properties":{"bank_code":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"iban_last4":{"type":"string","nullable":true},"preferred_language":{"type":"string","nullable":true},"statement_descriptor":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Bancontact"}},"source_type_card":{"type":"object","properties":{"address_line1_check":{"type":"string","nullable":true},"address_zip_check":{"type":"string","nullable":true},"brand":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"cvc_check":{"type":"string","nullable":true},"description":{"type":"string"},"dynamic_last4":{"type":"string","nullable":true},"exp_month":{"type":"integer","nullable":true},"exp_year":{"type":"integer","nullable":true},"fingerprint":{"type":"string"},"funding":{"type":"string","nullable":true},"iin":{"type":"string"},"issuer":{"type":"string"},"last4":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"three_d_secure":{"type":"string"},"tokenization_method":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Card"}},"source_type_card_present":{"type":"object","properties":{"application_cryptogram":{"type":"string"},"application_preferred_name":{"type":"string"},"authorization_code":{"type":"string","nullable":true},"authorization_response_code":{"type":"string"},"brand":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"cvm_type":{"type":"string"},"data_type":{"type":"string","nullable":true},"dedicated_file_name":{"type":"string"},"description":{"type":"string"},"emv_auth_data":{"type":"string"},"evidence_customer_signature":{"type":"string","nullable":true},"evidence_transaction_certificate":{"type":"string","nullable":true},"exp_month":{"type":"integer","nullable":true},"exp_year":{"type":"integer","nullable":true},"fingerprint":{"type":"string"},"funding":{"type":"string","nullable":true},"iin":{"type":"string"},"issuer":{"type":"string"},"last4":{"type":"string","nullable":true},"pos_device_id":{"type":"string","nullable":true},"pos_entry_mode":{"type":"string"},"read_method":{"type":"string","nullable":true},"reader":{"type":"string","nullable":true},"terminal_verification_results":{"type":"string"},"transaction_status_information":{"type":"string"}},"x-stripeResource":{"class_name":"CardPresent"}},"source_type_eps":{"type":"object","properties":{"reference":{"type":"string","nullable":true},"statement_descriptor":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Eps"}},"source_type_giropay":{"type":"object","properties":{"bank_code":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"statement_descriptor":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Giropay"}},"source_type_ideal":{"type":"object","properties":{"bank":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"iban_last4":{"type":"string","nullable":true},"statement_descriptor":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Ideal"}},"source_type_klarna":{"type":"object","properties":{"background_image_url":{"type":"string"},"client_token":{"type":"string","nullable":true},"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"}},"x-stripeResource":{"class_name":"Klarna"}},"source_type_multibanco":{"type":"object","properties":{"entity":{"type":"string","nullable":true},"reference":{"type":"string","nullable":true},"refund_account_holder_address_city":{"type":"string","nullable":true},"refund_account_holder_address_country":{"type":"string","nullable":true},"refund_account_holder_address_line1":{"type":"string","nullable":true},"refund_account_holder_address_line2":{"type":"string","nullable":true},"refund_account_holder_address_postal_code":{"type":"string","nullable":true},"refund_account_holder_address_state":{"type":"string","nullable":true},"refund_account_holder_name":{"type":"string","nullable":true},"refund_iban":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Multibanco"}},"source_type_p24":{"type":"object","properties":{"reference":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"P24"}},"source_type_sepa_credit_transfer":{"type":"object","properties":{"bank_name":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"iban":{"type":"string","nullable":true},"refund_account_holder_address_city":{"type":"string","nullable":true},"refund_account_holder_address_country":{"type":"string","nullable":true},"refund_account_holder_address_line1":{"type":"string","nullable":true},"refund_account_holder_address_line2":{"type":"string","nullable":true},"refund_account_holder_address_postal_code":{"type":"string","nullable":true},"refund_account_holder_address_state":{"type":"string","nullable":true},"refund_account_holder_name":{"type":"string","nullable":true},"refund_iban":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"SepaCreditTransfer"}},"source_type_sepa_debit":{"type":"object","properties":{"bank_code":{"type":"string","nullable":true},"branch_code":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"fingerprint":{"type":"string","nullable":true},"last4":{"type":"string","nullable":true},"mandate_reference":{"type":"string","nullable":true},"mandate_url":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"SepaDebit"}},"source_type_sofort":{"type":"object","properties":{"bank_code":{"type":"string","nullable":true},"bank_name":{"type":"string","nullable":true},"bic":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"iban_last4":{"type":"string","nullable":true},"preferred_language":{"type":"string","nullable":true},"statement_descriptor":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"Sofort"}},"source_type_three_d_secure":{"type":"object","properties":{"address_line1_check":{"type":"string","nullable":true},"address_zip_check":{"type":"string","nullable":true},"authenticated":{"type":"boolean","nullable":true},"brand":{"type":"string","nullable":true},"card":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"customer":{"type":"string","nullable":true},"cvc_check":{"type":"string","nullable":true},"description":{"type":"string"},"dynamic_last4":{"type":"string","nullable":true},"exp_month":{"type":"integer","nullable":true},"exp_year":{"type":"integer","nullable":true},"fingerprint":{"type":"string"},"funding":{"type":"string","nullable":true},"iin":{"type":"string"},"issuer":{"type":"string"},"last4":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"three_d_secure":{"type":"string"},"tokenization_method":{"type":"string","nullable":true}},"x-stripeResource":{"class_name":"ThreeDSecure"}},"source_type_wechat":{"type":"object","properties":{"prepay_id":{"type":"string"},"qr_code_url":{"type":"string","nullable":true},"statement_descriptor":{"type":"string"}},"x-stripeResource":{"class_name":"Wechat"}},"stackable_discount_with_discount_settings":{"title":"StackableDiscountWithDiscountSettings","required":["coupon","discount","promotion_code"],"type":"object","properties":{"coupon":{"description":"ID of the coupon to create a new discount for.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/coupon"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/coupon"}]}},"discount":{"description":"ID of an existing discount on the object (or one of its ancestors) to reuse.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/discount"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/discount"}]}},"promotion_code":{"description":"ID of the promotion code to create a new discount for.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/promotion_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/promotion_code"}]}}},"description":"","x-expandableFields":["coupon","discount","promotion_code"],"x-stripeMostCommon":["coupon","discount","promotion_code"]},"stackable_discount_with_discount_settings_and_discount_end":{"title":"StackableDiscountWithDiscountSettingsAndDiscountEnd","required":["coupon","discount","promotion_code"],"type":"object","properties":{"coupon":{"description":"ID of the coupon to create a new discount for.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/coupon"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/coupon"}]}},"discount":{"description":"ID of an existing discount on the object (or one of its ancestors) to reuse.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/discount"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/discount"}]}},"promotion_code":{"description":"ID of the promotion code to create a new discount for.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/promotion_code"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/promotion_code"}]}}},"description":"","x-expandableFields":["coupon","discount","promotion_code"],"x-stripeMostCommon":["coupon","discount","promotion_code"]},"subscription":{"title":"Subscription","required":["application","application_fee_percent","automatic_tax","billing_cycle_anchor","billing_cycle_anchor_config","billing_mode","billing_thresholds","cancel_at","cancel_at_period_end","canceled_at","cancellation_details","collection_method","created","currency","customer","customer_account","days_until_due","default_payment_method","default_source","description","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"],"type":"object","properties":{"application":{"description":"ID of the Connect Application that created the subscription.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}]}},"application_fee_percent":{"type":"number","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},"automatic_tax":{"$ref":"#/components/schemas/subscription_automatic_tax"},"billing_cycle_anchor":{"type":"integer","description":"The reference point that aligns future [billing cycle](https://docs.stripe.com/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"},"billing_cycle_anchor_config":{"description":"The fixed values used to calculate the `billing_cycle_anchor`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_billing_cycle_anchor_config"}]},"billing_mode":{"$ref":"#/components/schemas/subscriptions_resource_billing_mode"},"billing_thresholds":{"description":"Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_billing_thresholds"}]},"cancel_at":{"type":"integer","description":"A date in the future at which the subscription will automatically get canceled","format":"unix-time","nullable":true},"cancel_at_period_end":{"type":"boolean","description":"Whether this subscription will (if `status=active`) or did (if `status=canceled`) cancel at the end of the current billing period."},"canceled_at":{"type":"integer","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},"cancellation_details":{"description":"Details about why this subscription was cancelled","nullable":true,"anyOf":[{"$ref":"#/components/schemas/cancellation_details"}]},"collection_method":{"type":"string","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"]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"customer":{"description":"ID of the customer who owns the subscription.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the account representing the customer who owns the subscription.","nullable":true},"days_until_due":{"type":"integer","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},"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://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"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://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://docs.stripe.com/api/customers/object#customer_object-default_source).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_source"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_source"}]}},"default_tax_rates":{"type":"array","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.","nullable":true,"items":{"$ref":"#/components/schemas/tax_rate"}},"description":{"maxLength":500,"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.","nullable":true},"discounts":{"type":"array","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"}]}}},"ended_at":{"type":"integer","description":"If the subscription has ended, the date the subscription ended.","format":"unix-time","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"invoice_settings":{"$ref":"#/components/schemas/subscriptions_resource_subscription_invoice_settings"},"items":{"title":"SubscriptionItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/subscription_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"List of subscription items, each with an attached price.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"latest_invoice":{"description":"The most recent invoice this subscription has generated over its lifecycle (for example, when it cycles or is updated).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/invoice"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/invoice"}]}},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"next_pending_invoice_item_invoice":{"type":"integer","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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["subscription"]},"on_behalf_of":{"description":"The account (if any) the charge was made on behalf of for charges associated with this subscription. See the [Connect documentation](https://docs.stripe.com/connect/subscriptions#on-behalf-of) for details.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"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://docs.stripe.com/billing/subscriptions/pause-payment).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_pause_collection"}]},"payment_settings":{"description":"Payment settings passed on to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_payment_settings"}]},"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](/api/invoices/create) for the given subscription at the specified interval.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_pending_invoice_item_interval"}]},"pending_setup_intent":{"description":"You can use this [SetupIntent](https://docs.stripe.com/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://docs.stripe.com/billing/migration/strong-customer-authentication#scenario-2).","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/setup_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/setup_intent"}]}},"pending_update":{"description":"If specified, [pending updates](https://docs.stripe.com/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_pending_update"}]},"presentment_details":{"$ref":"#/components/schemas/subscriptions_resource_subscription_presentment_details"},"schedule":{"description":"The schedule attached to the subscription","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription_schedule"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription_schedule"}]}},"start_date":{"type":"integer","description":"Date when the subscription was first created. The date might differ from the `created` date due to backdating.","format":"unix-time"},"status":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/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"]},"test_clock":{"description":"ID of the test clock this subscription belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}},"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,"anyOf":[{"$ref":"#/components/schemas/subscription_transfer_data"}]},"trial_end":{"type":"integer","description":"If the subscription has a trial, the end of that trial.","format":"unix-time","nullable":true},"trial_settings":{"description":"Settings related to subscription trials.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_trial_settings_trial_settings"}]},"trial_start":{"type":"integer","description":"If the subscription has a trial, the beginning of that trial.","format":"unix-time","nullable":true}},"description":"Subscriptions allow you to charge a customer on a recurring basis.\n\nRelated guide: [Creating subscriptions](https://docs.stripe.com/billing/subscriptions/creating)","x-expandableFields":["application","automatic_tax","billing_cycle_anchor_config","billing_mode","billing_thresholds","cancellation_details","customer","default_payment_method","default_source","default_tax_rates","discounts","invoice_settings","items","latest_invoice","on_behalf_of","pause_collection","payment_settings","pending_invoice_item_interval","pending_setup_intent","pending_update","presentment_details","schedule","test_clock","transfer_data","trial_settings"],"x-resourceId":"subscription","x-stripeMostCommon":["automatic_tax","currency","customer","customer_account","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":"migrate","method_on":"service","method_type":"custom","operation":"post","path":"/v1/subscriptions/{subscription}/migrate"},{"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":{"title":"SubscriptionAutomaticTax","required":["disabled_reason","enabled","liability"],"type":"object","properties":{"disabled_reason":{"type":"string","description":"If Stripe disabled automatic tax, this enum describes why.","nullable":true,"enum":["requires_location_inputs"]},"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on this subscription."},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]}},"description":"","x-expandableFields":["liability"],"x-stripeMostCommon":["disabled_reason","enabled","liability"]},"subscription_billing_thresholds":{"title":"SubscriptionBillingThresholds","required":["amount_gte","reset_billing_cycle_anchor"],"type":"object","properties":{"amount_gte":{"type":"integer","description":"Monetary threshold that triggers the subscription to create an invoice","nullable":true},"reset_billing_cycle_anchor":{"type":"boolean","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}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["amount_gte","reset_billing_cycle_anchor"]},"subscription_item":{"title":"SubscriptionItem","required":["billing_thresholds","created","current_period_end","current_period_start","discounts","id","metadata","object","plan","price","subscription","tax_rates"],"type":"object","properties":{"billing_thresholds":{"description":"Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_item_billing_thresholds"}]},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch."},"current_period_end":{"type":"integer","description":"The end time of this subscription item's current billing period.","format":"unix-time"},"current_period_start":{"type":"integer","description":"The start time of this subscription item's current billing period.","format":"unix-time"},"discounts":{"type":"array","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"}]}}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["subscription_item"]},"plan":{"$ref":"#/components/schemas/plan"},"price":{"$ref":"#/components/schemas/price"},"quantity":{"type":"integer","description":"The [quantity](https://docs.stripe.com/subscriptions/quantities) of the plan to which the customer should be subscribed."},"subscription":{"maxLength":5000,"type":"string","description":"The `subscription` this `subscription_item` belongs to."},"tax_rates":{"type":"array","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`.","nullable":true,"items":{"$ref":"#/components/schemas/tax_rate"}}},"description":"Subscription items allow you to create customer subscriptions with more than\none plan, making it easy to represent complex billing relationships.","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":"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":{"title":"SubscriptionItemBillingThresholds","required":["usage_gte"],"type":"object","properties":{"usage_gte":{"type":"integer","description":"Usage threshold that triggers the subscription to create an invoice","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["usage_gte"]},"subscription_payment_method_options_card":{"title":"subscription_payment_method_options_card","required":["network","request_three_d_secure"],"type":"object","properties":{"mandate_options":{"$ref":"#/components/schemas/invoice_mandate_options_card"},"network":{"type":"string","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.","nullable":true,"enum":["amex","cartes_bancaires","diners","discover","eftpos_au","girocard","interac","jcb","link","mastercard","unionpay","unknown","visa"]},"request_three_d_secure":{"type":"string","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://docs.stripe.com/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://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.","nullable":true,"enum":["any","automatic","challenge"]}},"description":"","x-expandableFields":["mandate_options"],"x-stripeMostCommon":["mandate_options","network","request_three_d_secure"]},"subscription_pending_invoice_item_interval":{"title":"SubscriptionPendingInvoiceItemInterval","required":["interval","interval_count"],"type":"object","properties":{"interval":{"type":"string","description":"Specifies invoicing frequency. Either `day`, `week`, `month` or `year`.","enum":["day","month","week","year"]},"interval_count":{"type":"integer","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)."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["interval","interval_count"]},"subscription_schedule":{"title":"SubscriptionSchedule","required":["application","billing_mode","canceled_at","completed_at","created","current_phase","customer","customer_account","default_settings","end_behavior","id","livemode","metadata","object","phases","released_at","released_subscription","status","subscription","test_clock"],"type":"object","properties":{"application":{"description":"ID of the Connect Application that created the schedule.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"},{"$ref":"#/components/schemas/deleted_application"}]}},"billing_mode":{"$ref":"#/components/schemas/subscriptions_resource_billing_mode"},"canceled_at":{"type":"integer","description":"Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"completed_at":{"type":"integer","description":"Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"current_phase":{"description":"Object representing the start and end dates for the current phase of the subscription schedule, if it is `active`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_schedule_current_phase"}]},"customer":{"description":"ID of the customer who owns the subscription schedule.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"},{"$ref":"#/components/schemas/deleted_customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the account who owns the subscription schedule.","nullable":true},"default_settings":{"$ref":"#/components/schemas/subscription_schedules_resource_default_settings"},"end_behavior":{"type":"string","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"]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["subscription_schedule"]},"phases":{"type":"array","description":"Configuration for the subscription schedule's phases.","items":{"$ref":"#/components/schemas/subscription_schedule_phase_configuration"}},"released_at":{"type":"integer","description":"Time at which the subscription schedule was released. Measured in seconds since the Unix epoch.","format":"unix-time","nullable":true},"released_subscription":{"maxLength":5000,"type":"string","description":"ID of the subscription once managed by the subscription schedule (if it is released).","nullable":true},"status":{"type":"string","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://docs.stripe.com/billing/subscriptions/subscription-schedules).","enum":["active","canceled","completed","not_started","released"]},"subscription":{"description":"ID of the subscription managed by the subscription schedule.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/subscription"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/subscription"}]}},"test_clock":{"description":"ID of the test clock this subscription schedule belongs to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/test_helpers.test_clock"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/test_helpers.test_clock"}]}}},"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://docs.stripe.com/billing/subscriptions/subscription-schedules)","x-expandableFields":["application","billing_mode","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs whenever a subscription schedule is canceled due to the underlying subscription being canceled because of delinquency.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.aborted"}},"subscription_schedule.canceled":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs whenever a subscription schedule is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.canceled"}},"subscription_schedule.completed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs whenever a new subscription schedule is completed.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.completed"}},"subscription_schedule.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs whenever a new subscription schedule is created.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.created"}},"subscription_schedule.expiring":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs 7 days before a subscription schedule will expire.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.expiring"}},"subscription_schedule.released":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs whenever a new subscription schedule is released.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.released"}},"subscription_schedule.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/subscription_schedule"}},"description":"Occurs whenever a subscription schedule is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"subscription_schedule.updated"}},"subscription_schedule_add_invoice_item":{"title":"SubscriptionScheduleAddInvoiceItem","required":["discounts","metadata","period","price","quantity"],"type":"object","properties":{"discounts":{"type":"array","description":"The stackable discounts that will be applied to the item.","items":{"$ref":"#/components/schemas/discounts_resource_stackable_discount_with_discount_end"}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"period":{"$ref":"#/components/schemas/subscription_schedule_add_invoice_item_period"},"price":{"description":"ID of the price used to generate the invoice item.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/price"},{"$ref":"#/components/schemas/deleted_price"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/price"},{"$ref":"#/components/schemas/deleted_price"}]}},"quantity":{"type":"integer","description":"The quantity of the invoice item.","nullable":true},"tax_rates":{"type":"array","description":"The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item.","nullable":true,"items":{"$ref":"#/components/schemas/tax_rate"}}},"description":"An Add Invoice Item describes the prices and quantities that will be added as pending invoice items when entering a phase.","x-expandableFields":["discounts","period","price","tax_rates"],"x-stripeMostCommon":["discounts","metadata","period","price","quantity","tax_rates"]},"subscription_schedule_add_invoice_item_period":{"title":"SubscriptionScheduleAddInvoiceItemPeriod","required":["end","start"],"type":"object","properties":{"end":{"$ref":"#/components/schemas/subscription_schedules_resource_invoice_item_period_resource_period_end"},"start":{"$ref":"#/components/schemas/subscription_schedules_resource_invoice_item_period_resource_period_start"}},"description":"","x-expandableFields":["end","start"],"x-stripeMostCommon":["end","start"]},"subscription_schedule_configuration_item":{"title":"SubscriptionScheduleConfigurationItem","required":["billing_thresholds","discounts","metadata","plan","price"],"type":"object","properties":{"billing_thresholds":{"description":"Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_item_billing_thresholds"}]},"discounts":{"type":"array","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/stackable_discount_with_discount_settings"}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"plan":{"description":"ID of the plan to which the customer should be subscribed.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/plan"},{"$ref":"#/components/schemas/deleted_plan"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/plan"},{"$ref":"#/components/schemas/deleted_plan"}]}},"price":{"description":"ID of the price to which the customer should be subscribed.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/price"},{"$ref":"#/components/schemas/deleted_price"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/price"},{"$ref":"#/components/schemas/deleted_price"}]}},"quantity":{"type":"integer","description":"Quantity of the plan to which the customer should be subscribed."},"tax_rates":{"type":"array","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`.","nullable":true,"items":{"$ref":"#/components/schemas/tax_rate"}}},"description":"A phase item describes the price and quantity of a phase.","x-expandableFields":["billing_thresholds","discounts","plan","price","tax_rates"],"x-stripeMostCommon":["billing_thresholds","discounts","metadata","plan","price","quantity","tax_rates"]},"subscription_schedule_current_phase":{"title":"SubscriptionScheduleCurrentPhase","required":["end_date","start_date"],"type":"object","properties":{"end_date":{"type":"integer","description":"The end of this phase of the subscription schedule.","format":"unix-time"},"start_date":{"type":"integer","description":"The start of this phase of the subscription schedule.","format":"unix-time"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["end_date","start_date"]},"subscription_schedule_phase_configuration":{"title":"SubscriptionSchedulePhaseConfiguration","required":["add_invoice_items","application_fee_percent","billing_cycle_anchor","billing_thresholds","collection_method","currency","default_payment_method","description","discounts","end_date","invoice_settings","items","metadata","on_behalf_of","proration_behavior","start_date","transfer_data","trial_end"],"type":"object","properties":{"add_invoice_items":{"type":"array","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"}},"application_fee_percent":{"type":"number","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},"automatic_tax":{"$ref":"#/components/schemas/schedules_phase_automatic_tax"},"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","nullable":true,"enum":["automatic","phase_start"]},"billing_thresholds":{"description":"Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_billing_thresholds"}]},"collection_method":{"type":"string","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`.","nullable":true,"enum":["charge_automatically","send_invoice"]},"currency":{"type":"string","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).","format":"currency"},"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.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"default_tax_rates":{"type":"array","description":"The default tax rates to apply to the subscription during this phase of the subscription schedule.","nullable":true,"items":{"$ref":"#/components/schemas/tax_rate"}},"description":{"maxLength":5000,"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.","nullable":true},"discounts":{"type":"array","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/stackable_discount_with_discount_settings_and_discount_end"}},"end_date":{"type":"integer","description":"The end of this phase of the subscription schedule.","format":"unix-time"},"invoice_settings":{"description":"The invoice settings applicable during this phase.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_setting_subscription_schedule_phase_setting"}]},"items":{"type":"array","description":"Subscription items to configure the subscription to during this phase of the subscription schedule.","items":{"$ref":"#/components/schemas/subscription_schedule_configuration_item"}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"on_behalf_of":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"proration_behavior":{"type":"string","description":"When transitioning phases, controls how prorations are handled (if any). Possible values are `create_prorations`, `none`, and `always_invoice`.","enum":["always_invoice","create_prorations","none"]},"start_date":{"type":"integer","description":"The start of this phase of the subscription schedule.","format":"unix-time"},"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,"anyOf":[{"$ref":"#/components/schemas/subscription_transfer_data"}]},"trial_end":{"type":"integer","description":"When the trial ends within the phase.","format":"unix-time","nullable":true}},"description":"A phase describes the plans, coupon, and trialing status of a subscription for a predefined time period.","x-expandableFields":["add_invoice_items","automatic_tax","billing_thresholds","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","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":{"title":"SubscriptionSchedulesResourceDefaultSettings","required":["application_fee_percent","billing_cycle_anchor","billing_thresholds","collection_method","default_payment_method","description","invoice_settings","on_behalf_of","transfer_data"],"type":"object","properties":{"application_fee_percent":{"type":"number","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},"automatic_tax":{"$ref":"#/components/schemas/subscription_schedules_resource_default_settings_automatic_tax"},"billing_cycle_anchor":{"type":"string","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://docs.stripe.com/billing/subscriptions/billing-cycle).","enum":["automatic","phase_start"]},"billing_thresholds":{"description":"Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_billing_thresholds"}]},"collection_method":{"type":"string","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`.","nullable":true,"enum":["charge_automatically","send_invoice"]},"default_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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_method"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_method"}]}},"description":{"maxLength":5000,"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.","nullable":true},"invoice_settings":{"$ref":"#/components/schemas/invoice_setting_subscription_schedule_setting"},"on_behalf_of":{"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"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,"anyOf":[{"$ref":"#/components/schemas/subscription_transfer_data"}]}},"description":"","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":{"title":"SubscriptionSchedulesResourceDefaultSettingsAutomaticTax","required":["disabled_reason","enabled","liability"],"type":"object","properties":{"disabled_reason":{"type":"string","description":"If Stripe disabled automatic tax, this enum describes why.","nullable":true,"enum":["requires_location_inputs"]},"enabled":{"type":"boolean","description":"Whether Stripe automatically computes tax on invoices created during this phase."},"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.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/connect_account_reference"}]}},"description":"","x-expandableFields":["liability"],"x-stripeMostCommon":["disabled_reason","enabled","liability"]},"subscription_schedules_resource_invoice_item_period_resource_period_end":{"title":"SubscriptionSchedulesResourceInvoiceItemPeriodResourcePeriodEnd","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the end of the invoice item period. Must be greater than or equal to `period.start`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the end of the invoice item period.","enum":["min_item_period_end","phase_end","timestamp"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["timestamp","type"]},"subscription_schedules_resource_invoice_item_period_resource_period_start":{"title":"SubscriptionSchedulesResourceInvoiceItemPeriodResourcePeriodStart","required":["type"],"type":"object","properties":{"timestamp":{"type":"integer","description":"A precise Unix timestamp for the start of the invoice item period. Must be less than or equal to `period.end`.","format":"unix-time"},"type":{"type":"string","description":"Select how to calculate the start of the invoice item period.","enum":["max_item_period_start","phase_start","timestamp"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["timestamp","type"]},"subscription_transfer_data":{"title":"SubscriptionTransferData","required":["amount_percent","destination"],"type":"object","properties":{"amount_percent":{"type":"number","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},"destination":{"description":"The account where funds from the payment will be transferred to upon payment success.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}}},"description":"","x-expandableFields":["destination"],"x-stripeMostCommon":["amount_percent","destination"]},"subscriptions_resource_billing_cycle_anchor_config":{"title":"SubscriptionsResourceBillingCycleAnchorConfig","required":["day_of_month","hour","minute","month","second"],"type":"object","properties":{"day_of_month":{"type":"integer","description":"The day of the month of the billing_cycle_anchor."},"hour":{"type":"integer","description":"The hour of the day of the billing_cycle_anchor.","nullable":true},"minute":{"type":"integer","description":"The minute of the hour of the billing_cycle_anchor.","nullable":true},"month":{"type":"integer","description":"The month to start full cycle billing periods.","nullable":true},"second":{"type":"integer","description":"The second of the minute of the billing_cycle_anchor.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["day_of_month","hour","minute","month","second"]},"subscriptions_resource_billing_mode":{"title":"SubscriptionsResourceBillingMode","required":["flexible","type"],"type":"object","properties":{"flexible":{"description":"Configure behavior for flexible billing mode","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_billing_mode_flexible"}]},"type":{"type":"string","description":"Controls how prorations and invoices for subscriptions are calculated and orchestrated.","enum":["classic","flexible"]},"updated_at":{"type":"integer","description":"Details on when the current billing_mode was adopted.","format":"unix-time"}},"description":"The billing mode of the subscription.","x-expandableFields":["flexible"],"x-stripeMostCommon":["flexible","type","updated_at"]},"subscriptions_resource_billing_mode_flexible":{"title":"SubscriptionsResourceBillingModeFlexible","type":"object","properties":{"proration_discounts":{"type":"string","description":"Controls how invoices and invoice items display proration amounts and discount amounts.","enum":["included","itemized"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["proration_discounts"]},"subscriptions_resource_pause_collection":{"title":"SubscriptionsResourcePauseCollection","required":["behavior","resumes_at"],"type":"object","properties":{"behavior":{"type":"string","description":"The payment collection behavior for this subscription while paused.","enum":["keep_as_draft","mark_uncollectible","void"],"x-stripeBypassValidation":true},"resumes_at":{"type":"integer","description":"The time after which the subscription will resume collecting payments.","format":"unix-time","nullable":true}},"description":"The Pause Collection settings determine how we will pause collection for this subscription and for how long the subscription\nshould be paused.","x-expandableFields":[],"x-stripeMostCommon":["behavior","resumes_at"]},"subscriptions_resource_payment_method_options":{"title":"SubscriptionsResourcePaymentMethodOptions","required":["acss_debit","bancontact","card","customer_balance","konbini","payto","sepa_debit","us_bank_account"],"type":"object","properties":{"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_acss_debit"}]},"bancontact":{"description":"This sub-hash contains details about the Bancontact payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_bancontact"}]},"card":{"description":"This sub-hash contains details about the Card payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscription_payment_method_options_card"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_customer_balance"}]},"konbini":{"description":"This sub-hash contains details about the Konbini payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_konbini"}]},"payto":{"description":"This sub-hash contains details about the PayTo payment method options to pass to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_payto"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_sepa_debit"}]},"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,"anyOf":[{"$ref":"#/components/schemas/invoice_payment_method_options_us_bank_account"}]}},"description":"","x-expandableFields":["acss_debit","bancontact","card","customer_balance","konbini","payto","sepa_debit","us_bank_account"],"x-stripeMostCommon":["acss_debit","bancontact","card","customer_balance","konbini","payto","sepa_debit","us_bank_account"]},"subscriptions_resource_payment_settings":{"title":"SubscriptionsResourcePaymentSettings","required":["payment_method_options","payment_method_types","save_default_payment_method"],"type":"object","properties":{"payment_method_options":{"description":"Payment-method-specific configuration to provide to invoices created by the subscription.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/subscriptions_resource_payment_method_options"}]},"payment_method_types":{"type":"array","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).","nullable":true,"items":{"type":"string","enum":["ach_credit_transfer","ach_debit","acss_debit","affirm","amazon_pay","au_becs_debit","bacs_debit","bancontact","boleto","card","cashapp","crypto","custom","customer_balance","eps","fpx","giropay","grabpay","ideal","jp_credit_transfer","kakao_pay","klarna","konbini","kr_card","link","multibanco","naver_pay","nz_bank_account","p24","pay_by_bank","payco","paynow","paypal","payto","promptpay","revolut_pay","sepa_credit_transfer","sepa_debit","sofort","swish","us_bank_account","wechat_pay"],"x-stripeBypassValidation":true}},"save_default_payment_method":{"type":"string","description":"Configure whether Stripe updates `subscription.default_payment_method` when payment succeeds. Defaults to `off`.","nullable":true,"enum":["off","on_subscription"]}},"description":"","x-expandableFields":["payment_method_options"],"x-stripeMostCommon":["payment_method_options","payment_method_types","save_default_payment_method"]},"subscriptions_resource_pending_update":{"title":"SubscriptionsResourcePendingUpdate","required":["billing_cycle_anchor","expires_at","subscription_items","trial_end","trial_from_plan"],"type":"object","properties":{"billing_cycle_anchor":{"type":"integer","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},"expires_at":{"type":"integer","description":"The point after which the changes reflected by this update will be discarded and no longer applied.","format":"unix-time"},"subscription_items":{"type":"array","description":"List of subscription items, each with an attached plan, that will be set if the update is applied.","nullable":true,"items":{"$ref":"#/components/schemas/subscription_item"}},"trial_end":{"type":"integer","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},"trial_from_plan":{"type":"boolean","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://docs.stripe.com/billing/subscriptions/trials) to learn more.","nullable":true}},"description":"Pending Updates store the changes pending from a previous update that will be applied\nto the Subscription upon successful payment.","x-expandableFields":["subscription_items"],"x-stripeMostCommon":["billing_cycle_anchor","expires_at","subscription_items","trial_end","trial_from_plan"]},"subscriptions_resource_subscription_invoice_settings":{"title":"SubscriptionsResourceSubscriptionInvoiceSettings","required":["account_tax_ids","issuer"],"type":"object","properties":{"account_tax_ids":{"type":"array","description":"The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.","nullable":true,"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"}]}}},"issuer":{"$ref":"#/components/schemas/connect_account_reference"}},"description":"","x-expandableFields":["account_tax_ids","issuer"],"x-stripeMostCommon":["account_tax_ids","issuer"]},"subscriptions_resource_subscription_presentment_details":{"title":"SubscriptionsResourceSubscriptionPresentmentDetails","required":["presentment_currency"],"type":"object","properties":{"presentment_currency":{"maxLength":5000,"type":"string","description":"Currency used for customer payments."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["presentment_currency"]},"subscriptions_resource_trial_settings_end_behavior":{"title":"SubscriptionsResourceTrialSettingsEndBehavior","required":["missing_payment_method"],"type":"object","properties":{"missing_payment_method":{"type":"string","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"]}},"description":"Defines how a subscription behaves when a trial ends.","x-expandableFields":[],"x-stripeMostCommon":["missing_payment_method"]},"subscriptions_resource_trial_settings_trial_settings":{"title":"SubscriptionsResourceTrialSettingsTrialSettings","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"$ref":"#/components/schemas/subscriptions_resource_trial_settings_end_behavior"}},"description":"Configures how this subscription behaves during the trial period.","x-expandableFields":["end_behavior"],"x-stripeMostCommon":["end_behavior"]},"subscriptions_trials_resource_end_behavior":{"title":"SubscriptionsTrialsResourceEndBehavior","required":["missing_payment_method"],"type":"object","properties":{"missing_payment_method":{"type":"string","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"]}},"description":"Defines how a subscription behaves when a free trial ends.","x-expandableFields":[],"x-stripeMostCommon":["missing_payment_method"]},"subscriptions_trials_resource_trial_settings":{"title":"SubscriptionsTrialsResourceTrialSettings","required":["end_behavior"],"type":"object","properties":{"end_behavior":{"$ref":"#/components/schemas/subscriptions_trials_resource_end_behavior"}},"description":"Configures how this subscription behaves during the trial period.","x-expandableFields":["end_behavior"],"x-stripeMostCommon":["end_behavior"]},"tax.association":{"title":"TaxProductResourceTaxAssociation","required":["calculation","id","object","payment_intent","tax_transaction_attempts"],"type":"object","properties":{"calculation":{"maxLength":5000,"type":"string","description":"The [Tax Calculation](https://docs.stripe.com/api/tax/calculations/object) that was included in PaymentIntent."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.association"]},"payment_intent":{"maxLength":5000,"type":"string","description":"The [PaymentIntent](https://docs.stripe.com/api/payment_intents/object) that this Tax Association is tracking."},"tax_transaction_attempts":{"type":"array","description":"Information about the tax transactions linked to this payment intent","nullable":true,"items":{"$ref":"#/components/schemas/tax_product_resource_tax_association_transaction_attempts"}}},"description":"A Tax Association exposes the Tax Transactions that Stripe attempted to create on your behalf based on the PaymentIntent input","x-expandableFields":["tax_transaction_attempts"],"x-resourceId":"tax.association","x-stripeMostCommon":["calculation","id","payment_intent","tax_transaction_attempts"],"x-stripeOperations":[{"method_name":"find","method_on":"service","method_type":"custom","operation":"get","path":"/v1/tax/associations/find"}],"x-stripeResource":{"class_name":"Association","in_package":"Tax"}},"tax.calculation":{"title":"TaxProductResourceTaxCalculation","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"],"type":"object","properties":{"amount_total":{"type":"integer","description":"Total amount after taxes in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."},"currency":{"maxLength":5000,"type":"string","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)."},"customer":{"maxLength":5000,"type":"string","description":"The ID of an existing [Customer](https://docs.stripe.com/api/customers/object) used for the resource.","nullable":true},"customer_details":{"$ref":"#/components/schemas/tax_product_resource_customer_details"},"expires_at":{"type":"integer","description":"Timestamp of date at which the tax calculation will expire.","format":"unix-time","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the calculation.","nullable":true},"line_items":{"title":"TaxProductResourceTaxCalculationLineItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax.calculation_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/tax/calculations/[^/]+/line_items","type":"string","description":"The URL where this list can be accessed."}},"description":"The list of items the customer is purchasing.","nullable":true,"x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.calculation"]},"ship_from_details":{"description":"The details of the ship from location, such as the address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_ship_from_details"}]},"shipping_cost":{"description":"The shipping cost details for the calculation.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_tax_calculation_shipping_cost"}]},"tax_amount_exclusive":{"type":"integer","description":"The amount of tax to be collected on top of the line item prices."},"tax_amount_inclusive":{"type":"integer","description":"The amount of tax already included in the line item prices."},"tax_breakdown":{"type":"array","description":"Breakdown of individual tax amounts that add up to the total.","items":{"$ref":"#/components/schemas/tax_product_resource_tax_breakdown"}},"tax_date":{"type":"integer","description":"Timestamp of date at which the tax rules and rates in effect applies for the calculation.","format":"unix-time"}},"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://docs.stripe.com/tax/custom)","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":{"title":"TaxProductResourceTaxCalculationLineItem","required":["amount","amount_tax","id","livemode","metadata","object","product","quantity","reference","tax_behavior","tax_code"],"type":"object","properties":{"amount":{"type":"integer","description":"The line item amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount."},"amount_tax":{"type":"integer","description":"The amount of tax calculated for this line item, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.calculation_line_item"]},"product":{"maxLength":5000,"type":"string","description":"The ID of an existing [Product](https://docs.stripe.com/api/products/object).","nullable":true},"quantity":{"type":"integer","description":"The number of units of the item being purchased. For reversals, this is the quantity reversed."},"reference":{"maxLength":5000,"type":"string","description":"A custom identifier for this line item."},"tax_behavior":{"type":"string","description":"Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.","enum":["exclusive","inclusive"]},"tax_breakdown":{"type":"array","description":"Detailed account of taxes relevant to this line item.","nullable":true,"items":{"$ref":"#/components/schemas/tax_product_resource_line_item_tax_breakdown"}},"tax_code":{"maxLength":5000,"type":"string","description":"The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource."}},"description":"","x-expandableFields":["tax_breakdown"],"x-resourceId":"tax.calculation_line_item","x-stripeMostCommon":["amount","amount_tax","id","livemode","metadata","object","product","quantity","reference","tax_behavior","tax_breakdown","tax_code"],"x-stripeResource":{"class_name":"CalculationLineItem","has_collection_class":true,"in_package":"Tax"}},"tax.registration":{"title":"TaxProductRegistrationsResourceTaxRegistration","required":["active_from","country","country_options","created","expires_at","id","livemode","object","status"],"type":"object","properties":{"active_from":{"type":"integer","description":"Time at which the registration becomes active. Measured in seconds since the Unix epoch.","format":"unix-time"},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"country_options":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"expires_at":{"type":"integer","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},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.registration"]},"status":{"type":"string","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"]}},"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://docs.stripe.com/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://docs.stripe.com/tax/registering).\n\nRelated guide: [Using the Registrations API](https://docs.stripe.com/tax/registrations-api)","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":{"title":"TaxProductResourceTaxSettings","required":["defaults","head_office","livemode","object","status","status_details"],"type":"object","properties":{"defaults":{"$ref":"#/components/schemas/tax_product_resource_tax_settings_defaults"},"head_office":{"description":"The place where your business is located.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_tax_settings_head_office"}]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.settings"]},"status":{"type":"string","description":"The status of the Tax `Settings`.","enum":["active","pending"]},"status_details":{"$ref":"#/components/schemas/tax_product_resource_tax_settings_status_details"}},"description":"You can use Tax `Settings` to manage configurations used by Stripe Tax calculations.\n\nRelated guide: [Using the Settings API](https://docs.stripe.com/tax/settings-api)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/tax.settings"}},"description":"Occurs whenever tax settings is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"tax.settings.updated"}},"tax.transaction":{"title":"TaxProductResourceTaxTransaction","required":["created","currency","customer","customer_details","id","livemode","metadata","object","posted_at","reference","reversal","ship_from_details","shipping_cost","tax_date","type"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","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)."},"customer":{"maxLength":5000,"type":"string","description":"The ID of an existing [Customer](https://docs.stripe.com/api/customers/object) used for the resource.","nullable":true},"customer_details":{"$ref":"#/components/schemas/tax_product_resource_customer_details"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the transaction."},"line_items":{"title":"TaxProductResourceTaxTransactionLineItemList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/tax.transaction_line_item"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/tax/transactions/[^/]+/line_items","type":"string","description":"The URL where this list can be accessed."}},"description":"The tax collected or refunded, by line item.","nullable":true,"x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.transaction"]},"posted_at":{"type":"integer","description":"The Unix timestamp representing when the tax liability is assumed or reduced.","format":"unix-time"},"reference":{"maxLength":5000,"type":"string","description":"A custom unique identifier, such as 'myOrder_123'."},"reversal":{"description":"If `type=reversal`, contains information about what was reversed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_tax_transaction_resource_reversal"}]},"ship_from_details":{"description":"The details of the ship from location, such as the address.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_ship_from_details"}]},"shipping_cost":{"description":"The shipping cost details for the transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_tax_transaction_shipping_cost"}]},"tax_date":{"type":"integer","description":"Timestamp of date at which the tax rules and rates in effect applies for the calculation.","format":"unix-time"},"type":{"type":"string","description":"If `reversal`, this transaction reverses an earlier transaction.","enum":["reversal","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://docs.stripe.com/tax/custom#tax-transaction)","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":{"title":"TaxProductResourceTaxTransactionLineItem","required":["amount","amount_tax","id","livemode","metadata","object","product","quantity","reference","reversal","tax_behavior","tax_code","type"],"type":"object","properties":{"amount":{"type":"integer","description":"The line item amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount."},"amount_tax":{"type":"integer","description":"The amount of tax calculated for this line item, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax.transaction_line_item"]},"product":{"maxLength":5000,"type":"string","description":"The ID of an existing [Product](https://docs.stripe.com/api/products/object).","nullable":true},"quantity":{"type":"integer","description":"The number of units of the item being purchased. For reversals, this is the quantity reversed."},"reference":{"maxLength":5000,"type":"string","description":"A custom identifier for this line item in the transaction."},"reversal":{"description":"If `type=reversal`, contains information about what was reversed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_tax_transaction_line_item_resource_reversal"}]},"tax_behavior":{"type":"string","description":"Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.","enum":["exclusive","inclusive"]},"tax_code":{"maxLength":5000,"type":"string","description":"The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for this resource."},"type":{"type":"string","description":"If `reversal`, this line item reverses an earlier transaction.","enum":["reversal","transaction"]}},"description":"","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":{"title":"TaxProductResourceTaxCode","required":["description","id","name","object"],"type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"A detailed description of which types of products the tax code represents."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"name":{"maxLength":5000,"type":"string","description":"A short name for the tax code."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax_code"]}},"description":"[Tax codes](https://stripe.com/docs/tax/tax-categories) classify goods and services for tax purposes.","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":{"title":"TaxDeductedAtSource","required":["id","object","period_end","period_start","tax_deduction_account_number"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax_deducted_at_source"]},"period_end":{"type":"integer","description":"The end of the invoicing period. This TDS applies to Stripe fees collected during this invoicing period.","format":"unix-time"},"period_start":{"type":"integer","description":"The start of the invoicing period. This TDS applies to Stripe fees collected during this invoicing period.","format":"unix-time"},"tax_deduction_account_number":{"maxLength":5000,"type":"string","description":"The TAN that was supplied to Stripe when TDS was assessed"}},"description":"","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":{"title":"TaxIDsOwner","required":["customer_account","type"],"type":"object","properties":{"account":{"description":"The account being referenced when `type` is `account`.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"application":{"description":"The Connect Application being referenced when `type` is `application`.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/application"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/application"}]}},"customer":{"description":"The customer being referenced when `type` is `customer`.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"The Account representing the customer being referenced when `type` is `customer`.","nullable":true},"type":{"type":"string","description":"Type of owner referenced.","enum":["account","application","customer","self"]}},"description":"","x-expandableFields":["account","application","customer"],"x-stripeMostCommon":["account","application","customer","customer_account","type"]},"tax_id":{"title":"tax_id","required":["country","created","customer","customer_account","id","livemode","object","owner","type","value","verification"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter ISO code representing the country of the tax ID.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"customer":{"description":"ID of the customer.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"customer_account":{"maxLength":5000,"type":"string","description":"ID of the Account representing the customer.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax_id"]},"owner":{"description":"The account or customer the tax ID belongs to.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_i_ds_owner"}]},"type":{"type":"string","description":"Type of the tax ID, one of `ad_nrt`, `ae_trn`, `al_tin`, `am_tin`, `ao_tin`, `ar_cuit`, `au_abn`, `au_arn`, `aw_tin`, `az_tin`, `ba_tin`, `bb_tin`, `bd_bin`, `bf_ifu`, `bg_uic`, `bh_vat`, `bj_ifu`, `bo_tin`, `br_cnpj`, `br_cpf`, `bs_tin`, `by_tin`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `cd_nif`, `ch_uid`, `ch_vat`, `cl_tin`, `cm_niu`, `cn_tin`, `co_nit`, `cr_tin`, `cv_nif`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `et_tin`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `gn_nif`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kg_tin`, `kh_tin`, `kr_brn`, `kz_bin`, `la_tin`, `li_uid`, `li_vat`, `lk_vat`, `ma_vat`, `md_vat`, `me_pib`, `mk_vat`, `mr_nif`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `np_pan`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `pl_nip`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sn_ninea`, `sr_fin`, `sv_nit`, `th_vat`, `tj_tin`, `tr_tin`, `tw_vat`, `tz_vat`, `ua_vat`, `ug_tin`, `us_ein`, `uy_ruc`, `uz_tin`, `uz_vat`, `ve_rif`, `vn_tin`, `za_vat`, `zm_tin`, or `zw_tin`. Note that some legacy tax IDs have type `unknown`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","unknown","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"]},"value":{"maxLength":5000,"type":"string","description":"Value of the tax ID."},"verification":{"description":"Tax ID verification information.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_id_verification"}]}},"description":"You can add one or multiple tax IDs to a [customer](https://docs.stripe.com/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://docs.stripe.com/billing/taxes/tax-ids), [Account tax IDs](https://docs.stripe.com/invoicing/connect#account-tax-ids)","x-expandableFields":["customer","owner","verification"],"x-resourceId":"tax_id","x-stripeMostCommon":["country","customer","customer_account","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":{"title":"tax_id_verification","required":["status","verified_address","verified_name"],"type":"object","properties":{"status":{"type":"string","description":"Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`.","enum":["pending","unavailable","unverified","verified"]},"verified_address":{"maxLength":5000,"type":"string","description":"Verified address.","nullable":true},"verified_name":{"maxLength":5000,"type":"string","description":"Verified name.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status","verified_address","verified_name"]},"tax_product_registrations_resource_country_options":{"title":"TaxProductRegistrationsResourceCountryOptions","type":"object","properties":{"ae":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default_inbound_goods"},"al":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"am":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"ao":{"$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_inbound_goods"},"aw":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"az":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"ba":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"bb":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"bd":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"be":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_europe"},"bf":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"bg":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_europe"},"bh":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"bj":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"bs":{"$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"},"cd":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"ch":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default_inbound_goods"},"cl":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"cm":{"$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"},"cv":{"$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"},"et":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"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_inbound_goods"},"ge":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"gn":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"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"},"in":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"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_inbound_goods"},"ke":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"kg":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"kh":{"$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"},"la":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"lk":{"$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"},"me":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"mk":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"mr":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"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_inbound_goods"},"np":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"nz":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default_inbound_goods"},"om":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"pe":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"ph":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"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_inbound_goods"},"si":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_europe"},"sk":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_europe"},"sn":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"sr":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"th":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_thailand"},"tj":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"tr":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"tw":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"tz":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"ua":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"ug":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"us":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_united_states"},"uy":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"},"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"},"zm":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_simplified"},"zw":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default"}},"description":"","x-expandableFields":["ae","al","am","ao","at","au","aw","az","ba","bb","bd","be","bf","bg","bh","bj","bs","by","ca","cd","ch","cl","cm","co","cr","cv","cy","cz","de","dk","ec","ee","eg","es","et","fi","fr","gb","ge","gn","gr","hr","hu","id","ie","in","is","it","jp","ke","kg","kh","kr","kz","la","lk","lt","lu","lv","ma","md","me","mk","mr","mt","mx","my","ng","nl","no","np","nz","om","pe","ph","pl","pt","ro","rs","ru","sa","se","sg","si","sk","sn","sr","th","tj","tr","tw","tz","ua","ug","us","uy","uz","vn","za","zm","zw"],"x-stripeMostCommon":["ae","al","am","ao","at","au","aw","az","ba","bb","bd","be","bf","bg","bh","bj","bs","by","ca","cd","ch","cl","cm","co","cr","cv","cy","cz","de","dk","ec","ee","eg","es","et","fi","fr","gb","ge","gn","gr","hr","hu","id","ie","in","is","it","jp","ke","kg","kh","kr","kz","la","lk","lt","lu","lv","ma","md","me","mk","mr","mt","mx","my","ng","nl","no","np","nz","om","pe","ph","pl","pt","ro","rs","ru","sa","se","sg","si","sk","sn","sr","th","tj","tr","tw","tz","ua","ug","us","uy","uz","vn","za","zm","zw"]},"tax_product_registrations_resource_country_options_ca_province_standard":{"title":"TaxProductRegistrationsResourceCountryOptionsCaProvinceStandard","required":["province"],"type":"object","properties":{"province":{"maxLength":5000,"type":"string","description":"Two-letter CA province code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["province"]},"tax_product_registrations_resource_country_options_canada":{"title":"TaxProductRegistrationsResourceCountryOptionsCanada","required":["type"],"type":"object","properties":{"province_standard":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_ca_province_standard"},"type":{"type":"string","description":"Type of registration in Canada.","enum":["province_standard","simplified","standard"]}},"description":"","x-expandableFields":["province_standard"],"x-stripeMostCommon":["province_standard","type"]},"tax_product_registrations_resource_country_options_default":{"title":"TaxProductRegistrationsResourceCountryOptionsDefault","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration in `country`.","enum":["standard"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"tax_product_registrations_resource_country_options_default_inbound_goods":{"title":"TaxProductRegistrationsResourceCountryOptionsDefaultInboundGoods","required":["type"],"type":"object","properties":{"standard":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_default_standard"},"type":{"type":"string","description":"Type of registration in `country`.","enum":["standard"]}},"description":"","x-expandableFields":["standard"],"x-stripeMostCommon":["standard","type"]},"tax_product_registrations_resource_country_options_default_standard":{"title":"TaxProductRegistrationsResourceCountryOptionsDefaultStandard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an Default standard registration.","enum":["inbound_goods","standard"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["place_of_supply_scheme"]},"tax_product_registrations_resource_country_options_eu_standard":{"title":"TaxProductRegistrationsResourceCountryOptionsEuStandard","required":["place_of_supply_scheme"],"type":"object","properties":{"place_of_supply_scheme":{"type":"string","description":"Place of supply scheme used in an EU standard registration.","enum":["inbound_goods","small_seller","standard"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["place_of_supply_scheme"]},"tax_product_registrations_resource_country_options_europe":{"title":"TaxProductRegistrationsResourceCountryOptionsEurope","required":["type"],"type":"object","properties":{"standard":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_eu_standard"},"type":{"type":"string","description":"Type of registration in an EU country.","enum":["ioss","oss_non_union","oss_union","standard"]}},"description":"","x-expandableFields":["standard"],"x-stripeMostCommon":["standard","type"]},"tax_product_registrations_resource_country_options_simplified":{"title":"TaxProductRegistrationsResourceCountryOptionsSimplified","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration in `country`.","enum":["simplified"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"tax_product_registrations_resource_country_options_thailand":{"title":"TaxProductRegistrationsResourceCountryOptionsThailand","required":["type"],"type":"object","properties":{"type":{"type":"string","description":"Type of registration in `country`.","enum":["simplified"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type"]},"tax_product_registrations_resource_country_options_united_states":{"title":"TaxProductRegistrationsResourceCountryOptionsUnitedStates","required":["state","type"],"type":"object","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":{"maxLength":5000,"type":"string","description":"Two-letter US state code ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2))."},"state_sales_tax":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_state_sales_tax"},"type":{"type":"string","description":"Type of registration in the US.","enum":["local_amusement_tax","local_lease_tax","state_communications_tax","state_retail_delivery_fee","state_sales_tax"],"x-stripeBypassValidation":true}},"description":"","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":{"title":"TaxProductRegistrationsResourceCountryOptionsUsLocalAmusementTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_local_lease_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsLocalLeaseTax","required":["jurisdiction"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction"]},"tax_product_registrations_resource_country_options_us_state_sales_tax":{"title":"TaxProductRegistrationsResourceCountryOptionsUsStateSalesTax","type":"object","properties":{"elections":{"type":"array","description":"Elections for the state sales tax registration.","items":{"$ref":"#/components/schemas/tax_product_registrations_resource_country_options_us_state_sales_tax_election"}}},"description":"","x-expandableFields":["elections"],"x-stripeMostCommon":["elections"]},"tax_product_registrations_resource_country_options_us_state_sales_tax_election":{"title":"TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElection","required":["type"],"type":"object","properties":{"jurisdiction":{"maxLength":5000,"type":"string","description":"A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction."},"type":{"type":"string","description":"The type of the election for the state sales tax registration.","enum":["local_use_tax","simplified_sellers_use_tax","single_local_use_tax"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["jurisdiction","type"]},"tax_product_resource_customer_details":{"title":"TaxProductResourceCustomerDetails","required":["address","address_source","ip_address","tax_ids","taxability_override"],"type":"object","properties":{"address":{"description":"The customer's postal address (for example, home or business location).","nullable":true,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_postal_address"}]},"address_source":{"type":"string","description":"The type of customer address provided.","nullable":true,"enum":["billing","shipping"]},"ip_address":{"maxLength":5000,"type":"string","description":"The customer's IP address (IPv4 or IPv6).","nullable":true},"tax_ids":{"type":"array","description":"The customer's tax IDs (for example, EU VAT numbers).","items":{"$ref":"#/components/schemas/tax_product_resource_customer_details_resource_tax_id"}},"taxability_override":{"type":"string","description":"The taxability override used for taxation.","enum":["customer_exempt","none","reverse_charge"]}},"description":"","x-expandableFields":["address","tax_ids"],"x-stripeMostCommon":["address","address_source","ip_address","tax_ids","taxability_override"]},"tax_product_resource_customer_details_resource_tax_id":{"title":"TaxProductResourceCustomerDetailsResourceTaxId","required":["type","value"],"type":"object","properties":{"type":{"type":"string","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`, `pl_nip`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `lk_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`, `al_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`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`","enum":["ad_nrt","ae_trn","al_tin","am_tin","ao_tin","ar_cuit","au_abn","au_arn","aw_tin","az_tin","ba_tin","bb_tin","bd_bin","bf_ifu","bg_uic","bh_vat","bj_ifu","bo_tin","br_cnpj","br_cpf","bs_tin","by_tin","ca_bn","ca_gst_hst","ca_pst_bc","ca_pst_mb","ca_pst_sk","ca_qst","cd_nif","ch_uid","ch_vat","cl_tin","cm_niu","cn_tin","co_nit","cr_tin","cv_nif","de_stn","do_rcn","ec_ruc","eg_tin","es_cif","et_tin","eu_oss_vat","eu_vat","gb_vat","ge_vat","gn_nif","hk_br","hr_oib","hu_tin","id_npwp","il_vat","in_gst","is_vat","jp_cn","jp_rn","jp_trn","ke_pin","kg_tin","kh_tin","kr_brn","kz_bin","la_tin","li_uid","li_vat","lk_vat","ma_vat","md_vat","me_pib","mk_vat","mr_nif","mx_rfc","my_frp","my_itn","my_sst","ng_tin","no_vat","no_voec","np_pan","nz_gst","om_vat","pe_ruc","ph_tin","pl_nip","ro_tin","rs_pib","ru_inn","ru_kpp","sa_vat","sg_gst","sg_uen","si_tin","sn_ninea","sr_fin","sv_nit","th_vat","tj_tin","tr_tin","tw_vat","tz_vat","ua_vat","ug_tin","unknown","us_ein","uy_ruc","uz_tin","uz_vat","ve_rif","vn_tin","za_vat","zm_tin","zw_tin"]},"value":{"maxLength":5000,"type":"string","description":"The value of the tax ID."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["type","value"]},"tax_product_resource_jurisdiction":{"title":"TaxProductResourceJurisdiction","required":["country","display_name","level","state"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"display_name":{"maxLength":5000,"type":"string","description":"A human-readable name for the jurisdiction imposing the tax."},"level":{"type":"string","description":"Indicates the level of the jurisdiction imposing the tax.","enum":["city","country","county","district","state"]},"state":{"maxLength":5000,"type":"string","description":"[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["country","display_name","level","state"]},"tax_product_resource_line_item_tax_breakdown":{"title":"TaxProductResourceLineItemTaxBreakdown","required":["amount","jurisdiction","sourcing","tax_rate_details","taxability_reason","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."},"jurisdiction":{"$ref":"#/components/schemas/tax_product_resource_jurisdiction"},"sourcing":{"type":"string","description":"Indicates whether the jurisdiction was determined by the origin (merchant's address) or destination (customer's address).","enum":["destination","origin"],"x-stripeBypassValidation":true},"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,"anyOf":[{"$ref":"#/components/schemas/tax_product_resource_line_item_tax_rate_details"}]},"taxability_reason":{"type":"string","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"]},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."}},"description":"","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":{"title":"TaxProductResourceLineItemTaxRateDetails","required":["display_name","percentage_decimal","tax_type"],"type":"object","properties":{"display_name":{"maxLength":5000,"type":"string","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.)\"."},"percentage_decimal":{"maxLength":5000,"type":"string","description":"The tax rate percentage as a string. For example, 8.5% is represented as \"8.5\"."},"tax_type":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["display_name","percentage_decimal","tax_type"]},"tax_product_resource_postal_address":{"title":"TaxProductResourcePostalAddress","required":["city","country","line1","line2","postal_code","state"],"type":"object","properties":{"city":{"maxLength":5000,"type":"string","description":"City, district, suburb, town, or village.","nullable":true},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"maxLength":5000,"type":"string","description":"Address line 1, such as the street, PO Box, or company name.","nullable":true},"line2":{"maxLength":5000,"type":"string","description":"Address line 2, such as the apartment, suite, unit, or building.","nullable":true},"postal_code":{"maxLength":5000,"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"maxLength":5000,"type":"string","description":"State/province as an [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision code, without country prefix, such as \"NY\" or \"TX\".","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["city","country","line1","line2","postal_code","state"]},"tax_product_resource_ship_from_details":{"title":"TaxProductResourceShipFromDetails","required":["address"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/tax_product_resource_postal_address"}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address"]},"tax_product_resource_tax_association_transaction_attempts":{"title":"TaxProductResourceTaxAssociationTransactionAttempts","required":["source","status"],"type":"object","properties":{"committed":{"$ref":"#/components/schemas/tax_product_resource_tax_association_transaction_attempts_resource_committed"},"errored":{"$ref":"#/components/schemas/tax_product_resource_tax_association_transaction_attempts_resource_errored"},"source":{"maxLength":5000,"type":"string","description":"The source of the tax transaction attempt. This is either a refund or a payment intent."},"status":{"maxLength":5000,"type":"string","description":"The status of the transaction attempt. This can be `errored` or `committed`."}},"description":"","x-expandableFields":["committed","errored"],"x-stripeMostCommon":["committed","errored","source","status"]},"tax_product_resource_tax_association_transaction_attempts_resource_committed":{"title":"TaxProductResourceTaxAssociationTransactionAttemptsResourceCommitted","required":["transaction"],"type":"object","properties":{"transaction":{"maxLength":5000,"type":"string","description":"The [Tax Transaction](https://docs.stripe.com/api/tax/transaction/object)"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["transaction"]},"tax_product_resource_tax_association_transaction_attempts_resource_errored":{"title":"TaxProductResourceTaxAssociationTransactionAttemptsResourceErrored","required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Details on why we couldn't commit the tax transaction.","enum":["another_payment_associated_with_calculation","calculation_expired","currency_mismatch","original_transaction_voided","unique_reference_violation"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reason"]},"tax_product_resource_tax_breakdown":{"title":"TaxProductResourceTaxBreakdown","required":["amount","inclusive","tax_rate_details","taxability_reason","taxable_amount"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of tax, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."},"inclusive":{"type":"boolean","description":"Specifies whether the tax amount is included in the line item amount."},"tax_rate_details":{"$ref":"#/components/schemas/tax_product_resource_tax_rate_details"},"taxability_reason":{"type":"string","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"]},"taxable_amount":{"type":"integer","description":"The amount on which tax is calculated, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."}},"description":"","x-expandableFields":["tax_rate_details"],"x-stripeMostCommon":["amount","inclusive","tax_rate_details","taxability_reason","taxable_amount"]},"tax_product_resource_tax_calculation_shipping_cost":{"title":"TaxProductResourceTaxCalculationShippingCost","required":["amount","amount_tax","tax_behavior","tax_code"],"type":"object","properties":{"amount":{"type":"integer","description":"The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount."},"amount_tax":{"type":"integer","description":"The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."},"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object)."},"tax_behavior":{"type":"string","description":"Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.","enum":["exclusive","inclusive"]},"tax_breakdown":{"type":"array","description":"Detailed account of taxes relevant to shipping cost.","items":{"$ref":"#/components/schemas/tax_product_resource_line_item_tax_breakdown"}},"tax_code":{"maxLength":5000,"type":"string","description":"The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping."}},"description":"","x-expandableFields":["tax_breakdown"],"x-stripeMostCommon":["amount","amount_tax","shipping_rate","tax_behavior","tax_breakdown","tax_code"]},"tax_product_resource_tax_rate_details":{"title":"TaxProductResourceTaxRateDetails","required":["country","flat_amount","percentage_decimal","rate_type","state","tax_type"],"type":"object","properties":{"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","nullable":true},"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,"anyOf":[{"$ref":"#/components/schemas/tax_rate_flat_amount"}]},"percentage_decimal":{"maxLength":5000,"type":"string","description":"The tax rate percentage as a string. For example, 8.5% is represented as `\"8.5\"`."},"rate_type":{"type":"string","description":"Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.","nullable":true,"enum":["flat_amount","percentage"]},"state":{"maxLength":5000,"type":"string","description":"State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).","nullable":true},"tax_type":{"type":"string","description":"The tax type, such as `vat` or `sales_tax`.","nullable":true,"enum":["amusement_tax","communications_tax","gst","hst","igst","jct","lease_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","vat"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":["flat_amount"],"x-stripeMostCommon":["country","percentage_decimal","state","tax_type"]},"tax_product_resource_tax_settings_defaults":{"title":"TaxProductResourceTaxSettingsDefaults","required":["provider","tax_behavior","tax_code"],"type":"object","properties":{"provider":{"type":"string","description":"The tax calculation provider this account uses. Defaults to `stripe` when not using a [third-party provider](/tax/third-party-apps).","enum":["anrok","avalara","sphere","stripe"]},"tax_behavior":{"type":"string","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.","nullable":true,"enum":["exclusive","inclusive","inferred_by_currency"]},"tax_code":{"maxLength":5000,"type":"string","description":"Default [tax code](https://stripe.com/docs/tax/tax-categories) used to classify your products and prices.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["provider","tax_behavior","tax_code"]},"tax_product_resource_tax_settings_head_office":{"title":"TaxProductResourceTaxSettingsHeadOffice","required":["address"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"}},"description":"","x-expandableFields":["address"],"x-stripeMostCommon":["address"]},"tax_product_resource_tax_settings_status_details":{"title":"TaxProductResourceTaxSettingsStatusDetails","type":"object","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"}},"description":"","x-expandableFields":["active","pending"],"x-stripeMostCommon":["active","pending"]},"tax_product_resource_tax_settings_status_details_resource_active":{"title":"TaxProductResourceTaxSettingsStatusDetailsResourceActive","type":"object","properties":{},"description":"","x-expandableFields":[]},"tax_product_resource_tax_settings_status_details_resource_pending":{"title":"TaxProductResourceTaxSettingsStatusDetailsResourcePending","required":["missing_fields"],"type":"object","properties":{"missing_fields":{"type":"array","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.","nullable":true,"items":{"maxLength":5000,"type":"string"}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["missing_fields"]},"tax_product_resource_tax_transaction_line_item_resource_reversal":{"title":"TaxProductResourceTaxTransactionLineItemResourceReversal","required":["original_line_item"],"type":"object","properties":{"original_line_item":{"maxLength":5000,"type":"string","description":"The `id` of the line item to reverse in the original transaction."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["original_line_item"]},"tax_product_resource_tax_transaction_resource_reversal":{"title":"TaxProductResourceTaxTransactionResourceReversal","required":["original_transaction"],"type":"object","properties":{"original_transaction":{"maxLength":5000,"type":"string","description":"The `id` of the reversed `Transaction` object.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["original_transaction"]},"tax_product_resource_tax_transaction_shipping_cost":{"title":"TaxProductResourceTaxTransactionShippingCost","required":["amount","amount_tax","tax_behavior","tax_code"],"type":"object","properties":{"amount":{"type":"integer","description":"The shipping amount in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units). If `tax_behavior=inclusive`, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount."},"amount_tax":{"type":"integer","description":"The amount of tax calculated for shipping, in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units)."},"shipping_rate":{"maxLength":5000,"type":"string","description":"The ID of an existing [ShippingRate](https://docs.stripe.com/api/shipping_rates/object)."},"tax_behavior":{"type":"string","description":"Specifies whether the `amount` includes taxes. If `tax_behavior=inclusive`, then the amount includes taxes.","enum":["exclusive","inclusive"]},"tax_breakdown":{"type":"array","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"}},"tax_code":{"maxLength":5000,"type":"string","description":"The [tax code](https://docs.stripe.com/tax/tax-categories) ID used for shipping."}},"description":"","x-expandableFields":["tax_breakdown"],"x-stripeMostCommon":["amount","amount_tax","shipping_rate","tax_behavior","tax_breakdown","tax_code"]},"tax_rate":{"title":"TaxRate","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"],"type":"object","properties":{"active":{"type":"boolean","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."},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers.","nullable":true},"display_name":{"maxLength":5000,"type":"string","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."},"effective_percentage":{"type":"number","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},"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,"anyOf":[{"$ref":"#/components/schemas/tax_rate_flat_amount"}]},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"inclusive":{"type":"boolean","description":"This specifies if the tax rate is inclusive or exclusive."},"jurisdiction":{"maxLength":5000,"type":"string","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.","nullable":true},"jurisdiction_level":{"type":"string","description":"The level of the jurisdiction that imposes this tax rate. Will be `null` for manually defined tax rates.","nullable":true,"enum":["city","country","county","district","multiple","state"]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["tax_rate"]},"percentage":{"type":"number","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."},"rate_type":{"type":"string","description":"Indicates the type of tax rate applied to the taxable amount. This value can be `null` when no tax applies to the location. This field is only present for TaxRates created by Stripe Tax.","nullable":true,"enum":["flat_amount","percentage"]},"state":{"maxLength":5000,"type":"string","description":"[ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2), without country prefix. For example, \"NY\" for New York, United States.","nullable":true},"tax_type":{"type":"string","description":"The high-level tax type, such as `vat` or `sales_tax`.","nullable":true,"enum":["amusement_tax","communications_tax","gst","hst","igst","jct","lease_tax","pst","qst","retail_delivery_fee","rst","sales_tax","service_tax","vat"],"x-stripeBypassValidation":true}},"description":"Tax rates can be applied to [invoices](/invoicing/taxes/tax-rates), [subscriptions](/billing/taxes/tax-rates) and [Checkout Sessions](/payments/checkout/use-manual-tax-rates) to collect tax.\n\nRelated guide: [Tax rates](/billing/taxes/tax-rates)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/tax_rate"}},"description":"Occurs whenever a new tax rate is created.","x-expandableFields":[],"x-stripeEvent":{"type":"tax_rate.created"}},"tax_rate.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/tax_rate"}},"description":"Occurs whenever a tax rate is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"tax_rate.updated"}},"tax_rate_flat_amount":{"title":"TaxRateFlatAmount","required":["amount","currency"],"type":"object","properties":{"amount":{"type":"integer","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)."},"currency":{"maxLength":5000,"type":"string","description":"Three-letter ISO currency code, in lowercase."}},"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.","x-expandableFields":[],"x-stripeMostCommon":["amount","currency"],"x-stripeResource":{"class_name":"TaxRateFlatAmount","in_package":""}},"terminal.configuration":{"title":"TerminalConfigurationConfiguration","required":["id","is_account_default","livemode","name","object"],"type":"object","properties":{"bbpos_wisepad3":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"},"bbpos_wisepos_e":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_device_type_specific_config"},"cellular":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_cellular_config"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"is_account_default":{"type":"boolean","description":"Whether this Configuration is the default for your account","nullable":true},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"name":{"maxLength":5000,"type":"string","description":"String indicating the name of the Configuration object, set by the user","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.configuration"]},"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"},"stripe_s710":{"$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"},"wifi":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_wifi_config"}},"description":"A Configurations object represents how features should be configured for terminal readers.\nFor information about how to use it, see the [Terminal configurations documentation](https://docs.stripe.com/terminal/fleet/configurations-overview).","x-expandableFields":["bbpos_wisepad3","bbpos_wisepos_e","cellular","offline","reboot_window","stripe_s700","stripe_s710","tipping","verifone_p400","wifi"],"x-resourceId":"terminal.configuration","x-stripeMostCommon":["bbpos_wisepad3","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":{"title":"TerminalConnectionToken","required":["object","secret"],"type":"object","properties":{"location":{"maxLength":5000,"type":"string","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)."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.connection_token"]},"secret":{"maxLength":5000,"type":"string","description":"Your application should pass this token to the Stripe Terminal SDK."}},"description":"A Connection Token is used by the Stripe Terminal SDK to connect to a reader.\n\nRelated guide: [Fleet management](https://docs.stripe.com/terminal/fleet/locations)","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":{"title":"TerminalLocationLocation","required":["address","display_name","id","livemode","metadata","object"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"address_kana":{"$ref":"#/components/schemas/legal_entity_japan_address"},"address_kanji":{"$ref":"#/components/schemas/legal_entity_japan_address"},"configuration_overrides":{"maxLength":5000,"type":"string","description":"The ID of a configuration that will be used to customize all readers in this location."},"display_name":{"maxLength":5000,"type":"string","description":"The display name of the location."},"display_name_kana":{"maxLength":5000,"type":"string","description":"The Kana variation of the display name of the location."},"display_name_kanji":{"maxLength":5000,"type":"string","description":"The Kanji variation of the display name of the location."},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.location"]},"phone":{"maxLength":5000,"type":"string","description":"The phone number of the location."}},"description":"A Location represents a grouping of readers.\n\nRelated guide: [Fleet management](https://docs.stripe.com/terminal/fleet/locations)","x-expandableFields":["address","address_kana","address_kanji"],"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.onboarding_link":{"title":"TerminalOnboardingLinkOnboardingLink","required":["link_options","link_type","object","on_behalf_of","redirect_url"],"type":"object","properties":{"link_options":{"$ref":"#/components/schemas/terminal_onboarding_link_link_options"},"link_type":{"type":"string","description":"The type of link being generated.","enum":["apple_terms_and_conditions"]},"object":{"type":"string","enum":["terminal.onboarding_link"]},"on_behalf_of":{"maxLength":5000,"type":"string","description":"Stripe account ID to generate the link for.","nullable":true},"redirect_url":{"maxLength":5000,"type":"string","description":"The link passed back to the user for their onboarding."}},"description":"Returns redirect links used for onboarding onto Tap to Pay on iPhone.","x-expandableFields":["link_options"],"x-resourceId":"terminal.onboarding_link","x-stripeMostCommon":["link_options","link_type","object","on_behalf_of","redirect_url"],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v1/terminal/onboarding_links"}],"x-stripeResource":{"class_name":"OnboardingLink","in_package":"Terminal"}},"terminal.reader":{"title":"TerminalReaderReader","required":["action","device_sw_version","device_type","id","ip_address","label","last_seen_at","livemode","location","metadata","object","serial_number","status"],"type":"object","properties":{"action":{"description":"The most recent action performed by the reader.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/terminal_reader_reader_resource_reader_action"}]},"device_sw_version":{"maxLength":5000,"type":"string","description":"The current software version of the reader.","nullable":true},"device_type":{"type":"string","description":"Device type of the reader.","enum":["bbpos_chipper2x","bbpos_wisepad3","bbpos_wisepos_e","mobile_phone_reader","simulated_stripe_s700","simulated_stripe_s710","simulated_wisepos_e","stripe_m2","stripe_s700","stripe_s710","verifone_P400"],"x-stripeBypassValidation":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"ip_address":{"maxLength":5000,"type":"string","description":"The local IP address of the reader.","nullable":true},"label":{"maxLength":5000,"type":"string","description":"Custom label given to the reader for easier identification."},"last_seen_at":{"type":"integer","description":"The last time this reader reported to Stripe backend. Timestamp is measured in milliseconds since the Unix epoch. Unlike most other Stripe timestamp fields which use seconds, this field uses milliseconds.","format":"unix-time","nullable":true},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"location":{"description":"The location identifier of the reader.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/terminal.location"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/terminal.location"}]}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["terminal.reader"]},"serial_number":{"maxLength":5000,"type":"string","description":"Serial number of the reader."},"status":{"type":"string","description":"The networking status of the reader. We do not recommend using this field in flows that may block taking payments.","nullable":true,"enum":["offline","online"]}},"description":"A Reader represents a physical device for accepting payment details.\n\nRelated guide: [Connecting to a reader](https://docs.stripe.com/terminal/payments/connect-reader)","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":"collect_inputs","method_on":"service","method_type":"custom","operation":"post","path":"/v1/terminal/readers/{reader}/collect_inputs"},{"method_name":"collect_payment_method","method_on":"service","method_type":"custom","operation":"post","path":"/v1/terminal/readers/{reader}/collect_payment_method"},{"method_name":"confirm_payment_intent","method_on":"service","method_type":"custom","operation":"post","path":"/v1/terminal/readers/{reader}/confirm_payment_intent"},{"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"},{"method_name":"succeed_input_collection","method_on":"service","method_type":"custom","operation":"post","path":"/v1/test_helpers/terminal/readers/{reader}/succeed_input_collection"},{"method_name":"timeout_input_collection","method_on":"service","method_type":"custom","operation":"post","path":"/v1/test_helpers/terminal/readers/{reader}/timeout_input_collection"}],"x-stripeResource":{"class_name":"Reader","has_collection_class":true,"in_package":"Terminal"}},"terminal.reader.action_failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/terminal.reader"}},"description":"Occurs whenever an action sent to a Terminal reader failed.","x-expandableFields":[],"x-stripeEvent":{"type":"terminal.reader.action_failed"}},"terminal.reader.action_succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/terminal.reader"}},"description":"Occurs whenever an action sent to a Terminal reader was successful.","x-expandableFields":[],"x-stripeEvent":{"type":"terminal.reader.action_succeeded"}},"terminal.reader.action_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/terminal.reader"}},"description":"Occurs whenever an action sent to a Terminal reader is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"terminal.reader.action_updated"}},"terminal_configuration_configuration_resource_cellular_config":{"title":"TerminalConfigurationConfigurationResourceCellularConfig","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether a cellular-capable reader can connect to the internet over cellular."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"terminal_configuration_configuration_resource_currency_specific_config":{"title":"TerminalConfigurationConfigurationResourceCurrencySpecificConfig","type":"object","properties":{"fixed_amounts":{"type":"array","description":"Fixed amounts displayed when collecting a tip","nullable":true,"items":{"type":"integer"}},"percentages":{"type":"array","description":"Percentages displayed when collecting a tip","nullable":true,"items":{"type":"integer"}},"smart_tip_threshold":{"type":"integer","description":"Below this amount, fixed amounts will be displayed; above it, percentages will be displayed"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["fixed_amounts","percentages","smart_tip_threshold"]},"terminal_configuration_configuration_resource_device_type_specific_config":{"title":"TerminalConfigurationConfigurationResourceDeviceTypeSpecificConfig","type":"object","properties":{"splashscreen":{"description":"A File ID representing an image to display on the reader","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/file"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/file"}]}}},"description":"","x-expandableFields":["splashscreen"],"x-stripeMostCommon":["splashscreen"]},"terminal_configuration_configuration_resource_enterprise_peap_wifi":{"title":"TerminalConfigurationConfigurationResourceEnterprisePEAPWifi","required":["password","ssid","username"],"type":"object","properties":{"ca_certificate_file":{"maxLength":5000,"type":"string","description":"A File ID representing a PEM file containing the server certificate"},"password":{"maxLength":5000,"type":"string","description":"Password for connecting to the WiFi network"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"},"username":{"maxLength":5000,"type":"string","description":"Username for connecting to the WiFi network"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["ca_certificate_file","password","ssid","username"]},"terminal_configuration_configuration_resource_enterprise_tls_wifi":{"title":"TerminalConfigurationConfigurationResourceEnterpriseTLSWifi","required":["client_certificate_file","private_key_file","ssid"],"type":"object","properties":{"ca_certificate_file":{"maxLength":5000,"type":"string","description":"A File ID representing a PEM file containing the server certificate"},"client_certificate_file":{"maxLength":5000,"type":"string","description":"A File ID representing a PEM file containing the client certificate"},"private_key_file":{"maxLength":5000,"type":"string","description":"A File ID representing a PEM file containing the client RSA private key"},"private_key_file_password":{"maxLength":5000,"type":"string","description":"Password for the private key file"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["ca_certificate_file","client_certificate_file","private_key_file","private_key_file_password","ssid"]},"terminal_configuration_configuration_resource_offline_config":{"title":"TerminalConfigurationConfigurationResourceOfflineConfig","required":["enabled"],"type":"object","properties":{"enabled":{"type":"boolean","description":"Determines whether to allow transactions to be collected while reader is offline. Defaults to false.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["enabled"]},"terminal_configuration_configuration_resource_personal_psk_wifi":{"title":"TerminalConfigurationConfigurationResourcePersonalPSKWifi","required":["password","ssid"],"type":"object","properties":{"password":{"maxLength":5000,"type":"string","description":"Password for connecting to the WiFi network"},"ssid":{"maxLength":5000,"type":"string","description":"Name of the WiFi network"}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["password","ssid"]},"terminal_configuration_configuration_resource_reboot_window":{"title":"TerminalConfigurationConfigurationResourceRebootWindow","required":["end_hour","start_hour"],"type":"object","properties":{"end_hour":{"type":"integer","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."},"start_hour":{"type":"integer","description":"Integer between 0 to 23 that represents the start hour of the reboot time window."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["end_hour","start_hour"]},"terminal_configuration_configuration_resource_tipping":{"title":"TerminalConfigurationConfigurationResourceTipping","type":"object","properties":{"aed":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"},"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"},"gip":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"},"hkd":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"},"huf":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"},"jpy":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_currency_specific_config"},"mxn":{"$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"},"ron":{"$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"}},"description":"","x-expandableFields":["aed","aud","cad","chf","czk","dkk","eur","gbp","gip","hkd","huf","jpy","mxn","myr","nok","nzd","pln","ron","sek","sgd","usd"],"x-stripeMostCommon":["aed","aud","cad","chf","czk","dkk","eur","gbp","gip","hkd","huf","jpy","mxn","myr","nok","nzd","pln","ron","sek","sgd","usd"]},"terminal_configuration_configuration_resource_wifi_config":{"title":"TerminalConfigurationConfigurationResourceWifiConfig","required":["type"],"type":"object","properties":{"enterprise_eap_peap":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_enterprise_peap_wifi"},"enterprise_eap_tls":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_enterprise_tls_wifi"},"personal_psk":{"$ref":"#/components/schemas/terminal_configuration_configuration_resource_personal_psk_wifi"},"type":{"type":"string","description":"Security type of the WiFi network. The hash with the corresponding name contains the credentials for this security type.","enum":["enterprise_eap_peap","enterprise_eap_tls","personal_psk"]}},"description":"","x-expandableFields":["enterprise_eap_peap","enterprise_eap_tls","personal_psk"],"x-stripeMostCommon":["enterprise_eap_peap","enterprise_eap_tls","personal_psk","type"]},"terminal_onboarding_link_apple_terms_and_conditions":{"title":"TerminalOnboardingLinkAppleTermsAndConditions","required":["allow_relinking","merchant_display_name"],"type":"object","properties":{"allow_relinking":{"type":"boolean","description":"Whether the link should also support users relinking their Apple account.","nullable":true},"merchant_display_name":{"maxLength":5000,"type":"string","description":"The business name of the merchant accepting Apple's Terms and Conditions."}},"description":"Options associated with the Apple Terms and Conditions link type.","x-expandableFields":[],"x-stripeMostCommon":["allow_relinking","merchant_display_name"]},"terminal_onboarding_link_link_options":{"title":"TerminalOnboardingLinkLinkOptions","required":["apple_terms_and_conditions"],"type":"object","properties":{"apple_terms_and_conditions":{"description":"The options associated with the Apple Terms and Conditions link type.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/terminal_onboarding_link_apple_terms_and_conditions"}]}},"description":"Link type options associated with the current onboarding link object.","x-expandableFields":["apple_terms_and_conditions"],"x-stripeMostCommon":["apple_terms_and_conditions"]},"terminal_reader_reader_resource_cart":{"title":"TerminalReaderReaderResourceCart","required":["currency","line_items","tax","total"],"type":"object","properties":{"currency":{"type":"string","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).","format":"currency"},"line_items":{"type":"array","description":"List of line items in the cart.","items":{"$ref":"#/components/schemas/terminal_reader_reader_resource_line_item"}},"tax":{"type":"integer","description":"Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).","nullable":true},"total":{"type":"integer","description":"Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."}},"description":"Represents a cart to be displayed on the reader","x-expandableFields":["line_items"],"x-stripeMostCommon":["currency","line_items","tax","total"]},"terminal_reader_reader_resource_choice":{"title":"TerminalReaderReaderResourceChoice","required":["id","style","text"],"type":"object","properties":{"id":{"maxLength":5000,"type":"string","description":"The identifier for the selected choice. Maximum 50 characters.","nullable":true},"style":{"type":"string","description":"The button style for the choice. Can be `primary` or `secondary`.","nullable":true,"enum":["primary","secondary"]},"text":{"maxLength":5000,"type":"string","description":"The text to be selected. Maximum 30 characters."}},"description":"Choice to be selected on a Reader","x-expandableFields":[],"x-stripeMostCommon":["id","style","text"]},"terminal_reader_reader_resource_collect_config":{"title":"TerminalReaderReaderResourceCollectConfig","type":"object","properties":{"enable_customer_cancellation":{"type":"boolean","description":"Enable customer-initiated cancellation when processing this payment."},"skip_tipping":{"type":"boolean","description":"Override showing a tipping selection screen on this transaction."},"tipping":{"$ref":"#/components/schemas/terminal_reader_reader_resource_tipping_config"}},"description":"Represents a per-transaction override of a reader configuration","x-expandableFields":["tipping"],"x-stripeMostCommon":["enable_customer_cancellation","skip_tipping","tipping"]},"terminal_reader_reader_resource_collect_inputs_action":{"title":"TerminalReaderReaderResourceCollectInputsAction","required":["inputs","metadata"],"type":"object","properties":{"inputs":{"type":"array","description":"List of inputs to be collected.","items":{"$ref":"#/components/schemas/terminal_reader_reader_resource_input"}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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}},"description":"Represents a reader action to collect customer inputs","x-expandableFields":["inputs"],"x-stripeMostCommon":["inputs","metadata"]},"terminal_reader_reader_resource_collect_payment_method_action":{"title":"TerminalReaderReaderResourceCollectPaymentMethodAction","required":["payment_intent"],"type":"object","properties":{"collect_config":{"$ref":"#/components/schemas/terminal_reader_reader_resource_collect_config"},"payment_intent":{"description":"Most recent PaymentIntent processed by the reader.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"payment_method":{"$ref":"#/components/schemas/payment_method"}},"description":"Represents a reader action to collect a payment method","x-expandableFields":["collect_config","payment_intent","payment_method"],"x-stripeMostCommon":["payment_intent"]},"terminal_reader_reader_resource_confirm_config":{"title":"TerminalReaderReaderResourceConfirmConfig","type":"object","properties":{"return_url":{"maxLength":5000,"type":"string","description":"If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion."}},"description":"Represents a per-transaction override of a reader configuration","x-expandableFields":[],"x-stripeMostCommon":["return_url"]},"terminal_reader_reader_resource_confirm_payment_intent_action":{"title":"TerminalReaderReaderResourceConfirmPaymentIntentAction","required":["payment_intent"],"type":"object","properties":{"confirm_config":{"$ref":"#/components/schemas/terminal_reader_reader_resource_confirm_config"},"payment_intent":{"description":"Most recent PaymentIntent processed by the reader.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}}},"description":"Represents a reader action to confirm a payment","x-expandableFields":["confirm_config","payment_intent"],"x-stripeMostCommon":["payment_intent"]},"terminal_reader_reader_resource_custom_text":{"title":"TerminalReaderReaderResourceCustomText","required":["description","skip_button","submit_button","title"],"type":"object","properties":{"description":{"maxLength":5000,"type":"string","description":"Customize the default description for this input","nullable":true},"skip_button":{"maxLength":5000,"type":"string","description":"Customize the default label for this input's skip button","nullable":true},"submit_button":{"maxLength":5000,"type":"string","description":"Customize the default label for this input's submit button","nullable":true},"title":{"maxLength":5000,"type":"string","description":"Customize the default title for this input","nullable":true}},"description":"Represents custom text to be displayed when collecting the input using a reader","x-expandableFields":[],"x-stripeMostCommon":["description","skip_button","submit_button","title"]},"terminal_reader_reader_resource_email":{"title":"TerminalReaderReaderResourceEmail","required":["value"],"type":"object","properties":{"value":{"maxLength":5000,"type":"string","description":"The collected email address","nullable":true}},"description":"Information about a email being collected using a reader","x-expandableFields":[],"x-stripeMostCommon":["value"]},"terminal_reader_reader_resource_input":{"title":"TerminalReaderReaderResourceInput","required":["custom_text","required","toggles","type"],"type":"object","properties":{"custom_text":{"description":"Default text of input being collected.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/terminal_reader_reader_resource_custom_text"}]},"email":{"$ref":"#/components/schemas/terminal_reader_reader_resource_email"},"numeric":{"$ref":"#/components/schemas/terminal_reader_reader_resource_numeric"},"phone":{"$ref":"#/components/schemas/terminal_reader_reader_resource_phone"},"required":{"type":"boolean","description":"Indicate that this input is required, disabling the skip button.","nullable":true},"selection":{"$ref":"#/components/schemas/terminal_reader_reader_resource_selection"},"signature":{"$ref":"#/components/schemas/terminal_reader_reader_resource_signature"},"skipped":{"type":"boolean","description":"Indicate that this input was skipped by the user."},"text":{"$ref":"#/components/schemas/terminal_reader_reader_resource_text"},"toggles":{"type":"array","description":"List of toggles being collected. Values are present if collection is complete.","nullable":true,"items":{"$ref":"#/components/schemas/terminal_reader_reader_resource_toggle"}},"type":{"type":"string","description":"Type of input being collected.","enum":["email","numeric","phone","selection","signature","text"]}},"description":"Represents an input to be collected using the reader","x-expandableFields":["custom_text","email","numeric","phone","selection","signature","text","toggles"],"x-stripeMostCommon":["required","skipped","type"]},"terminal_reader_reader_resource_line_item":{"title":"TerminalReaderReaderResourceLineItem","required":["amount","description","quantity"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount of the line item. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal)."},"description":{"maxLength":5000,"type":"string","description":"Description of the line item."},"quantity":{"type":"integer","description":"The quantity of the line item."}},"description":"Represents a line item to be displayed on the reader","x-expandableFields":[],"x-stripeMostCommon":["amount","description","quantity"]},"terminal_reader_reader_resource_numeric":{"title":"TerminalReaderReaderResourceNumeric","required":["value"],"type":"object","properties":{"value":{"maxLength":5000,"type":"string","description":"The collected number","nullable":true}},"description":"Information about a number being collected using a reader","x-expandableFields":[],"x-stripeMostCommon":["value"]},"terminal_reader_reader_resource_phone":{"title":"TerminalReaderReaderResourcePhone","required":["value"],"type":"object","properties":{"value":{"maxLength":5000,"type":"string","description":"The collected phone number","nullable":true}},"description":"Information about a phone number being collected using a reader","x-expandableFields":[],"x-stripeMostCommon":["value"]},"terminal_reader_reader_resource_process_config":{"title":"TerminalReaderReaderResourceProcessConfig","type":"object","properties":{"enable_customer_cancellation":{"type":"boolean","description":"Enable customer-initiated cancellation when processing this payment."},"return_url":{"maxLength":5000,"type":"string","description":"If the customer doesn't abandon authenticating the payment, they're redirected to this URL after completion."},"skip_tipping":{"type":"boolean","description":"Override showing a tipping selection screen on this transaction."},"tipping":{"$ref":"#/components/schemas/terminal_reader_reader_resource_tipping_config"}},"description":"Represents a per-transaction override of a reader configuration","x-expandableFields":["tipping"],"x-stripeMostCommon":["enable_customer_cancellation","return_url","skip_tipping","tipping"]},"terminal_reader_reader_resource_process_payment_intent_action":{"title":"TerminalReaderReaderResourceProcessPaymentIntentAction","required":["payment_intent"],"type":"object","properties":{"payment_intent":{"description":"Most recent PaymentIntent processed by the reader.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"process_config":{"$ref":"#/components/schemas/terminal_reader_reader_resource_process_config"}},"description":"Represents a reader action to process a payment intent","x-expandableFields":["payment_intent","process_config"],"x-stripeMostCommon":["payment_intent"]},"terminal_reader_reader_resource_process_setup_config":{"title":"TerminalReaderReaderResourceProcessSetupConfig","type":"object","properties":{"enable_customer_cancellation":{"type":"boolean","description":"Enable customer-initiated cancellation when processing this SetupIntent."}},"description":"Represents a per-setup override of a reader configuration","x-expandableFields":[],"x-stripeMostCommon":["enable_customer_cancellation"]},"terminal_reader_reader_resource_process_setup_intent_action":{"title":"TerminalReaderReaderResourceProcessSetupIntentAction","required":["setup_intent"],"type":"object","properties":{"generated_card":{"maxLength":5000,"type":"string","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."},"process_config":{"$ref":"#/components/schemas/terminal_reader_reader_resource_process_setup_config"},"setup_intent":{"description":"Most recent SetupIntent processed by the reader.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/setup_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/setup_intent"}]}}},"description":"Represents a reader action to process a setup intent","x-expandableFields":["process_config","setup_intent"],"x-stripeMostCommon":["setup_intent"]},"terminal_reader_reader_resource_reader_action":{"title":"TerminalReaderReaderResourceReaderAction","required":["failure_code","failure_message","status","type"],"type":"object","properties":{"collect_inputs":{"$ref":"#/components/schemas/terminal_reader_reader_resource_collect_inputs_action"},"collect_payment_method":{"$ref":"#/components/schemas/terminal_reader_reader_resource_collect_payment_method_action"},"confirm_payment_intent":{"$ref":"#/components/schemas/terminal_reader_reader_resource_confirm_payment_intent_action"},"failure_code":{"maxLength":5000,"type":"string","description":"Failure code, only set if status is `failed`.","nullable":true},"failure_message":{"maxLength":5000,"type":"string","description":"Detailed failure message, only set if status is `failed`.","nullable":true},"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":{"type":"string","description":"Status of the action performed by the reader.","enum":["failed","in_progress","succeeded"]},"type":{"type":"string","description":"Type of action performed by the reader.","enum":["collect_inputs","collect_payment_method","confirm_payment_intent","process_payment_intent","process_setup_intent","refund_payment","set_reader_display"],"x-stripeBypassValidation":true}},"description":"Represents an action performed by the reader","x-expandableFields":["collect_inputs","collect_payment_method","confirm_payment_intent","process_payment_intent","process_setup_intent","refund_payment","set_reader_display"],"x-stripeMostCommon":["collect_inputs","collect_payment_method","confirm_payment_intent","failure_code","failure_message","process_payment_intent","process_setup_intent","refund_payment","set_reader_display","status","type"]},"terminal_reader_reader_resource_refund_payment_action":{"title":"TerminalReaderReaderResourceRefundPaymentAction","type":"object","properties":{"amount":{"type":"integer","description":"The amount being refunded."},"charge":{"description":"Charge that is being refunded.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"payment_intent":{"description":"Payment intent that is being refunded.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/payment_intent"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/payment_intent"}]}},"reason":{"type":"string","description":"The reason for the refund.","enum":["duplicate","fraudulent","requested_by_customer"]},"refund":{"description":"Unique identifier for the refund object.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/refund"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/refund"}]}},"refund_application_fee":{"type":"boolean","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."},"refund_payment_config":{"$ref":"#/components/schemas/terminal_reader_reader_resource_refund_payment_config"},"reverse_transfer":{"type":"boolean","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."}},"description":"Represents a reader action to refund a payment","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":{"title":"TerminalReaderReaderResourceRefundPaymentConfig","type":"object","properties":{"enable_customer_cancellation":{"type":"boolean","description":"Enable customer-initiated cancellation when refunding this payment."}},"description":"Represents a per-transaction override of a reader configuration","x-expandableFields":[],"x-stripeMostCommon":["enable_customer_cancellation"]},"terminal_reader_reader_resource_selection":{"title":"TerminalReaderReaderResourceSelection","required":["choices","id","text"],"type":"object","properties":{"choices":{"type":"array","description":"List of possible choices to be selected","items":{"$ref":"#/components/schemas/terminal_reader_reader_resource_choice"}},"id":{"maxLength":5000,"type":"string","description":"The id of the selected choice","nullable":true},"text":{"maxLength":5000,"type":"string","description":"The text of the selected choice","nullable":true}},"description":"Information about a selection being collected using a reader","x-expandableFields":["choices"],"x-stripeMostCommon":["choices","id","text"]},"terminal_reader_reader_resource_set_reader_display_action":{"title":"TerminalReaderReaderResourceSetReaderDisplayAction","required":["cart","type"],"type":"object","properties":{"cart":{"description":"Cart object to be displayed by the reader, including line items, amounts, and currency.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/terminal_reader_reader_resource_cart"}]},"type":{"type":"string","description":"Type of information to be displayed by the reader. Only `cart` is currently supported.","enum":["cart"]}},"description":"Represents a reader action to set the reader display","x-expandableFields":["cart"],"x-stripeMostCommon":["cart","type"]},"terminal_reader_reader_resource_signature":{"title":"TerminalReaderReaderResourceSignature","required":["value"],"type":"object","properties":{"value":{"maxLength":5000,"type":"string","description":"The File ID of a collected signature image","nullable":true}},"description":"Information about a signature being collected using a reader","x-expandableFields":[],"x-stripeMostCommon":["value"]},"terminal_reader_reader_resource_text":{"title":"TerminalReaderReaderResourceText","required":["value"],"type":"object","properties":{"value":{"maxLength":5000,"type":"string","description":"The collected text value","nullable":true}},"description":"Information about text being collected using a reader","x-expandableFields":[],"x-stripeMostCommon":["value"]},"terminal_reader_reader_resource_tipping_config":{"title":"TerminalReaderReaderResourceTippingConfig","type":"object","properties":{"amount_eligible":{"type":"integer","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)."}},"description":"Represents a per-transaction tipping configuration","x-expandableFields":[],"x-stripeMostCommon":["amount_eligible"]},"terminal_reader_reader_resource_toggle":{"title":"TerminalReaderReaderResourceToggle","required":["default_value","description","title","value"],"type":"object","properties":{"default_value":{"type":"string","description":"The toggle's default value. Can be `enabled` or `disabled`.","nullable":true,"enum":["disabled","enabled"]},"description":{"maxLength":5000,"type":"string","description":"The toggle's description text. Maximum 50 characters.","nullable":true},"title":{"maxLength":5000,"type":"string","description":"The toggle's title text. Maximum 50 characters.","nullable":true},"value":{"type":"string","description":"The toggle's collected value. Can be `enabled` or `disabled`.","nullable":true,"enum":["disabled","enabled"]}},"description":"Information about an input's toggle","x-expandableFields":[],"x-stripeMostCommon":["default_value","description","title","value"]},"test_helpers.test_clock":{"title":"TestClock","required":["created","deletes_after","frozen_time","id","livemode","name","object","status","status_details"],"type":"object","properties":{"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"deletes_after":{"type":"integer","description":"Time at which this clock is scheduled to auto delete.","format":"unix-time"},"frozen_time":{"type":"integer","description":"Time at which all objects belonging to this clock are frozen.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"name":{"maxLength":5000,"type":"string","description":"The custom name supplied at creation.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["test_helpers.test_clock"]},"status":{"type":"string","description":"The status of the Test Clock.","enum":["advancing","internal_failure","ready"]},"status_details":{"$ref":"#/components/schemas/billing_clocks_resource_status_details_status_details"}},"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.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/test_helpers.test_clock"}},"description":"Occurs whenever a test clock starts advancing.","x-expandableFields":[],"x-stripeEvent":{"type":"test_helpers.test_clock.advancing"}},"test_helpers.test_clock.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/test_helpers.test_clock"}},"description":"Occurs whenever a test clock is created.","x-expandableFields":[],"x-stripeEvent":{"type":"test_helpers.test_clock.created"}},"test_helpers.test_clock.deleted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/test_helpers.test_clock"}},"description":"Occurs whenever a test clock is deleted.","x-expandableFields":[],"x-stripeEvent":{"type":"test_helpers.test_clock.deleted"}},"test_helpers.test_clock.internal_failure":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/test_helpers.test_clock"}},"description":"Occurs whenever a test clock fails to advance its frozen time.","x-expandableFields":[],"x-stripeEvent":{"type":"test_helpers.test_clock.internal_failure"}},"test_helpers.test_clock.ready":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/test_helpers.test_clock"}},"description":"Occurs whenever a test clock transitions to a ready status.","x-expandableFields":[],"x-stripeEvent":{"type":"test_helpers.test_clock.ready"}},"three_d_secure_details":{"title":"three_d_secure_details","required":["authentication_flow","electronic_commerce_indicator","result","result_reason","transaction_id","version"],"type":"object","properties":{"authentication_flow":{"type":"string","description":"For authenticated transactions: how the customer was authenticated by\nthe issuing bank.","nullable":true,"enum":["challenge","frictionless"]},"electronic_commerce_indicator":{"type":"string","description":"The Electronic Commerce Indicator (ECI). A protocol-level field\nindicating what degree of authentication was performed.","nullable":true,"enum":["01","02","05","06","07"],"x-stripeBypassValidation":true},"result":{"type":"string","description":"Indicates the outcome of 3D Secure authentication.","nullable":true,"enum":["attempt_acknowledged","authenticated","exempted","failed","not_supported","processing_error"]},"result_reason":{"type":"string","description":"Additional information about why 3D Secure succeeded or failed based\non the `result`.","nullable":true,"enum":["abandoned","bypassed","canceled","card_not_enrolled","network_not_supported","protocol_error","rejected"]},"transaction_id":{"maxLength":5000,"type":"string","description":"The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID\n(dsTransId) for this payment.","nullable":true},"version":{"type":"string","description":"The version of 3D Secure that was used.","nullable":true,"enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["authentication_flow","electronic_commerce_indicator","result","result_reason","transaction_id","version"]},"three_d_secure_details_charge":{"title":"three_d_secure_details_charge","required":["authentication_flow","electronic_commerce_indicator","exemption_indicator","result","result_reason","transaction_id","version"],"type":"object","properties":{"authentication_flow":{"type":"string","description":"For authenticated transactions: how the customer was authenticated by\nthe issuing bank.","nullable":true,"enum":["challenge","frictionless"]},"electronic_commerce_indicator":{"type":"string","description":"The Electronic Commerce Indicator (ECI). A protocol-level field\nindicating what degree of authentication was performed.","nullable":true,"enum":["01","02","05","06","07"],"x-stripeBypassValidation":true},"exemption_indicator":{"type":"string","description":"The exemption requested via 3DS and accepted by the issuer at authentication time.","nullable":true,"enum":["low_risk","none"]},"exemption_indicator_applied":{"type":"boolean","description":"Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on\nthe outcome of Stripe's internal risk assessment."},"result":{"type":"string","description":"Indicates the outcome of 3D Secure authentication.","nullable":true,"enum":["attempt_acknowledged","authenticated","exempted","failed","not_supported","processing_error"]},"result_reason":{"type":"string","description":"Additional information about why 3D Secure succeeded or failed based\non the `result`.","nullable":true,"enum":["abandoned","bypassed","canceled","card_not_enrolled","network_not_supported","protocol_error","rejected"]},"transaction_id":{"maxLength":5000,"type":"string","description":"The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID\n(dsTransId) for this payment.","nullable":true},"version":{"type":"string","description":"The version of 3D Secure that was used.","nullable":true,"enum":["1.0.2","2.1.0","2.2.0","2.3.0","2.3.1"],"x-stripeBypassValidation":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["authentication_flow","electronic_commerce_indicator","exemption_indicator","exemption_indicator_applied","result","result_reason","transaction_id","version"]},"three_d_secure_usage":{"title":"three_d_secure_usage","required":["supported"],"type":"object","properties":{"supported":{"type":"boolean","description":"Whether 3D Secure is supported on this card."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["supported"]},"thresholds_resource_usage_alert_filter":{"title":"ThresholdsResourceUsageAlertFilter","required":["customer","type"],"type":"object","properties":{"customer":{"description":"Limit the scope of the alert to this customer ID","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/customer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/customer"}]}},"type":{"type":"string","enum":["customer"]}},"description":"","x-expandableFields":["customer"],"x-stripeMostCommon":["customer","type"]},"thresholds_resource_usage_threshold_config":{"title":"ThresholdsResourceUsageThresholdConfig","required":["filters","gte","meter","recurrence"],"type":"object","properties":{"filters":{"type":"array","description":"The filters allow limiting the scope of this usage alert. You can only specify up to one filter at this time.","nullable":true,"items":{"$ref":"#/components/schemas/thresholds_resource_usage_alert_filter"}},"gte":{"type":"integer","description":"The value at which this alert will trigger."},"meter":{"description":"The [Billing Meter](/api/billing/meter) ID whose usage is monitored.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/billing.meter"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/billing.meter"}]}},"recurrence":{"type":"string","description":"Defines how the alert will behave.","enum":["one_time"],"x-stripeBypassValidation":true}},"description":"The usage threshold alert configuration enables setting up alerts for when a certain usage threshold on a specific meter is crossed.","x-expandableFields":["filters","meter"],"x-stripeMostCommon":["filters","gte","meter","recurrence"]},"token":{"title":"Token","required":["client_ip","created","id","livemode","object","type","used"],"type":"object","properties":{"bank_account":{"$ref":"#/components/schemas/bank_account"},"card":{"$ref":"#/components/schemas/card"},"client_ip":{"maxLength":5000,"type":"string","description":"IP address of the client that generates the token.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["token"]},"type":{"maxLength":5000,"type":"string","description":"Type of the token: `account`, `bank_account`, `card`, or `pii`."},"used":{"type":"boolean","description":"Determines if you have already used this token (you can only use tokens once)."}},"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://docs.stripe.com/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://docs.stripe.com/api#customers)\nobjects or [External accounts](/api#external_accounts).\n[Radar](https://docs.stripe.com/radar), our integrated solution for automatic fraud protection,\nperforms best with integrations that use client-side tokenization.","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":{"title":"token_card_networks","required":["preferred"],"type":"object","properties":{"preferred":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["preferred"]},"topup":{"title":"Topup","required":["amount","balance_transaction","created","currency","description","expected_availability_date","failure_code","failure_message","id","livemode","metadata","object","source","statement_descriptor","status","transfer_group"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount transferred."},"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,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"maxLength":5000,"type":"string","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)."},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"expected_availability_date":{"type":"integer","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},"failure_code":{"maxLength":5000,"type":"string","description":"Error code explaining reason for top-up failure if available (see [the errors section](/api/errors) for a list of codes).","nullable":true},"failure_message":{"maxLength":5000,"type":"string","description":"Message to user further explaining reason for top-up failure if available.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["topup"]},"source":{"description":"The source field is deprecated. It might not always be present in the API response.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/source"}]},"statement_descriptor":{"maxLength":5000,"type":"string","description":"Extra information about a top-up. This will appear on your source's bank statement. It must contain at least one letter.","nullable":true},"status":{"type":"string","description":"The status of the top-up is either `canceled`, `failed`, `pending`, `reversed`, or `succeeded`.","enum":["canceled","failed","pending","reversed","succeeded"]},"transfer_group":{"maxLength":5000,"type":"string","description":"A string that identifies this top-up as part of a group.","nullable":true}},"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://docs.stripe.com/connect/top-ups)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/topup"}},"description":"Occurs whenever a top-up is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"topup.canceled"}},"topup.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/topup"}},"description":"Occurs whenever a top-up is created.","x-expandableFields":[],"x-stripeEvent":{"type":"topup.created"}},"topup.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/topup"}},"description":"Occurs whenever a top-up fails.","x-expandableFields":[],"x-stripeEvent":{"type":"topup.failed"}},"topup.reversed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/topup"}},"description":"Occurs whenever a top-up is reversed.","x-expandableFields":[],"x-stripeEvent":{"type":"topup.reversed"}},"topup.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/topup"}},"description":"Occurs whenever a top-up succeeds.","x-expandableFields":[],"x-stripeEvent":{"type":"topup.succeeded"}},"transfer":{"title":"Transfer","required":["amount","amount_reversed","balance_transaction","created","currency","description","destination","id","livemode","metadata","object","reversals","reversed","source_transaction","transfer_group"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount in cents (or local equivalent) to be transferred."},"amount_reversed":{"type":"integer","description":"Amount in cents (or local equivalent) reversed (can be less than the amount attribute on the transfer if a partial reversal was issued)."},"balance_transaction":{"description":"Balance transaction that describes the impact of this transfer on your account balance.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"created":{"type":"integer","description":"Time that this record of the transfer was first created.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"destination":{"description":"ID of the Stripe account the transfer was sent to.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}},"destination_payment":{"description":"If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["transfer"]},"reversals":{"title":"TransferReversalList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/transfer_reversal"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"type":"string","description":"The URL where this list can be accessed."}},"description":"A list of reversals that have been applied to the transfer.","x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"reversed":{"type":"boolean","description":"Whether the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false."},"source_transaction":{"description":"ID of the charge that was used to fund the transfer. If null, the transfer was funded from the available balance.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/charge"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/charge"}]}},"source_type":{"maxLength":5000,"type":"string","description":"The source balance this transfer came from. One of `card`, `fpx`, or `bank_account`."},"transfer_group":{"maxLength":5000,"type":"string","description":"A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.","nullable":true}},"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://api.stripe.com#payout_object) object, with corresponding payout endpoints. For more\ninformation, read about the\n[transfer/payout split](https://docs.stripe.com/transfer-payout-split).\n\nRelated guide: [Creating separate charges and transfers](https://docs.stripe.com/connect/separate-charges-and-transfers)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/transfer"}},"description":"Occurs whenever a transfer is created.","x-expandableFields":[],"x-stripeEvent":{"type":"transfer.created"}},"transfer.reversed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/transfer"}},"description":"Occurs whenever a transfer is reversed, including partial reversals.","x-expandableFields":[],"x-stripeEvent":{"type":"transfer.reversed"}},"transfer.updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/transfer"}},"description":"Occurs whenever a transfer's description or metadata is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"transfer.updated"}},"transfer_data":{"title":"transfer_data","required":["destination"],"type":"object","properties":{"amount":{"type":"integer","description":"The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.\n The amount must be less than or equal to the [amount](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer\n representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00)."},"destination":{"description":"The account (if any) that the payment is attributed to for tax reporting, and where funds from the payment are transferred to after payment success.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/account"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/account"}]}}},"description":"","x-expandableFields":["destination"],"x-stripeMostCommon":["amount","destination"]},"transfer_reversal":{"title":"TransferReversal","required":["amount","balance_transaction","created","currency","destination_payment_refund","id","metadata","object","source_refund","transfer"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount, in cents (or local equivalent)."},"balance_transaction":{"description":"Balance transaction that describes the impact on your account balance.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/balance_transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/balance_transaction"}]}},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"destination_payment_refund":{"description":"Linked payment refund for the transfer reversal.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/refund"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/refund"}]}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["transfer_reversal"]},"source_refund":{"description":"ID of the refund responsible for the transfer reversal.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/refund"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/refund"}]}},"transfer":{"description":"ID of the transfer that was reversed.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/transfer"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/transfer"}]}}},"description":"[Stripe Connect](https://docs.stripe.com/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://docs.stripe.com/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://docs.stripe.com/connect/separate-charges-and-transfers#reverse-transfers)","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":{"title":"TransferSchedule","required":["delay_days","interval"],"type":"object","properties":{"delay_days":{"type":"integer","description":"The number of days charges for the account will be held before being paid out."},"interval":{"maxLength":5000,"type":"string","description":"How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`."},"monthly_anchor":{"type":"integer","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."},"monthly_payout_days":{"type":"array","description":"The days 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.","items":{"type":"integer"}},"weekly_anchor":{"maxLength":5000,"type":"string","description":"The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly."},"weekly_payout_days":{"type":"array","description":"The days of the week when available funds are paid out, specified as an array, for example, [`monday`, `tuesday`]. Only shown if `interval` is weekly.","items":{"type":"string","enum":["friday","monday","thursday","tuesday","wednesday"],"x-stripeBypassValidation":true}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["delay_days","interval","monthly_anchor","monthly_payout_days","weekly_anchor","weekly_payout_days"]},"transform_quantity":{"title":"TransformQuantity","required":["divide_by","round"],"type":"object","properties":{"divide_by":{"type":"integer","description":"Divide usage by this number."},"round":{"type":"string","description":"After division, either round the result `up` or `down`.","enum":["down","up"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["divide_by","round"]},"transform_usage":{"title":"TransformUsage","required":["divide_by","round"],"type":"object","properties":{"divide_by":{"type":"integer","description":"Divide usage by this number."},"round":{"type":"string","description":"After division, either round the result `up` or `down`.","enum":["down","up"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["divide_by","round"]},"treasury.credit_reversal":{"title":"TreasuryReceivedCreditsResourceCreditReversal","required":["amount","created","currency","financial_account","hosted_regulatory_receipt_url","id","livemode","metadata","network","object","received_credit","status","status_transitions","transaction"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount to reverse funds from."},"hosted_regulatory_receipt_url":{"maxLength":5000,"type":"string","description":"A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"network":{"type":"string","description":"The rails used to reverse the funds.","enum":["ach","stripe"]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.credit_reversal"]},"received_credit":{"maxLength":5000,"type":"string","description":"The ReceivedCredit being reversed."},"status":{"type":"string","description":"Status of the CreditReversal","enum":["canceled","posted","processing"]},"status_transitions":{"$ref":"#/components/schemas/treasury_received_credits_resource_status_transitions"},"transaction":{"description":"The Transaction associated with this object.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.credit_reversal"}},"description":"Occurs whenever an CreditReversal is submitted and created.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.credit_reversal.created"}},"treasury.credit_reversal.posted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.credit_reversal"}},"description":"Occurs whenever an CreditReversal post is posted.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.credit_reversal.posted"}},"treasury.debit_reversal":{"title":"TreasuryReceivedDebitsResourceDebitReversal","required":["amount","created","currency","financial_account","hosted_regulatory_receipt_url","id","linked_flows","livemode","metadata","network","object","received_debit","status","status_transitions","transaction"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount to reverse funds from.","nullable":true},"hosted_regulatory_receipt_url":{"maxLength":5000,"type":"string","description":"A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"linked_flows":{"description":"Other flows linked to a DebitReversal.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_debits_resource_debit_reversal_linked_flows"}]},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"network":{"type":"string","description":"The rails used to reverse the funds.","enum":["ach","card"]},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.debit_reversal"]},"received_debit":{"maxLength":5000,"type":"string","description":"The ReceivedDebit being reversed."},"status":{"type":"string","description":"Status of the DebitReversal","enum":["failed","processing","succeeded"]},"status_transitions":{"$ref":"#/components/schemas/treasury_received_debits_resource_status_transitions"},"transaction":{"description":"The Transaction associated with this object.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"You can reverse some [ReceivedDebits](https://api.stripe.com#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.debit_reversal"}},"description":"Occurs whenever a DebitReversal is completed.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.debit_reversal.completed"}},"treasury.debit_reversal.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.debit_reversal"}},"description":"Occurs whenever a DebitReversal is created.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.debit_reversal.created"}},"treasury.debit_reversal.initial_credit_granted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.debit_reversal"}},"description":"Occurs whenever an initial credit is granted on a DebitReversal.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.debit_reversal.initial_credit_granted"}},"treasury.financial_account":{"title":"TreasuryFinancialAccountsResourceFinancialAccount","required":["balance","country","created","financial_addresses","id","livemode","metadata","object","status","status_details","supported_currencies"],"type":"object","properties":{"active_features":{"type":"array","description":"The array of paths to active Features in the Features hash.","items":{"type":"string","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"],"x-stripeBypassValidation":true}},"balance":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_balance"},"country":{"maxLength":5000,"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"features":{"$ref":"#/components/schemas/treasury.financial_account_features"},"financial_addresses":{"type":"array","description":"The set of credentials that resolve to a FinancialAccount.","items":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_financial_address"}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"is_default":{"type":"boolean"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/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},"nickname":{"maxLength":5000,"type":"string","description":"The nickname for the FinancialAccount.","nullable":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.financial_account"]},"pending_features":{"type":"array","description":"The array of paths to pending Features in the Features hash.","items":{"type":"string","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"],"x-stripeBypassValidation":true}},"platform_restrictions":{"description":"The set of functionalities that the platform can restrict on the FinancialAccount.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_financial_accounts_resource_platform_restrictions"}]},"restricted_features":{"type":"array","description":"The array of paths to restricted Features in the Features hash.","items":{"type":"string","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"],"x-stripeBypassValidation":true}},"status":{"type":"string","description":"Status of this FinancialAccount.","enum":["closed","open"],"x-stripeBypassValidation":true},"status_details":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_status_details"},"supported_currencies":{"type":"array","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"}}},"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.","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","is_default","livemode","metadata","nickname","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":"close","method_on":"service","method_type":"custom","operation":"post","path":"/v1/treasury/financial_accounts/{financial_account}/close"},{"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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.financial_account"}},"description":"Occurs whenever the status of the FinancialAccount becomes closed.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.financial_account.closed"}},"treasury.financial_account.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.financial_account"}},"description":"Occurs whenever a new FinancialAccount is created.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.financial_account.created"}},"treasury.financial_account.features_status_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.financial_account"}},"description":"Occurs whenever the statuses of any features within an existing FinancialAccount are updated.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.financial_account.features_status_updated"}},"treasury.financial_account_features":{"title":"TreasuryFinancialAccountsResourceFinancialAccountFeatures","required":["object"],"type":"object","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":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.financial_account_features"]},"outbound_payments":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_outbound_payments"},"outbound_transfers":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_outbound_transfers"}},"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.","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":{"title":"TreasuryInboundTransfersResourceInboundTransfer","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"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"cancelable":{"type":"boolean","description":"Returns `true` if the InboundTransfer is able to be canceled."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"failure_details":{"description":"Details about this InboundTransfer's failure. Only set when status is `failed`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_inbound_transfers_resource_failure_details"}]},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount that received the funds."},"hosted_regulatory_receipt_url":{"maxLength":5000,"type":"string","description":"A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"linked_flows":{"$ref":"#/components/schemas/treasury_inbound_transfers_resource_inbound_transfer_resource_linked_flows"},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.inbound_transfer"]},"origin_payment_method":{"maxLength":5000,"type":"string","description":"The origin payment method to be debited for an InboundTransfer.","nullable":true},"origin_payment_method_details":{"description":"Details about the PaymentMethod for an InboundTransfer.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/inbound_transfers"}]},"returned":{"type":"boolean","description":"Returns `true` if the funds for an InboundTransfer were returned after the InboundTransfer went to the `succeeded` state.","nullable":true},"statement_descriptor":{"maxLength":5000,"type":"string","description":"Statement descriptor shown when funds are debited from the source. Not all payment networks support `statement_descriptor`."},"status":{"type":"string","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"],"x-stripeBypassValidation":true},"status_transitions":{"$ref":"#/components/schemas/treasury_inbound_transfers_resource_inbound_transfer_resource_status_transitions"},"transaction":{"description":"The Transaction associated with this object.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://api.stripe.com#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)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.inbound_transfer"}},"description":"Occurs whenever an InboundTransfer is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.inbound_transfer.canceled"}},"treasury.inbound_transfer.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.inbound_transfer"}},"description":"Occurs whenever an InboundTransfer is created.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.inbound_transfer.created"}},"treasury.inbound_transfer.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.inbound_transfer"}},"description":"Occurs whenever an InboundTransfer has failed.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.inbound_transfer.failed"}},"treasury.inbound_transfer.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.inbound_transfer"}},"description":"Occurs whenever an InboundTransfer has succeeded.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.inbound_transfer.succeeded"}},"treasury.outbound_payment":{"title":"TreasuryOutboundPaymentsResourceOutboundPayment","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"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"cancelable":{"type":"boolean","description":"Returns `true` if the object can be canceled, and `false` otherwise."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"customer":{"maxLength":5000,"type":"string","description":"ID of the [customer](https://docs.stripe.com/api/customers) to whom an OutboundPayment is sent.","nullable":true},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"destination_payment_method":{"maxLength":5000,"type":"string","description":"The PaymentMethod via which an OutboundPayment is sent. This field can be empty if the OutboundPayment was created using `destination_payment_method_data`.","nullable":true},"destination_payment_method_details":{"description":"Details about the PaymentMethod for an OutboundPayment.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/outbound_payments_payment_method_details"}]},"end_user_details":{"description":"Details about the end user.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_outbound_payments_resource_outbound_payment_resource_end_user_details"}]},"expected_arrival_date":{"type":"integer","description":"The date when funds are expected to arrive in the destination account.","format":"unix-time"},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount that funds were pulled from."},"hosted_regulatory_receipt_url":{"maxLength":5000,"type":"string","description":"A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.outbound_payment"]},"returned_details":{"description":"Details about a returned OutboundPayment. Only set when the status is `returned`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_outbound_payments_resource_returned_status"}]},"statement_descriptor":{"maxLength":5000,"type":"string","description":"The description that appears on the receiving end for an OutboundPayment (for example, bank statement for external bank transfer)."},"status":{"type":"string","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"]},"status_transitions":{"$ref":"#/components/schemas/treasury_outbound_payments_resource_outbound_payment_resource_status_transitions"},"tracking_details":{"description":"Details about network-specific tracking information if available.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_outbound_payments_resource_outbound_payment_resource_tracking_details"}]},"transaction":{"description":"The Transaction associated with this object.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"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://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#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)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"description":"Occurs whenever an OutboundPayment is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_payment.canceled"}},"treasury.outbound_payment.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"description":"Occurs whenever a new OutboundPayment is successfully created.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_payment.created"}},"treasury.outbound_payment.expected_arrival_date_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"description":"Occurs whenever the arrival date on an OutboundPayment updates.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_payment.expected_arrival_date_updated"}},"treasury.outbound_payment.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"description":"Occurs whenever an OutboundPayment fails.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_payment.failed"}},"treasury.outbound_payment.posted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"description":"Occurs whenever an OutboundPayment posts.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_payment.posted"}},"treasury.outbound_payment.returned":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"description":"Occurs whenever an OutboundPayment was returned.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_payment.returned"}},"treasury.outbound_payment.tracking_details_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_payment"}},"description":"Occurs whenever tracking_details on an OutboundPayment is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_payment.tracking_details_updated"}},"treasury.outbound_transfer":{"title":"TreasuryOutboundTransfersResourceOutboundTransfer","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"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"cancelable":{"type":"boolean","description":"Returns `true` if the object can be canceled, and `false` otherwise."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users.","nullable":true},"destination_payment_method":{"maxLength":5000,"type":"string","description":"The PaymentMethod used as the payment instrument for an OutboundTransfer.","nullable":true},"destination_payment_method_details":{"$ref":"#/components/schemas/outbound_transfers_payment_method_details"},"expected_arrival_date":{"type":"integer","description":"The date when funds are expected to arrive in the destination account.","format":"unix-time"},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount that funds were pulled from."},"hosted_regulatory_receipt_url":{"maxLength":5000,"type":"string","description":"A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.outbound_transfer"]},"returned_details":{"description":"Details about a returned OutboundTransfer. Only set when the status is `returned`.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_outbound_transfers_resource_returned_details"}]},"statement_descriptor":{"maxLength":5000,"type":"string","description":"Information about the OutboundTransfer to be sent to the recipient account."},"status":{"type":"string","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"]},"status_transitions":{"$ref":"#/components/schemas/treasury_outbound_transfers_resource_status_transitions"},"tracking_details":{"description":"Details about network-specific tracking information if available.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_outbound_transfers_resource_outbound_transfer_resource_tracking_details"}]},"transaction":{"description":"The Transaction associated with this object.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#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)","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"description":"Occurs whenever an OutboundTransfer is canceled.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_transfer.canceled"}},"treasury.outbound_transfer.created":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"description":"Occurs whenever an OutboundTransfer is created.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_transfer.created"}},"treasury.outbound_transfer.expected_arrival_date_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"description":"Occurs whenever the arrival date on an OutboundTransfer updates.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_transfer.expected_arrival_date_updated"}},"treasury.outbound_transfer.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"description":"Occurs whenever an OutboundTransfer has failed.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_transfer.failed"}},"treasury.outbound_transfer.posted":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"description":"Occurs whenever an OutboundTransfer is posted.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_transfer.posted"}},"treasury.outbound_transfer.returned":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"description":"Occurs whenever an OutboundTransfer is returned.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_transfer.returned"}},"treasury.outbound_transfer.tracking_details_updated":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.outbound_transfer"}},"description":"Occurs whenever tracking_details on an OutboundTransfer is updated.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.outbound_transfer.tracking_details_updated"}},"treasury.received_credit":{"title":"TreasuryReceivedCreditsResourceReceivedCredit","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"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"failure_code":{"type":"string","description":"Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen.","nullable":true,"enum":["account_closed","account_frozen","international_transaction","other"],"x-stripeBypassValidation":true},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount that received the funds.","nullable":true},"hosted_regulatory_receipt_url":{"maxLength":5000,"type":"string","description":"A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"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":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"network":{"type":"string","description":"The rails used to send the funds.","enum":["ach","card","stripe","us_domestic_wire"],"x-stripeBypassValidation":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.received_credit"]},"reversal_details":{"description":"Details describing when a ReceivedCredit may be reversed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_credits_resource_reversal_details"}]},"status":{"type":"string","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"],"x-stripeBypassValidation":true},"transaction":{"description":"The Transaction associated with this object.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"ReceivedCredits represent funds sent to a [FinancialAccount](https://api.stripe.com#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.received_credit"}},"description":"Occurs whenever a received_credit is created as a result of funds being pushed by another account.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.received_credit.created"}},"treasury.received_credit.failed":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.received_credit"}},"description":"Occurs whenever a received_credit transitions to failed state. Only applicable for check deposits.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.received_credit.failed"}},"treasury.received_credit.succeeded":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.received_credit"}},"description":"Occurs whenever a received_credit transitions to succeeded state. Only applicable for check deposits.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.received_credit.succeeded"}},"treasury.received_debit":{"title":"TreasuryReceivedDebitsResourceReceivedDebit","required":["amount","created","currency","description","failure_code","financial_account","hosted_regulatory_receipt_url","id","linked_flows","livemode","network","object","reversal_details","status","transaction"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"failure_code":{"type":"string","description":"Reason for the failure. A ReceivedDebit might fail because the FinancialAccount doesn't have sufficient funds, is closed, or is frozen.","nullable":true,"enum":["account_closed","account_frozen","insufficient_funds","international_transaction","other"]},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount that funds were pulled from.","nullable":true},"hosted_regulatory_receipt_url":{"maxLength":5000,"type":"string","description":"A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.","nullable":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"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":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"network":{"type":"string","description":"The network used for the ReceivedDebit.","enum":["ach","card","stripe"],"x-stripeBypassValidation":true},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.received_debit"]},"reversal_details":{"description":"Details describing when a ReceivedDebit might be reversed.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_debits_resource_reversal_details"}]},"status":{"type":"string","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"],"x-stripeBypassValidation":true},"transaction":{"description":"The Transaction associated with this object.","nullable":true,"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"ReceivedDebits represent funds pulled from a [FinancialAccount](https://api.stripe.com#financial_accounts). These are not initiated from the FinancialAccount.","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":{"required":["object"],"type":"object","properties":{"object":{"$ref":"#/components/schemas/treasury.received_debit"}},"description":"Occurs whenever a received_debit is created as a result of funds being pulled by another account.","x-expandableFields":[],"x-stripeEvent":{"type":"treasury.received_debit.created"}},"treasury.transaction":{"title":"TreasuryTransactionsResourceTransaction","required":["amount","balance_impact","created","currency","description","financial_account","flow","flow_type","id","livemode","object","status","status_transitions"],"type":"object","properties":{"amount":{"type":"integer","description":"Amount (in cents) transferred."},"balance_impact":{"$ref":"#/components/schemas/treasury_transactions_resource_balance_impact"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"description":{"maxLength":5000,"type":"string","description":"An arbitrary string attached to the object. Often useful for displaying to users."},"entries":{"title":"TreasuryTransactionsResourceTransactionEntryList","required":["data","has_more","object","url"],"type":"object","properties":{"data":{"type":"array","description":"Details about each object.","items":{"$ref":"#/components/schemas/treasury.transaction_entry"}},"has_more":{"type":"boolean","description":"True if this list has another page of items after this one that can be fetched."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value. Always has the value `list`.","enum":["list"]},"url":{"maxLength":5000,"pattern":"^/v1/treasury/transaction_entries","type":"string","description":"The URL where this list can be accessed."}},"description":"A list of TransactionEntries that are part of this Transaction. This cannot be expanded in any list endpoints.","nullable":true,"x-expandableFields":["data"],"x-stripeMostCommon":["data","has_more","object","url"]},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount associated with this object."},"flow":{"maxLength":5000,"type":"string","description":"ID of the flow that created the Transaction.","nullable":true},"flow_details":{"description":"Details of the flow that created the Transaction.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_transactions_resource_flow_details"}]},"flow_type":{"type":"string","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"],"x-stripeBypassValidation":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.transaction"]},"status":{"type":"string","description":"Status of the Transaction.","enum":["open","posted","void"]},"status_transitions":{"$ref":"#/components/schemas/treasury_transactions_resource_abstract_transaction_resource_status_transitions"}},"description":"Transactions represent changes to a [FinancialAccount's](https://api.stripe.com#financial_accounts) balance.","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":{"title":"TreasuryTransactionsResourceTransactionEntry","required":["balance_impact","created","currency","effective_at","financial_account","flow","flow_type","id","livemode","object","transaction","type"],"type":"object","properties":{"balance_impact":{"$ref":"#/components/schemas/treasury_transactions_resource_balance_impact"},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"currency":{"type":"string","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).","format":"currency"},"effective_at":{"type":"integer","description":"When the TransactionEntry will impact the FinancialAccount's balance.","format":"unix-time"},"financial_account":{"maxLength":5000,"type":"string","description":"The FinancialAccount associated with this object."},"flow":{"maxLength":5000,"type":"string","description":"Token of the flow associated with the TransactionEntry.","nullable":true},"flow_details":{"description":"Details of the flow associated with the TransactionEntry.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_transactions_resource_flow_details"}]},"flow_type":{"type":"string","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"],"x-stripeBypassValidation":true},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["treasury.transaction_entry"]},"transaction":{"description":"The Transaction associated with this object.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}},"type":{"type":"string","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"]}},"description":"TransactionEntries represent individual units of money movements within a single [Transaction](https://api.stripe.com#transactions).","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":{"title":"TreasuryFinancialAccountsResourceABARecord","required":["account_holder_name","account_number_last4","bank_name","routing_number"],"type":"object","properties":{"account_holder_name":{"maxLength":5000,"type":"string","description":"The name of the person or business that owns the bank account."},"account_number":{"maxLength":5000,"type":"string","description":"The account number.","nullable":true},"account_number_last4":{"maxLength":5000,"type":"string","description":"The last four characters of the account number."},"bank_name":{"maxLength":5000,"type":"string","description":"Name of the bank."},"routing_number":{"maxLength":5000,"type":"string","description":"Routing number for the account."}},"description":"ABA Records contain U.S. bank account details per the ABA format.","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":{"title":"TreasuryFinancialAccountsResourceAbaToggleSettings","required":["requested","status","status_details"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."},"status":{"type":"string","description":"Whether the Feature is operational.","enum":["active","pending","restricted"]},"status_details":{"type":"array","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"}}},"description":"Toggle settings for enabling/disabling the ABA address feature","x-expandableFields":["status_details"],"x-stripeMostCommon":["requested","status","status_details"],"x-stripeResource":{"class_name":"AbaToggleSettings","in_package":""}},"treasury_financial_accounts_resource_balance":{"title":"TreasuryFinancialAccountsResourceBalance","required":["cash","inbound_pending","outbound_pending"],"type":"object","properties":{"cash":{"type":"object","additionalProperties":{"type":"integer"},"description":"Funds the user can spend right now."},"inbound_pending":{"type":"object","additionalProperties":{"type":"integer"},"description":"Funds not spendable yet, but will become available at a later time."},"outbound_pending":{"type":"object","additionalProperties":{"type":"integer"},"description":"Funds in the account, but not spendable because they are being held for pending outbound flows."}},"description":"Balance information for the FinancialAccount","x-expandableFields":[],"x-stripeMostCommon":["cash","inbound_pending","outbound_pending"],"x-stripeResource":{"class_name":"Balance","in_package":""}},"treasury_financial_accounts_resource_closed_status_details":{"title":"TreasuryFinancialAccountsResourceClosedStatusDetails","required":["reasons"],"type":"object","properties":{"reasons":{"type":"array","description":"The array that contains reasons for a FinancialAccount closure.","items":{"type":"string","enum":["account_rejected","closed_by_platform","other"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["reasons"],"x-stripeResource":{"class_name":"Closed","in_package":""}},"treasury_financial_accounts_resource_financial_address":{"title":"TreasuryFinancialAccountsResourceFinancialAddress","required":["type"],"type":"object","properties":{"aba":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_aba_record"},"supported_networks":{"type":"array","description":"The list of networks that the address supports","items":{"type":"string","enum":["ach","us_domestic_wire"],"x-stripeBypassValidation":true}},"type":{"type":"string","description":"The type of financial address","enum":["aba"],"x-stripeBypassValidation":true}},"description":"FinancialAddresses contain identifying information that resolves to a FinancialAccount.","x-expandableFields":["aba"],"x-stripeMostCommon":["aba","supported_networks","type"]},"treasury_financial_accounts_resource_financial_addresses_features":{"title":"TreasuryFinancialAccountsResourceFinancialAddressesFeatures","type":"object","properties":{"aba":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_aba_toggle_settings"}},"description":"Settings related to Financial Addresses features on a Financial Account","x-expandableFields":["aba"],"x-stripeMostCommon":["aba"],"x-stripeResource":{"class_name":"FinancialAddresses","in_package":""}},"treasury_financial_accounts_resource_inbound_ach_toggle_settings":{"title":"TreasuryFinancialAccountsResourceInboundAchToggleSettings","required":["requested","status","status_details"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."},"status":{"type":"string","description":"Whether the Feature is operational.","enum":["active","pending","restricted"]},"status_details":{"type":"array","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"}}},"description":"Toggle settings for enabling/disabling an inbound ACH specific feature","x-expandableFields":["status_details"],"x-stripeMostCommon":["requested","status","status_details"],"x-stripeResource":{"class_name":"InboundAchToggleSettings","in_package":""}},"treasury_financial_accounts_resource_inbound_transfers":{"title":"TreasuryFinancialAccountsResourceInboundTransfers","type":"object","properties":{"ach":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_inbound_ach_toggle_settings"}},"description":"InboundTransfers contains inbound transfers features for a FinancialAccount.","x-expandableFields":["ach"],"x-stripeMostCommon":["ach"],"x-stripeResource":{"class_name":"InboundTransfers","in_package":""}},"treasury_financial_accounts_resource_outbound_ach_toggle_settings":{"title":"TreasuryFinancialAccountsResourceOutboundAchToggleSettings","required":["requested","status","status_details"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."},"status":{"type":"string","description":"Whether the Feature is operational.","enum":["active","pending","restricted"]},"status_details":{"type":"array","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"}}},"description":"Toggle settings for enabling/disabling an outbound ACH specific feature","x-expandableFields":["status_details"],"x-stripeMostCommon":["requested","status","status_details"],"x-stripeResource":{"class_name":"OutboundAchToggleSettings","in_package":""}},"treasury_financial_accounts_resource_outbound_payments":{"title":"TreasuryFinancialAccountsResourceOutboundPayments","type":"object","properties":{"ach":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_outbound_ach_toggle_settings"},"us_domestic_wire":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_toggle_settings"}},"description":"Settings related to Outbound Payments features on a Financial Account","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":{"title":"TreasuryFinancialAccountsResourceOutboundTransfers","type":"object","properties":{"ach":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_outbound_ach_toggle_settings"},"us_domestic_wire":{"$ref":"#/components/schemas/treasury_financial_accounts_resource_toggle_settings"}},"description":"OutboundTransfers contains outbound transfers features for a FinancialAccount.","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":{"title":"TreasuryFinancialAccountsResourcePlatformRestrictions","required":["inbound_flows","outbound_flows"],"type":"object","properties":{"inbound_flows":{"type":"string","description":"Restricts all inbound money movement.","nullable":true,"enum":["restricted","unrestricted"]},"outbound_flows":{"type":"string","description":"Restricts all outbound money movement.","nullable":true,"enum":["restricted","unrestricted"]}},"description":"Restrictions that a Connect Platform has placed on this FinancialAccount.","x-expandableFields":[],"x-stripeMostCommon":["inbound_flows","outbound_flows"],"x-stripeResource":{"class_name":"PlatformRestriction","in_package":""}},"treasury_financial_accounts_resource_status_details":{"title":"TreasuryFinancialAccountsResourceStatusDetails","required":["closed"],"type":"object","properties":{"closed":{"description":"Details related to the closure of this FinancialAccount","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_financial_accounts_resource_closed_status_details"}]}},"description":"","x-expandableFields":["closed"],"x-stripeMostCommon":["closed"],"x-stripeResource":{"class_name":"StatusDetails","in_package":""}},"treasury_financial_accounts_resource_toggle_settings":{"title":"TreasuryFinancialAccountsResourceToggleSettings","required":["requested","status","status_details"],"type":"object","properties":{"requested":{"type":"boolean","description":"Whether the FinancialAccount should have the Feature."},"status":{"type":"string","description":"Whether the Feature is operational.","enum":["active","pending","restricted"]},"status_details":{"type":"array","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"}}},"description":"Toggle settings for enabling/disabling a feature","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":{"title":"TreasuryFinancialAccountsResourceTogglesSettingStatusDetails","required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","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"],"x-stripeBypassValidation":true},"resolution":{"type":"string","description":"Represents what the user should do, if anything, to activate the Feature.","nullable":true,"enum":["contact_stripe","provide_information","remove_restriction"],"x-stripeBypassValidation":true},"restriction":{"type":"string","description":"The `platform_restrictions` that are restricting this Feature.","enum":["inbound_flows","outbound_flows"],"x-stripeBypassValidation":true}},"description":"Additional details on the FinancialAccount Features information.","x-expandableFields":[],"x-stripeMostCommon":["code","resolution","restriction"],"x-stripeResource":{"class_name":"StatusDetails","in_package":""}},"treasury_inbound_transfers_resource_failure_details":{"title":"TreasuryInboundTransfersResourceFailureDetails","required":["code"],"type":"object","properties":{"code":{"type":"string","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"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["code"]},"treasury_inbound_transfers_resource_inbound_transfer_resource_linked_flows":{"title":"TreasuryInboundTransfersResourceInboundTransferResourceLinkedFlows","required":["received_debit"],"type":"object","properties":{"received_debit":{"maxLength":5000,"type":"string","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.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["received_debit"]},"treasury_inbound_transfers_resource_inbound_transfer_resource_status_transitions":{"title":"TreasuryInboundTransfersResourceInboundTransferResourceStatusTransitions","required":["failed_at","succeeded_at"],"type":"object","properties":{"canceled_at":{"type":"integer","description":"Timestamp describing when an InboundTransfer changed status to `canceled`.","format":"unix-time","nullable":true},"failed_at":{"type":"integer","description":"Timestamp describing when an InboundTransfer changed status to `failed`.","format":"unix-time","nullable":true},"succeeded_at":{"type":"integer","description":"Timestamp describing when an InboundTransfer changed status to `succeeded`.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["canceled_at","failed_at","succeeded_at"],"x-stripeResource":{"class_name":"StatusTransitions","in_package":""}},"treasury_outbound_payments_resource_ach_tracking_details":{"title":"TreasuryOutboundPaymentsResourceACHTrackingDetails","required":["trace_id"],"type":"object","properties":{"trace_id":{"maxLength":5000,"type":"string","description":"ACH trace ID of the OutboundPayment for payments sent over the `ach` network."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["trace_id"]},"treasury_outbound_payments_resource_outbound_payment_resource_end_user_details":{"title":"TreasuryOutboundPaymentsResourceOutboundPaymentResourceEndUserDetails","required":["ip_address","present"],"type":"object","properties":{"ip_address":{"maxLength":5000,"type":"string","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.","nullable":true},"present":{"type":"boolean","description":"`true` if the OutboundPayment creation request is being made on behalf of an end user by a platform. Otherwise, `false`."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["ip_address","present"]},"treasury_outbound_payments_resource_outbound_payment_resource_status_transitions":{"title":"TreasuryOutboundPaymentsResourceOutboundPaymentResourceStatusTransitions","required":["canceled_at","failed_at","posted_at","returned_at"],"type":"object","properties":{"canceled_at":{"type":"integer","description":"Timestamp describing when an OutboundPayment changed status to `canceled`.","format":"unix-time","nullable":true},"failed_at":{"type":"integer","description":"Timestamp describing when an OutboundPayment changed status to `failed`.","format":"unix-time","nullable":true},"posted_at":{"type":"integer","description":"Timestamp describing when an OutboundPayment changed status to `posted`.","format":"unix-time","nullable":true},"returned_at":{"type":"integer","description":"Timestamp describing when an OutboundPayment changed status to `returned`.","format":"unix-time","nullable":true}},"description":"","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":{"title":"TreasuryOutboundPaymentsResourceOutboundPaymentResourceTrackingDetails","required":["type"],"type":"object","properties":{"ach":{"$ref":"#/components/schemas/treasury_outbound_payments_resource_ach_tracking_details"},"type":{"type":"string","description":"The US bank account network used to send funds.","enum":["ach","us_domestic_wire"]},"us_domestic_wire":{"$ref":"#/components/schemas/treasury_outbound_payments_resource_us_domestic_wire_tracking_details"}},"description":"","x-expandableFields":["ach","us_domestic_wire"],"x-stripeMostCommon":["ach","type","us_domestic_wire"]},"treasury_outbound_payments_resource_returned_status":{"title":"TreasuryOutboundPaymentsResourceReturnedStatus","required":["code","transaction"],"type":"object","properties":{"code":{"type":"string","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"]},"transaction":{"description":"The Transaction associated with this object.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"","x-expandableFields":["transaction"],"x-stripeMostCommon":["code","transaction"]},"treasury_outbound_payments_resource_us_domestic_wire_tracking_details":{"title":"TreasuryOutboundPaymentsResourceUSDomesticWireTrackingDetails","required":["chips","imad","omad"],"type":"object","properties":{"chips":{"maxLength":5000,"type":"string","description":"CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network.","nullable":true},"imad":{"maxLength":5000,"type":"string","description":"IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network.","nullable":true},"omad":{"maxLength":5000,"type":"string","description":"OMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["chips","imad","omad"]},"treasury_outbound_transfers_resource_ach_tracking_details":{"title":"TreasuryOutboundTransfersResourceACHTrackingDetails","required":["trace_id"],"type":"object","properties":{"trace_id":{"maxLength":5000,"type":"string","description":"ACH trace ID of the OutboundTransfer for transfers sent over the `ach` network."}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["trace_id"]},"treasury_outbound_transfers_resource_outbound_transfer_resource_tracking_details":{"title":"TreasuryOutboundTransfersResourceOutboundTransferResourceTrackingDetails","required":["type"],"type":"object","properties":{"ach":{"$ref":"#/components/schemas/treasury_outbound_transfers_resource_ach_tracking_details"},"type":{"type":"string","description":"The US bank account network used to send funds.","enum":["ach","us_domestic_wire"]},"us_domestic_wire":{"$ref":"#/components/schemas/treasury_outbound_transfers_resource_us_domestic_wire_tracking_details"}},"description":"","x-expandableFields":["ach","us_domestic_wire"],"x-stripeMostCommon":["ach","type","us_domestic_wire"]},"treasury_outbound_transfers_resource_returned_details":{"title":"TreasuryOutboundTransfersResourceReturnedDetails","required":["code","transaction"],"type":"object","properties":{"code":{"type":"string","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"]},"transaction":{"description":"The Transaction associated with this object.","anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/treasury.transaction"}],"x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/treasury.transaction"}]}}},"description":"","x-expandableFields":["transaction"],"x-stripeMostCommon":["code","transaction"],"x-stripeResource":{"class_name":"ReturnedDetails","in_package":""}},"treasury_outbound_transfers_resource_status_transitions":{"title":"TreasuryOutboundTransfersResourceStatusTransitions","required":["canceled_at","failed_at","posted_at","returned_at"],"type":"object","properties":{"canceled_at":{"type":"integer","description":"Timestamp describing when an OutboundTransfer changed status to `canceled`","format":"unix-time","nullable":true},"failed_at":{"type":"integer","description":"Timestamp describing when an OutboundTransfer changed status to `failed`","format":"unix-time","nullable":true},"posted_at":{"type":"integer","description":"Timestamp describing when an OutboundTransfer changed status to `posted`","format":"unix-time","nullable":true},"returned_at":{"type":"integer","description":"Timestamp describing when an OutboundTransfer changed status to `returned`","format":"unix-time","nullable":true}},"description":"","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":{"title":"TreasuryOutboundTransfersResourceUSDomesticWireTrackingDetails","required":["chips","imad","omad"],"type":"object","properties":{"chips":{"maxLength":5000,"type":"string","description":"CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.","nullable":true},"imad":{"maxLength":5000,"type":"string","description":"IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.","nullable":true},"omad":{"maxLength":5000,"type":"string","description":"OMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["chips","imad","omad"]},"treasury_received_credits_resource_linked_flows":{"title":"TreasuryReceivedCreditsResourceLinkedFlows","required":["credit_reversal","issuing_authorization","issuing_transaction","source_flow","source_flow_type"],"type":"object","properties":{"credit_reversal":{"maxLength":5000,"type":"string","description":"The CreditReversal created as a result of this ReceivedCredit being reversed.","nullable":true},"issuing_authorization":{"maxLength":5000,"type":"string","description":"Set if the ReceivedCredit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object.","nullable":true},"issuing_transaction":{"maxLength":5000,"type":"string","description":"Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://api.stripe.com#issuing_transactions) object.","nullable":true},"source_flow":{"maxLength":5000,"type":"string","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.","nullable":true},"source_flow_details":{"description":"The expandable object of the source flow.","nullable":true,"anyOf":[{"$ref":"#/components/schemas/treasury_received_credits_resource_source_flows_details"}]},"source_flow_type":{"maxLength":5000,"type":"string","description":"The type of flow that originated the ReceivedCredit (for example, `outbound_payment`).","nullable":true}},"description":"","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":{"title":"TreasuryReceivedCreditsResourceReversalDetails","required":["deadline","restricted_reason"],"type":"object","properties":{"deadline":{"type":"integer","description":"Time before which a ReceivedCredit can be reversed.","format":"unix-time","nullable":true},"restricted_reason":{"type":"string","description":"Set if a ReceivedCredit cannot be reversed.","nullable":true,"enum":["already_reversed","deadline_passed","network_restricted","other","source_flow_restricted"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["deadline","restricted_reason"]},"treasury_received_credits_resource_source_flows_details":{"title":"TreasuryReceivedCreditsResourceSourceFlowsDetails","required":["type"],"type":"object","properties":{"credit_reversal":{"$ref":"#/components/schemas/treasury.credit_reversal"},"outbound_payment":{"$ref":"#/components/schemas/treasury.outbound_payment"},"outbound_transfer":{"$ref":"#/components/schemas/treasury.outbound_transfer"},"payout":{"$ref":"#/components/schemas/payout"},"type":{"type":"string","description":"The type of the source flow that originated the ReceivedCredit.","enum":["credit_reversal","other","outbound_payment","outbound_transfer","payout"]}},"description":"","x-expandableFields":["credit_reversal","outbound_payment","outbound_transfer","payout"],"x-stripeMostCommon":["credit_reversal","outbound_payment","outbound_transfer","payout","type"]},"treasury_received_credits_resource_status_transitions":{"title":"TreasuryReceivedCreditsResourceStatusTransitions","required":["posted_at"],"type":"object","properties":{"posted_at":{"type":"integer","description":"Timestamp describing when the CreditReversal changed status to `posted`","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["posted_at"]},"treasury_received_debits_resource_debit_reversal_linked_flows":{"title":"TreasuryReceivedDebitsResourceDebitReversalLinkedFlows","required":["issuing_dispute"],"type":"object","properties":{"issuing_dispute":{"maxLength":5000,"type":"string","description":"Set if there is an Issuing dispute associated with the DebitReversal.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["issuing_dispute"]},"treasury_received_debits_resource_linked_flows":{"title":"TreasuryReceivedDebitsResourceLinkedFlows","required":["debit_reversal","inbound_transfer","issuing_authorization","issuing_transaction","payout","topup"],"type":"object","properties":{"debit_reversal":{"maxLength":5000,"type":"string","description":"The DebitReversal created as a result of this ReceivedDebit being reversed.","nullable":true},"inbound_transfer":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit is associated with an InboundTransfer's return of funds.","nullable":true},"issuing_authorization":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object.","nullable":true},"issuing_transaction":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://api.stripe.com#issuing_disputes) object.","nullable":true},"payout":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object.","nullable":true},"topup":{"maxLength":5000,"type":"string","description":"Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["debit_reversal","inbound_transfer","issuing_authorization","issuing_transaction","payout","topup"]},"treasury_received_debits_resource_reversal_details":{"title":"TreasuryReceivedDebitsResourceReversalDetails","required":["deadline","restricted_reason"],"type":"object","properties":{"deadline":{"type":"integer","description":"Time before which a ReceivedDebit can be reversed.","format":"unix-time","nullable":true},"restricted_reason":{"type":"string","description":"Set if a ReceivedDebit can't be reversed.","nullable":true,"enum":["already_reversed","deadline_passed","network_restricted","other","source_flow_restricted"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["deadline","restricted_reason"]},"treasury_received_debits_resource_status_transitions":{"title":"TreasuryReceivedDebitsResourceStatusTransitions","required":["completed_at"],"type":"object","properties":{"completed_at":{"type":"integer","description":"Timestamp describing when the DebitReversal changed status to `completed`.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["completed_at"]},"treasury_shared_resource_billing_details":{"title":"TreasurySharedResourceBillingDetails","required":["address","email","name"],"type":"object","properties":{"address":{"$ref":"#/components/schemas/address"},"email":{"maxLength":5000,"type":"string","description":"Email address.","nullable":true},"name":{"maxLength":5000,"type":"string","description":"Full name.","nullable":true}},"description":"","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":{"title":"TreasurySharedResourceInitiatingPaymentMethodDetailsInitiatingPaymentMethodDetails","required":["billing_details","type"],"type":"object","properties":{"balance":{"type":"string","description":"Set when `type` is `balance`.","enum":["payments"]},"billing_details":{"$ref":"#/components/schemas/treasury_shared_resource_billing_details"},"financial_account":{"$ref":"#/components/schemas/received_payment_method_details_financial_account"},"issuing_card":{"maxLength":5000,"type":"string","description":"Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID."},"type":{"type":"string","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"],"x-stripeBypassValidation":true},"us_bank_account":{"$ref":"#/components/schemas/treasury_shared_resource_initiating_payment_method_details_us_bank_account"}},"description":"","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":{"title":"TreasurySharedResourceInitiatingPaymentMethodDetailsUSBankAccount","required":["bank_name","last4","routing_number"],"type":"object","properties":{"bank_name":{"maxLength":5000,"type":"string","description":"Bank name.","nullable":true},"last4":{"maxLength":5000,"type":"string","description":"The last four digits of the bank account number.","nullable":true},"routing_number":{"maxLength":5000,"type":"string","description":"The routing number for the bank account.","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["bank_name","last4","routing_number"],"x-stripeResource":{"class_name":"UsBankAccount","in_package":""}},"treasury_transactions_resource_abstract_transaction_resource_status_transitions":{"title":"TreasuryTransactionsResourceAbstractTransactionResourceStatusTransitions","required":["posted_at","void_at"],"type":"object","properties":{"posted_at":{"type":"integer","description":"Timestamp describing when the Transaction changed status to `posted`.","format":"unix-time","nullable":true},"void_at":{"type":"integer","description":"Timestamp describing when the Transaction changed status to `void`.","format":"unix-time","nullable":true}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["posted_at","void_at"]},"treasury_transactions_resource_balance_impact":{"title":"TreasuryTransactionsResourceBalanceImpact","required":["cash","inbound_pending","outbound_pending"],"type":"object","properties":{"cash":{"type":"integer","description":"The change made to funds the user can spend right now."},"inbound_pending":{"type":"integer","description":"The change made to funds that are not spendable yet, but will become available at a later time."},"outbound_pending":{"type":"integer","description":"The change made to funds in the account, but not spendable because they are being held for pending outbound flows."}},"description":"Change to a FinancialAccount's balance","x-expandableFields":[],"x-stripeMostCommon":["cash","inbound_pending","outbound_pending"]},"treasury_transactions_resource_flow_details":{"title":"TreasuryTransactionsResourceFlowDetails","required":["type"],"type":"object","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":{"type":"string","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"],"x-stripeBypassValidation":true}},"description":"","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":{"title":"us_bank_account_networks","required":["preferred","supported"],"type":"object","properties":{"preferred":{"maxLength":5000,"type":"string","description":"The preferred network.","nullable":true},"supported":{"type":"array","description":"All supported networks.","items":{"type":"string","enum":["ach","us_domestic_wire"]}}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["preferred","supported"]},"v1.billing.meter.error_report_triggered":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"type":"object","description":"Always `null` because this event type doesn't track related object changes.","nullable":true},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["developer_message_summary","reason","validation_end","validation_start"],"type":"object","properties":{"developer_message_summary":{"type":"string","description":"Extra field included in the event's `data` when fetched from /v2/events."},"reason":{"required":["error_count","error_types"],"type":"object","properties":{"error_count":{"type":"integer","description":"The total error count within this window."},"error_types":{"type":"array","description":"The error details.","items":{"required":["code","error_count","sample_errors"],"type":"object","properties":{"code":{"type":"string","description":"Open Enum.","enum":["archived_meter","meter_event_customer_not_found","meter_event_dimension_count_too_high","meter_event_invalid_value","meter_event_no_customer_defined","missing_dimension_payload_keys","no_meter","timestamp_in_future","timestamp_too_far_in_past"],"x-stripeEnum":[{"description":"Enum value: archived_meter.","value":"archived_meter"},{"description":"Enum value: meter_event_customer_not_found.","value":"meter_event_customer_not_found"},{"description":"Enum value: meter_event_dimension_count_too_high.","value":"meter_event_dimension_count_too_high"},{"description":"Enum value: meter_event_invalid_value.","value":"meter_event_invalid_value"},{"description":"Enum value: meter_event_no_customer_defined.","value":"meter_event_no_customer_defined"},{"description":"Enum value: missing_dimension_payload_keys.","value":"missing_dimension_payload_keys"},{"description":"Enum value: no_meter.","value":"no_meter"},{"description":"Enum value: timestamp_in_future.","value":"timestamp_in_future"},{"description":"Enum value: timestamp_too_far_in_past.","value":"timestamp_too_far_in_past"}]},"error_count":{"type":"integer","description":"The number of errors of this type."},"sample_errors":{"type":"array","description":"A list of sample errors of this type.","items":{"required":["error_message","request"],"type":"object","properties":{"error_message":{"type":"string","description":"The error message."},"request":{"required":["identifier"],"type":"object","properties":{"identifier":{"type":"string","description":"The request idempotency key."}},"description":"The request causes the error."}}}}}}}},"description":"This contains information about why meter error happens."},"validation_end":{"type":"string","description":"The end of the window that is encapsulated by this summary.","format":"date-time"},"validation_start":{"type":"string","description":"The start of the window that is encapsulated by this summary.","format":"date-time"}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["billing.meter"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.meter.error_report_triggered"]}},"description":"Occurs when a Meter has invalid async usage events.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"developer_message_summary":"4242","reason":{"error_count":4242,"error_types":[{"code":"archived_meter","error_count":4242,"sample_errors":[{"error_message":"4242","request":{"identifier":"4242"}}]}]},"validation_end":"2025-01-01T00:00:00.000Z","validation_start":"2025-01-01T00:00:00.000Z"}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.meter.error_report_triggered"}},"v1.billing.meter.no_meter_found":{"required":["changes","created","data","id","livemode","object","type"],"type":"object","properties":{"changes":{"type":"object","description":"Always `null` because this event type doesn't track related object changes.","nullable":true},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["developer_message_summary","reason","validation_end","validation_start"],"type":"object","properties":{"developer_message_summary":{"type":"string","description":"Extra field included in the event's `data` when fetched from /v2/events."},"reason":{"required":["error_count","error_types"],"type":"object","properties":{"error_count":{"type":"integer","description":"The total error count within this window."},"error_types":{"type":"array","description":"The error details.","items":{"required":["code","error_count","sample_errors"],"type":"object","properties":{"code":{"type":"string","description":"Open Enum.","enum":["archived_meter","meter_event_customer_not_found","meter_event_dimension_count_too_high","meter_event_invalid_value","meter_event_no_customer_defined","missing_dimension_payload_keys","no_meter","timestamp_in_future","timestamp_too_far_in_past"],"x-stripeEnum":[{"description":"Enum value: archived_meter.","value":"archived_meter"},{"description":"Enum value: meter_event_customer_not_found.","value":"meter_event_customer_not_found"},{"description":"Enum value: meter_event_dimension_count_too_high.","value":"meter_event_dimension_count_too_high"},{"description":"Enum value: meter_event_invalid_value.","value":"meter_event_invalid_value"},{"description":"Enum value: meter_event_no_customer_defined.","value":"meter_event_no_customer_defined"},{"description":"Enum value: missing_dimension_payload_keys.","value":"missing_dimension_payload_keys"},{"description":"Enum value: no_meter.","value":"no_meter"},{"description":"Enum value: timestamp_in_future.","value":"timestamp_in_future"},{"description":"Enum value: timestamp_too_far_in_past.","value":"timestamp_too_far_in_past"}]},"error_count":{"type":"integer","description":"The number of errors of this type."},"sample_errors":{"type":"array","description":"A list of sample errors of this type.","items":{"required":["error_message","request"],"type":"object","properties":{"error_message":{"type":"string","description":"The error message."},"request":{"required":["identifier"],"type":"object","properties":{"identifier":{"type":"string","description":"The request idempotency key."}},"description":"The request causes the error."}}}}}}}},"description":"This contains information about why meter error happens."},"validation_end":{"type":"string","description":"The end of the window that is encapsulated by this summary.","format":"date-time"},"validation_start":{"type":"string","description":"The start of the window that is encapsulated by this summary.","format":"date-time"}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"type":{"type":"string","description":"The type of the event.","enum":["v1.billing.meter.no_meter_found"]}},"description":"Occurs when a Meter's id is missing or invalid in async usage events.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"developer_message_summary":"4242","reason":{"error_count":4242,"error_types":[{"code":"archived_meter","error_count":4242,"sample_errors":[{"error_message":"4242","request":{"identifier":"4242"}}]}]},"validation_end":"2025-01-01T00:00:00.000Z","validation_start":"2025-01-01T00:00:00.000Z"}}}],"x-stripeEvent":{"kind":"thin","type":"v1.billing.meter.no_meter_found"}},"v2.billing.meter_event":{"title":"Meter Event","required":["created","event_name","identifier","livemode","object","payload","timestamp"],"type":"object","properties":{"created":{"type":"string","description":"The creation time of this meter event.","format":"date-time"},"event_name":{"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"identifier":{"type":"string","description":"A unique identifier for the event. If not provided, one will be generated. We recommend using a globally unique identifier for this. We’ll enforce uniqueness within a rolling 24 hour period."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.billing.meter_event"]},"payload":{"type":"object","additionalProperties":{"type":"string"},"description":"The payload of the event. This must contain the fields corresponding to a meter’s\n`customer_mapping.event_payload_key` (default is `stripe_customer_id`) and\n`value_settings.event_payload_key` (default is `value`). Read more about\nthe [payload](https://docs.stripe.com/billing/subscriptions/usage-based/recording-usage#payload-key-overrides).."},"timestamp":{"type":"string","description":"The time of the event. Must be within the past 35 calendar days or up to\n5 minutes in the future. Defaults to current timestamp if not specified.","format":"date-time"}},"description":"A Meter Event is a usage record that captures billable activity for usage-based billing. Meter Events contain an event name, timestamp, and payload with customer mapping and usage value, enabling accurate usage tracking and billing.","x-resourceId":"v2.billing.meter_event","x-stableId":"v2_resource_meter_event","x-stripeDocsSamples":[{"response":{"object":"v2.billing.meter_event","created":"2024-06-01T12:10:00.000Z","livemode":false,"identifier":"idmp_12345678","event_name":"ai_search_api","timestamp":"2024-06-01T12:00:00.000Z","payload":{"stripe_customer_id":"cus_12345678","value":"25"}}}],"x-stripeOperations":[{"method_name":"create_stream","method_on":"service","method_type":"custom","operation":"post","path":"/v2/billing/meter_event_stream"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/billing/meter_events"}],"x-stripeResource":{"class_name":"MeterEvent","in_package":"v2.billing"}},"v2.billing.meter_event_adjustment":{"title":"Meter Event Adjustment","required":["cancel","created","event_name","id","livemode","object","status","type"],"type":"object","properties":{"cancel":{"required":["identifier"],"type":"object","properties":{"identifier":{"type":"string","description":"Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them."}},"description":"Specifies which event to cancel."},"created":{"type":"string","description":"The time the adjustment was created.","format":"date-time"},"event_name":{"type":"string","description":"The name of the meter event. Corresponds with the `event_name` field on a meter."},"id":{"type":"string","description":"The unique id of this meter event adjustment."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.billing.meter_event_adjustment"]},"status":{"type":"string","description":"Open Enum. The meter event adjustment’s status.","enum":["complete","pending"],"x-stripeEnum":[{"description":"The event adjustment has been processed.","value":"complete"},{"description":"The event adjustment is still being processed.","value":"pending"}]},"type":{"type":"string","description":"Open Enum. 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"],"x-stripeEnum":[{"description":"Cancel a single meter event by identifier.","value":"cancel"}]}},"description":"A Meter Event Adjustment is used to cancel or modify previously recorded meter events. Meter Event Adjustments allow you to correct billing data by canceling individual events or event ranges, with tracking of adjustment status and creation time.","x-resourceId":"v2.billing.meter_event_adjustment","x-stableId":"v2_resource_meter_event_adjustment","x-stripeDocsSamples":[{"response":{"object":"v2.billing.meter_event_adjustment","id":"mtr_event_adj_12345678","livemode":false,"created":"2024-06-01T12:00:00.000Z","status":"pending","event_name":"ai_search_api","type":"cancel","cancel":{"identifier":"idmp_12345678"}}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/billing/meter_event_adjustments"}],"x-stripeResource":{"class_name":"MeterEventAdjustment","in_package":"v2.billing"}},"v2.billing.meter_event_session":{"title":"Meter Event Session","required":["authentication_token","created","expires_at","id","livemode","object"],"type":"object","properties":{"authentication_token":{"type":"string","description":"The authentication token for this session. Use this token when calling the\nhigh-throughput meter event API."},"created":{"type":"string","description":"The creation time of this session.","format":"date-time"},"expires_at":{"type":"string","description":"The time at which this session will expire.","format":"date-time"},"id":{"type":"string","description":"The unique id of this auth session."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.billing.meter_event_session"]}},"description":"A Meter Event Session is an authentication session for the high-throughput meter event API. Meter Event Sessions provide temporary authentication tokens with expiration times, enabling secure and efficient bulk submission of usage events.","x-resourceId":"v2.billing.meter_event_session","x-stableId":"v2_resource_meter_event_session","x-stripeDocsSamples":[{"response":{"id":"","livemode":"false","object":"v2.billing.meter_event_session","authentication_token":"token_12345678","created":"2024-06-01T12:00:00.000Z","expires_at":"2024-06-01T12:15:00.000Z"}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/billing/meter_event_session"}],"x-stripeResource":{"class_name":"MeterEventSession","in_package":"v2.billing"}},"v2.core.account":{"title":"Account","required":["applied_configurations","created","id","livemode","object"],"type":"object","properties":{"applied_configurations":{"type":"array","description":"The configurations that have been applied to this account.","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"The Account can be used as a customer.","value":"customer"},{"description":"The Account can be used as a merchant.","value":"merchant"},{"description":"The Account can be used as a recipient.","value":"recipient"}]}},"closed":{"type":"boolean","description":"Indicates whether the account has been closed."},"configuration":{"type":"object","properties":{"customer":{"required":["applied"],"type":"object","properties":{"applied":{"type":"boolean","description":"Indicates whether the customer configuration is active. You can deactivate or reactivate the customer configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties."},"automatic_indirect_tax":{"type":"object","properties":{"exempt":{"type":"string","description":"The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include \"Reverse charge\".","enum":["exempt","none","reverse"],"x-stripeEnum":[{"description":"The customer is tax-exempt.","value":"exempt"},{"description":"The customer is not tax-exempt.","value":"none"},{"description":"Reverse charge applies.","value":"reverse"}]},"ip_address":{"type":"string","description":"A recent IP address of the customer used for tax reporting and tax location inference."},"location":{"type":"object","properties":{"country":{"type":"string","description":"The identified tax country of the customer."},"state":{"type":"string","description":"The identified tax state, county, province, or region of the customer."}},"description":"The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`."},"location_source":{"type":"string","description":"Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.","enum":["identity_address","ip_address","payment_method","shipping_address"],"x-stripeEnum":[{"description":"Identity address (`identity.business_details.address` or `identity.individual.address`).","value":"identity_address"},{"description":"IP address.","value":"ip_address"},{"description":"The customer's default payment method, unless a default payment method is set on the subscription or invoice.","value":"payment_method"},{"description":"Shipping address.","value":"shipping_address"}]}},"description":"Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location."},"billing":{"type":"object","properties":{"default_payment_method":{"type":"string","description":"ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions."},"invoice":{"required":["custom_fields"],"type":"object","properties":{"custom_fields":{"type":"array","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.","items":{"required":["name","value"],"type":"object","properties":{"name":{"type":"string","description":"The name of the custom field. This may be up to 40 characters."},"value":{"type":"string","description":"The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values."}}}},"footer":{"type":"string","description":"Default invoice footer."},"next_sequence":{"type":"integer","description":"Sequence number to use on the customer account's next invoice. Defaults to 1."},"prefix":{"type":"string","description":"Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers."},"rendering":{"type":"object","properties":{"amount_tax_display":{"type":"string","description":"Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.","enum":["exclude_tax","include_inclusive_tax"],"x-stripeEnum":[{"description":"Exclude tax.","value":"exclude_tax"},{"description":"Include inclusive tax.","value":"include_inclusive_tax"}]},"template":{"type":"string","description":"ID of the invoice rendering template to use for future invoices."}},"description":"Default invoice PDF rendering options."}},"description":"Default invoice settings for the customer account."}},"description":"Default Billing settings for the customer account, used in Invoices and Subscriptions."},"capabilities":{"type":"object","properties":{"automatic_indirect_tax":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions."}},"description":"Capabilities that have been requested on the Customer Configuration."},"shipping":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."}},"description":"Customer shipping address."},"name":{"type":"string","description":"Customer name."},"phone":{"type":"string","description":"Customer phone (including extension)."}},"description":"The customer's shipping information. Appears on invoices emailed to this customer."},"test_clock":{"type":"string","description":"ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account."}},"description":"The Customer Configuration allows the Account to be used in inbound payment flows."},"merchant":{"required":["applied"],"type":"object","properties":{"applied":{"type":"boolean","description":"Indicates whether the merchant configuration is active. You can deactivate or reactivate the merchant configuration by updating this property. Deactivating the configuration by setting this value to false doesn't delete the configuration's properties."},"bacs_debit_payments":{"type":"object","properties":{"display_name":{"type":"string","description":"Display name for Bacs Direct Debit payments."},"service_user_number":{"type":"string","description":"Service User Number (SUN) for Bacs Direct Debit payments."}},"description":"Settings for Bacs Direct Debit payments."},"branding":{"type":"object","properties":{"icon":{"type":"string","description":"ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px."},"logo":{"type":"string","description":"ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px."},"primary_color":{"type":"string","description":"A CSS hex color value representing the primary branding color for the merchant."},"secondary_color":{"type":"string","description":"A CSS hex color value representing the secondary branding color for the merchant."}},"description":"Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products."},"capabilities":{"type":"object","properties":{"ach_debit_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process ACH debit payments."},"acss_debit_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process ACSS debit payments."},"affirm_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Affirm payments."},"afterpay_clearpay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Afterpay/Clearpay payments."},"alma_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Alma payments."},"amazon_pay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Amazon Pay payments."},"au_becs_debit_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Australian BECS Direct Debit payments."},"bacs_debit_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process BACS Direct Debit payments."},"bancontact_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Bancontact payments."},"blik_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process BLIK payments."},"boleto_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Boleto payments."},"card_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to collect card payments."},"cartes_bancaires_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Cartes Bancaires payments."},"cashapp_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Cash App payments."},"eps_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process EPS payments."},"fpx_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process FPX payments."},"gb_bank_transfer_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process UK bank transfer payments."},"grabpay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process GrabPay payments."},"ideal_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process iDEAL payments."},"jcb_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process JCB card payments."},"jp_bank_transfer_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Japanese bank transfer payments."},"kakao_pay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Kakao Pay payments."},"klarna_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Klarna payments."},"konbini_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Konbini convenience store payments."},"kr_card_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Korean card payments."},"link_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Link payments."},"mobilepay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process MobilePay payments."},"multibanco_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Multibanco payments."},"mx_bank_transfer_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Mexican bank transfer payments."},"naver_pay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Naver Pay payments."},"oxxo_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process OXXO payments."},"p24_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Przelewy24 (P24) payments."},"pay_by_bank_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Pay by Bank payments."},"payco_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process PAYCO payments."},"paynow_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process PayNow payments."},"promptpay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process PromptPay payments."},"revolut_pay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Revolut Pay payments."},"samsung_pay_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Samsung Pay payments."},"sepa_bank_transfer_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process SEPA bank transfer payments."},"sepa_debit_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process SEPA Direct Debit payments."},"stripe_balance":{"type":"object","properties":{"payouts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Enables this Account to complete payouts from their Stripe Balance (/v1/balance)."}},"description":"Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance)."},"swish_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Swish payments."},"twint_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process TWINT payments."},"us_bank_transfer_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process US bank transfer payments."},"zip_payments":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Allow the merchant to process Zip payments."}},"description":"Capabilities that have been requested on the Merchant Configuration."},"card_payments":{"type":"object","properties":{"decline_on":{"type":"object","properties":{"avs_failure":{"type":"boolean","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."},"cvc_failure":{"type":"boolean","description":"Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification."}},"description":"Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge."}},"description":"Card payments settings."},"konbini_payments":{"type":"object","properties":{"support":{"type":"object","properties":{"email":{"type":"string","description":"Support email address for Konbini payments."},"hours":{"type":"object","properties":{"end_time":{"type":"string","description":"Support hours end time (JST time of day) for in `HH:MM` format."},"start_time":{"type":"string","description":"Support hours start time (JST time of day) for in `HH:MM` format."}},"description":"Support hours for Konbini payments."},"phone":{"type":"string","description":"Support phone number for Konbini payments."}},"description":"Support for Konbini payments."}},"description":"Settings specific to Konbini payments on the account."},"mcc":{"type":"string","description":"The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide."},"script_statement_descriptor":{"type":"object","properties":{"kana":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"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)."},"kanji":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"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)."}},"description":"Settings for the default text that appears on statements for language variations."},"sepa_debit_payments":{"type":"object","properties":{"creditor_id":{"type":"string","description":"Creditor ID for SEPA Direct Debit payments."}},"description":"Settings for SEPA Direct Debit payments."},"statement_descriptor":{"type":"object","properties":{"descriptor":{"type":"string","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 Merchant Configuration settings documentation."},"prefix":{"type":"string","description":"Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation."}},"description":"Statement descriptor."},"support":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"A publicly available mailing address for sending support issues to."},"email":{"type":"string","description":"A publicly available email address for sending support issues to."},"phone":{"type":"string","description":"A publicly available phone number to call with support issues."},"url":{"type":"string","description":"A publicly available website for handling support issues."}},"description":"Publicly available contact information for sending support issues to."}},"description":"Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set."},"recipient":{"required":["applied"],"type":"object","properties":{"applied":{"type":"boolean","description":"Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties."},"capabilities":{"type":"object","properties":{"stripe_balance":{"type":"object","properties":{"payouts":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Enables this Account to complete payouts from their Stripe Balance (/v1/balance)."},"stripe_transfers":{"required":["status","status_details"],"type":"object","properties":{"status":{"type":"string","description":"The status of the Capability.","enum":["active","pending","restricted","unsupported"],"x-stripeEnum":[{"description":"The Capability is active.","value":"active"},{"description":"Stripe is carrying out an action prior to activating the Capability. No further action is required at this time.","value":"pending"},{"description":"The Capability requires further action before it can be activated, check the `status_details` for information on why.","value":"restricted"},{"description":"The Capability is unsupported. Check `status_details` for information on why.","value":"unsupported"}]},"status_details":{"type":"array","description":"Additional details about the capability's status. This value is empty when `status` is `active`.","items":{"required":["code","resolution"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code explaining the reason for the Capability to be in its current status.","enum":["determining_status","requirements_past_due","requirements_pending_verification","restricted_other","unsupported_business","unsupported_country","unsupported_entity_type"],"x-stripeEnum":[{"description":"Stripe is in the process of determining the capability's status.","value":"determining_status"},{"description":"Some required information is past due.","value":"requirements_past_due"},{"description":"Stripe is currently verifying information that was supplied about the Account.","value":"requirements_pending_verification"},{"description":"Capability is restricted for unspecified reasons.","value":"restricted_other"},{"description":"Capability is not supported for the Account's business as expressed by the MCC in the Merchant Configuration.","value":"unsupported_business"},{"description":"Capability is not supported for the Account's Legal Entity country.","value":"unsupported_country"},{"description":"Capability is not supported for the given Identity entity type (i.e. individual).","value":"unsupported_entity_type"}]},"resolution":{"type":"string","description":"Machine-readable code explaining how to make the Capability active.","enum":["contact_stripe","no_resolution","provide_info"],"x-stripeEnum":[{"description":"Contact Stripe support to find more information about why this Capability is restricted.","value":"contact_stripe"},{"description":"No action is required from the user.","value":"no_resolution"},{"description":"Provide outstanding information about the Account to enable this Capability. Check the Requirements resource for more details.","value":"provide_info"}]}}}}},"description":"Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance)."}},"description":"Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance)."}},"description":"Capabilities that have been requested on the Recipient Configuration."}},"description":"The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set."}},"description":"An Account represents a company, individual, or other entity that a user interacts with. Accounts store identity information and one or more configurations that enable product-specific capabilities. You can assign configurations at creation or add them later."},"contact_email":{"type":"string","description":"The default contact email address for the Account. Required when configuring the account as a merchant or recipient."},"contact_phone":{"type":"string","description":"The default contact phone for the Account."},"created":{"type":"string","description":"Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"dashboard":{"type":"string","description":"A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.","enum":["express","full","none"],"x-stripeEnum":[{"description":"The Account has access to the Express hosted dashboard.","value":"express"},{"description":"The Account has access to the full Stripe hosted dashboard.","value":"full"},{"description":"The Account does not have access to any Stripe hosted dashboard.","value":"none"}]},"defaults":{"required":["responsibilities"],"type":"object","properties":{"currency":{"type":"string","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)."},"locales":{"type":"array","description":"The Account's preferred locales (languages), ordered by preference.","items":{"type":"string","enum":["ar-SA","bg","bg-BG","cs","cs-CZ","da","da-DK","de","de-DE","el","el-GR","en","en-AU","en-CA","en-GB","en-IE","en-IN","en-NZ","en-SG","en-US","es","es-419","es-ES","et","et-EE","fi","fil","fil-PH","fi-FI","fr","fr-CA","fr-FR","he-IL","hr","hr-HR","hu","hu-HU","id","id-ID","it","it-IT","ja","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","ms","ms-MY","mt","mt-MT","nb","nb-NO","nl","nl-NL","pl","pl-PL","pt","pt-BR","pt-PT","ro","ro-RO","ru","ru-RU","sk","sk-SK","sl","sl-SI","sv","sv-SE","th","th-TH","tr","tr-TR","vi","vi-VN","zh","zh-Hans","zh-Hant-HK","zh-Hant-TW","zh-HK","zh-TW"],"x-stripeEnum":[{"description":"IETF Locale.","value":"ar-SA"},{"description":"IETF Locale.","value":"bg"},{"description":"IETF Locale.","value":"bg-BG"},{"description":"IETF Locale.","value":"cs"},{"description":"IETF Locale.","value":"cs-CZ"},{"description":"IETF Locale.","value":"da"},{"description":"IETF Locale.","value":"da-DK"},{"description":"IETF Locale.","value":"de"},{"description":"IETF Locale.","value":"de-DE"},{"description":"IETF Locale.","value":"el"},{"description":"IETF Locale.","value":"el-GR"},{"description":"IETF Locale.","value":"en"},{"description":"IETF Locale.","value":"en-AU"},{"description":"IETF Locale.","value":"en-CA"},{"description":"IETF Locale.","value":"en-GB"},{"description":"IETF Locale.","value":"en-IE"},{"description":"IETF Locale.","value":"en-IN"},{"description":"IETF Locale.","value":"en-NZ"},{"description":"IETF Locale.","value":"en-SG"},{"description":"IETF Locale.","value":"en-US"},{"description":"IETF Locale.","value":"es"},{"description":"IETF Locale.","value":"es-419"},{"description":"IETF Locale.","value":"es-ES"},{"description":"IETF Locale.","value":"et"},{"description":"IETF Locale.","value":"et-EE"},{"description":"IETF Locale.","value":"fi"},{"description":"IETF Locale.","value":"fil"},{"description":"IETF Locale.","value":"fil-PH"},{"description":"IETF Locale.","value":"fi-FI"},{"description":"IETF Locale.","value":"fr"},{"description":"IETF Locale.","value":"fr-CA"},{"description":"IETF Locale.","value":"fr-FR"},{"description":"IETF Locale.","value":"he-IL"},{"description":"IETF Locale.","value":"hr"},{"description":"IETF Locale.","value":"hr-HR"},{"description":"IETF Locale.","value":"hu"},{"description":"IETF Locale.","value":"hu-HU"},{"description":"IETF Locale.","value":"id"},{"description":"IETF Locale.","value":"id-ID"},{"description":"IETF Locale.","value":"it"},{"description":"IETF Locale.","value":"it-IT"},{"description":"IETF Locale.","value":"ja"},{"description":"IETF Locale.","value":"ja-JP"},{"description":"IETF Locale.","value":"ko"},{"description":"IETF Locale.","value":"ko-KR"},{"description":"IETF Locale.","value":"lt"},{"description":"IETF Locale.","value":"lt-LT"},{"description":"IETF Locale.","value":"lv"},{"description":"IETF Locale.","value":"lv-LV"},{"description":"IETF Locale.","value":"ms"},{"description":"IETF Locale.","value":"ms-MY"},{"description":"IETF Locale.","value":"mt"},{"description":"IETF Locale.","value":"mt-MT"},{"description":"IETF Locale.","value":"nb"},{"description":"IETF Locale.","value":"nb-NO"},{"description":"IETF Locale.","value":"nl"},{"description":"IETF Locale.","value":"nl-NL"},{"description":"IETF Locale.","value":"pl"},{"description":"IETF Locale.","value":"pl-PL"},{"description":"IETF Locale.","value":"pt"},{"description":"IETF Locale.","value":"pt-BR"},{"description":"IETF Locale.","value":"pt-PT"},{"description":"IETF Locale.","value":"ro"},{"description":"IETF Locale.","value":"ro-RO"},{"description":"IETF Locale.","value":"ru"},{"description":"IETF Locale.","value":"ru-RU"},{"description":"IETF Locale.","value":"sk"},{"description":"IETF Locale.","value":"sk-SK"},{"description":"IETF Locale.","value":"sl"},{"description":"IETF Locale.","value":"sl-SI"},{"description":"IETF Locale.","value":"sv"},{"description":"IETF Locale.","value":"sv-SE"},{"description":"IETF Locale.","value":"th"},{"description":"IETF Locale.","value":"th-TH"},{"description":"IETF Locale.","value":"tr"},{"description":"IETF Locale.","value":"tr-TR"},{"description":"IETF Locale.","value":"vi"},{"description":"IETF Locale.","value":"vi-VN"},{"description":"IETF Locale.","value":"zh"},{"description":"IETF Locale.","value":"zh-Hans"},{"description":"IETF Locale.","value":"zh-Hant-HK"},{"description":"IETF Locale.","value":"zh-Hant-TW"},{"description":"IETF Locale.","value":"zh-HK"},{"description":"IETF Locale.","value":"zh-TW"}]}},"profile":{"type":"object","properties":{"business_url":{"type":"string","description":"The business's publicly-available website."},"doing_business_as":{"type":"string","description":"The customer-facing business name."},"product_description":{"type":"string","description":"Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes."}},"description":"Account profile information."},"responsibilities":{"required":["requirements_collector"],"type":"object","properties":{"fees_collector":{"type":"string","description":"Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.","enum":["application","application_custom","application_express","stripe"],"x-stripeEnum":[{"description":"The platform is responsible for collecting fees from the Account.","value":"application"},{"description":"Direct charge fee behavior is the same as for Custom accounts. See [documentation](/connect/direct-charges-fee-payer-behavior).","value":"application_custom"},{"description":"Direct charge fee behavior is the same as for Express accounts. See [documentation](/connect/direct-charges-fee-payer-behavior).","value":"application_express"},{"description":"Stripe is responsible for collecting fees from the Account.","value":"stripe"}]},"losses_collector":{"type":"string","description":"A value indicating responsibility for collecting requirements on this account.","enum":["application","stripe"],"x-stripeEnum":[{"description":"The platform is responsible for negative balances on the Account.","value":"application"},{"description":"Stripe is responsible for negative balances on this Account.","value":"stripe"}]},"requirements_collector":{"type":"string","description":"A value indicating responsibility for collecting requirements on this account.","enum":["application","stripe"],"x-stripeEnum":[{"description":"The platform is responsible for collecting outstanding and updated requirements on the Account.","value":"application"},{"description":"Stripe is responsible for collecting outstanding and updated requirements on the Account.","value":"stripe"}]}},"description":"Default responsibilities held by either Stripe or the platform."}},"description":"Default values for settings shared across Account configurations."},"display_name":{"type":"string","description":"A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account."},"future_requirements":{"type":"object","properties":{"entries":{"type":"array","description":"A list of requirements for the Account.","items":{"required":["awaiting_action_from","description","errors","impact","minimum_deadline","requested_reasons"],"type":"object","properties":{"awaiting_action_from":{"type":"string","description":"Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.","enum":["stripe","user"],"x-stripeEnum":[{"description":"Integrator should do nothing.","value":"stripe"},{"description":"Integrator should take action.","value":"user"}]},"description":{"type":"string","description":"Machine-readable string describing the requirement."},"errors":{"type":"array","description":"Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.","items":{"required":["code","description"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code describing the 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_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_url_web_presence_detected","invalid_value_other","unresolvable_ip_address","unresolvable_postal_code","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_selfie_document_missing_photo","verification_selfie_face_mismatch","verification_selfie_manipulated","verification_selfie_unverified_other","verification_supportability","verification_token_stale"],"x-stripeEnum":[{"description":"The combination of the city, state, and postal code in the provided address could not be validated.","value":"invalid_address_city_state_postal_code"},{"description":"Invalid address. Your business address must be a valid physical address from which you conduct business and cannot be a Highway Contract Box.","value":"invalid_address_highway_contract_box"},{"description":"Invalid address. Your business address must be a valid physical address from which you conduct business and cannot be a private mailbox.","value":"invalid_address_private_mailbox"},{"description":"Business profile names must consist of recognizable words.","value":"invalid_business_profile_name"},{"description":"Generic or well-known business names aren't supported.","value":"invalid_business_profile_name_denylisted"},{"description":"Generic or well-known business names aren't supported.","value":"invalid_company_name_denylisted"},{"description":"Date of birth must be within the past 120 years.","value":"invalid_dob_age_over_maximum"},{"description":"Underage. Age must be at least 18.","value":"invalid_dob_age_under_18"},{"description":"Person must be at least 13 years old.","value":"invalid_dob_age_under_minimum"},{"description":"Your product description must be at least 10 characters.","value":"invalid_product_description_length"},{"description":"Your product description must be different from your URL.","value":"invalid_product_description_url_match"},{"description":"The representative must have an address in the same country as the company.","value":"invalid_representative_country"},{"description":"The statement descriptor must be similar to your business name, legal entity name, or URL.","value":"invalid_statement_descriptor_business_mismatch"},{"description":"Generic or well-known statement descriptors aren't supported.","value":"invalid_statement_descriptor_denylisted"},{"description":"The statement descriptor must be at least 5 characters.","value":"invalid_statement_descriptor_length"},{"description":"Generic or well-known statement descriptor prefixes aren't supported.","value":"invalid_statement_descriptor_prefix_denylisted"},{"description":"The statement descriptor prefix must be similar to your statement descriptor, business name, legal entity name, or URL.","value":"invalid_statement_descriptor_prefix_mismatch"},{"description":"The street name and/or number for the provided address could not be validated.","value":"invalid_street_address"},{"description":"The provided tax ID must have 9 digits.","value":"invalid_tax_id"},{"description":"Tax IDs must be a unique set of 9 numbers without dashes or other special characters.","value":"invalid_tax_id_format"},{"description":"The existing terms of service signature has been invalidated because the account's tax ID has changed. The account needs to accept the terms of service again. For more information, see [this documentation](/connect/update-verified-information).","value":"invalid_tos_acceptance"},{"description":"Generic business URLs aren't supported.","value":"invalid_url_denylisted"},{"description":"URL must be formatted as https://example.com.","value":"invalid_url_format"},{"description":"The business information on your website must match the details you provided to Stripe.","value":"invalid_url_website_business_information_mismatch"},{"description":"Your provided website appears to be empty.","value":"invalid_url_website_empty"},{"description":"This URL couldn't be reached. Make sure it's available and entered correctly or provide another.","value":"invalid_url_website_inaccessible"},{"description":"Your provided website appears to be geographically blocked.","value":"invalid_url_website_inaccessible_geoblocked"},{"description":"Your provided website appears to be password protected.","value":"invalid_url_website_inaccessible_password_protected"},{"description":"Your website seems to be missing some required information. [Learn about the requirements](https://support.stripe.com/questions/information-required-on-your-business-website-to-use-stripe).","value":"invalid_url_website_incomplete"},{"description":"Your provided website appears to have an incomplete cancellation policy.","value":"invalid_url_website_incomplete_cancellation_policy"},{"description":"Your provided website appears to have incomplete customer service details.","value":"invalid_url_website_incomplete_customer_service_details"},{"description":"Your provided website appears to have incomplete legal restrictions.","value":"invalid_url_website_incomplete_legal_restrictions"},{"description":"Your provided website appears to have an incomplete refund policy.","value":"invalid_url_website_incomplete_refund_policy"},{"description":"Your provided website appears to have an incomplete refund policy.","value":"invalid_url_website_incomplete_return_policy"},{"description":"Your provided website appears to have incomplete terms and conditions.","value":"invalid_url_website_incomplete_terms_and_conditions"},{"description":"Your provided website appears to be incomplete or under construction.","value":"invalid_url_website_incomplete_under_construction"},{"description":"We weren't able to verify your business using the URL you provided. Make sure it's entered correctly or provide another URL.","value":"invalid_url_website_other"},{"description":"Because you use a website, app, social media page, or online profile to sell products or services, you must provide a URL for your business.","value":"invalid_url_web_presence_detected"},{"description":"An invalid value was provided for the related field. This is a general error code.","value":"invalid_value_other"},{"description":"IP address did not resolve to a valid tax location.","value":"unresolvable_ip_address"},{"description":"Postal code did not resolve to a valid tax location.","value":"unresolvable_postal_code"},{"description":"Directors on the account don't match government records. Update the account and upload a directorship document with current directors.","value":"verification_directors_mismatch"},{"description":"Address on the account doesn't match the verification document. Update the account and upload the document again.","value":"verification_document_address_mismatch"},{"description":"The company address was missing on the document. Upload a document that includes the address.","value":"verification_document_address_missing"},{"description":"File seems to be corrupted or damaged. Provide a different file.","value":"verification_document_corrupt"},{"description":"Document isn't supported in this person's country or region. Provide a supported verification document.","value":"verification_document_country_not_supported"},{"description":"Directors on the account don't match the document provided. Update the account to match the registration document and upload it again.","value":"verification_document_directors_mismatch"},{"description":"The date of birth (DOB) on the document did not match the DOB on the account. Upload a document with a matching DOB or update the DOB on the account.","value":"verification_document_dob_mismatch"},{"description":"The same type of document was used twice. Two unique types of documents are required for verification.","value":"verification_document_duplicate_type"},{"description":"The document could not be used for verification because it has expired. If it's an identity document, its expiration date must be after the date the document was submitted. If it's an address document, the issue date must be within the last six months.","value":"verification_document_expired"},{"description":"Document is a photo or screenshot. Upload the original document.","value":"verification_document_failed_copy"},{"description":"Document seems to be in grayscale or black and white. Provide a full color photo of the document for verification.","value":"verification_document_failed_greyscale"},{"description":"The document could not be verified for an unknown reason. Ensure that the document follows the [guidelines for document uploads](/acceptable-verification-documents).","value":"verification_document_failed_other"},{"description":"A test data helper was supplied to simulate verification failure. Refer to the documentation for [test file tokens](/connect/testing#test-file-tokens).","value":"verification_document_failed_test_mode"},{"description":"Document seems to be altered. This could be because it's fraudulent.","value":"verification_document_fraudulent"},{"description":"Tax ID number on the account doesn't match the verification document. Update the account to match the verification document and upload it again.","value":"verification_document_id_number_mismatch"},{"description":"The company ID number was missing on the document. Upload a document that includes the ID number.","value":"verification_document_id_number_missing"},{"description":"Document doesn't include required information. Make sure all pages and sections are complete.","value":"verification_document_incomplete"},{"description":"Document isn't an acceptable form of identification in this account's country or region. Ensure that the document follows the [guidelines for document uploads](/acceptable-verification-documents).","value":"verification_document_invalid"},{"description":"Document is missing an expiration date. Provide a document with an expiration date.","value":"verification_document_issue_or_expiry_date_missing"},{"description":"Document seems to be altered. This could be because it's fraudulent.","value":"verification_document_manipulated"},{"description":"The back of the document is missing. Provide both sides of the document for verification.","value":"verification_document_missing_back"},{"description":"The front of the document is missing. Provide both sides of the document for verification.","value":"verification_document_missing_front"},{"description":"The name on the account does not match the name on the document. Update the account to match the document and upload it again.","value":"verification_document_name_mismatch"},{"description":"The company name was missing on the document. Upload a document that includes the company name.","value":"verification_document_name_missing"},{"description":"The nationality on the document did not match the person's stated nationality. Update the person's stated nationality, or upload a document that matches it.","value":"verification_document_nationality_mismatch"},{"description":"Document isn't readable. This could be because it's blurry or dark, or because the document was obstructed.","value":"verification_document_not_readable"},{"description":"Document doesn't seem to be signed. Provide a signed document.","value":"verification_document_not_signed"},{"description":"Document didn't upload because of a problem with the file.","value":"verification_document_not_uploaded"},{"description":"ID photo on the document doesn't match the selfie provided by this account.","value":"verification_document_photo_mismatch"},{"description":"Document file is too large. Upload one that's 10MB or less.","value":"verification_document_too_large"},{"description":"The provided document type is not accepted. Ensure that the document follows the [guidelines for document uploads](/acceptable-verification-documents).","value":"verification_document_type_not_supported"},{"description":"Extraneous directors have been added to the account. Update the account and upload a registration document with current directors.","value":"verification_extraneous_directors"},{"description":"The address on the account could not be verified. Correct any errors in the address field or upload a document that includes the address.","value":"verification_failed_address_match"},{"description":"The Importer Exporter Code (IEC) number on your account could not be verified. Either correct any possible errors in the company name or IEC number. Refer to the support article for [accepting international payments in India](https://support.stripe.com/questions/accepting-international-payments-from-stripe-accounts-in-india).","value":"verification_failed_business_iec_number"},{"description":"The document could not be verified. Upload a document that includes the company name, ID number, and address fields.","value":"verification_failed_document_match"},{"description":"ID number on the document doesn't match the ID number provided by this account.","value":"verification_failed_id_number_match"},{"description":"The person's keyed-in identity information could not be verified. Correct any errors or upload a document that matches the identity fields (e.g., name and date of birth) entered.","value":"verification_failed_keyed_identity"},{"description":"The keyed-in information on the account could not be verified. Correct any errors in the company name, ID number, or address fields. You can also upload a document that includes those fields.","value":"verification_failed_keyed_match"},{"description":"The company name on the account could not be verified. Correct any errors in the company name field or upload a document that includes the company name.","value":"verification_failed_name_match"},{"description":"Verification failed for an unknown reason. Correct any errors and resubmit the required fields.","value":"verification_failed_other"},{"description":"The authority of the account representative could not be verified. Please change the account representative to a person who is registered as an authorized representative. Please refer to [this support article](https://support.stripe.com/questions/representative-authority-verification).","value":"verification_failed_representative_authority"},{"description":"We could not verify that the person resides at the provided address. The address must be a valid physical address where the individual resides and cannot be a P.O. Box.","value":"verification_failed_residential_address"},{"description":"The tax ID on the account cannot be verified by the IRS. Either correct any possible errors in the company name or tax ID, or upload a document that contains those fields.","value":"verification_failed_tax_id_match"},{"description":"The tax ID on the account was not recognized by the IRS. Refer to the support article for [newly-issued tax ID numbers](https://support.stripe.com/questions/newly-issued-us-tax-id-number-tin-not-verifying).","value":"verification_failed_tax_id_not_issued"},{"description":"Directors are missing from the account. Update the account and upload a registration document with current directors.","value":"verification_missing_directors"},{"description":"We have identified executives that haven't been added on the account. Add any missing executives to the account.","value":"verification_missing_executives"},{"description":"We have identified owners that haven't been added on the account. Add any missing owners to the account.","value":"verification_missing_owners"},{"description":"We have identified holding companies with significant percentage ownership. Upload a Memorandum of Association for each of the holding companies.","value":"verification_requires_additional_memorandum_of_associations"},{"description":"The uploaded document contains holding companies with significant percentage ownership. Upload a proof of registration for each of the holding companies.","value":"verification_requires_additional_proof_of_registration"},{"description":"Photo is missing from the document. Provide a document with a photo.","value":"verification_selfie_document_missing_photo"},{"description":"Selfie doesn't match the photo on the document. Provide a clear, well-lit, and unobstructed selfie.","value":"verification_selfie_face_mismatch"},{"description":"Selfie seems to be altered. This could be because it's fraudulent.","value":"verification_selfie_manipulated"},{"description":"Selfie couldn't be verified. Provide a clear, well-lit, and unobstructed selfie that matches the photo on the identity document.","value":"verification_selfie_unverified_other"},{"description":"We can't accept payments for this business under the Stripe Services Agreement without additional verification, as mentioned in the [prohibited and restricted businesses list](https://stripe.com/legal/restricted-businesses).","value":"verification_supportability"},{"description":"The eID token submitted for liveness verification must be submitted within 5 minutes of obtaining it from the partner.","value":"verification_token_stale"}]},"description":{"type":"string","description":"Human-readable description of the error."}}}},"impact":{"type":"object","properties":{"restricts_capabilities":{"type":"array","description":"The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.","items":{"required":["capability","configuration","deadline"],"type":"object","properties":{"capability":{"type":"string","description":"The name of the Capability which will be restricted.","enum":["ach_debit_payments","acss_debit_payments","affirm_payments","afterpay_clearpay_payments","alma_payments","amazon_pay_payments","automatic_indirect_tax","au_becs_debit_payments","bacs_debit_payments","bancontact_payments","bank_accounts.local","bank_accounts.wire","blik_payments","boleto_payments","cards","card_payments","cartes_bancaires_payments","cashapp_payments","eps_payments","fpx_payments","gb_bank_transfer_payments","grabpay_payments","ideal_payments","jcb_payments","jp_bank_transfer_payments","kakao_pay_payments","klarna_payments","konbini_payments","kr_card_payments","link_payments","mobilepay_payments","multibanco_payments","mx_bank_transfer_payments","naver_pay_payments","oxxo_payments","p24_payments","payco_payments","paynow_payments","pay_by_bank_payments","promptpay_payments","revolut_pay_payments","samsung_pay_payments","sepa_bank_transfer_payments","sepa_debit_payments","stripe_balance.payouts","stripe_balance.stripe_transfers","swish_payments","twint_payments","us_bank_transfer_payments","zip_payments"],"x-stripeEnum":[{"description":"Capability to use ACH Debit payments.","value":"ach_debit_payments"},{"description":"Capability to use ACSS Debit payments.","value":"acss_debit_payments"},{"description":"Capability to use Affirm payments.","value":"affirm_payments"},{"description":"Capability to use Afterpay Clearpay payments.","value":"afterpay_clearpay_payments"},{"description":"Capability to use Alma payments.","value":"alma_payments"},{"description":"Capability to use Amazon Pay payments.","value":"amazon_pay_payments"},{"description":"Capability to have taxes automatically corrected.","value":"automatic_indirect_tax"},{"description":"Capability to use AU BECS Debit payments.","value":"au_becs_debit_payments"},{"description":"Capability to use BACS Direct Debit payments.","value":"bacs_debit_payments"},{"description":"Capability to use Bancontact payments.","value":"bancontact_payments"},{"description":"Capability to use Bank Accounts Local payouts.","value":"bank_accounts.local"},{"description":"Capability to use Bank Accounts Wire payouts.","value":"bank_accounts.wire"},{"description":"Capability to use BLIK payments.","value":"blik_payments"},{"description":"Capability to use Boleto payments.","value":"boleto_payments"},{"description":"Capability to use Card payouts.","value":"cards"},{"description":"Capability to collect card payments.","value":"card_payments"},{"description":"Capability to use Cartes Bancaires payments.","value":"cartes_bancaires_payments"},{"description":"Capability to use CashApp payments.","value":"cashapp_payments"},{"description":"Capability to use EPS payments.","value":"eps_payments"},{"description":"Capability to use FPX payments.","value":"fpx_payments"},{"description":"Capability to use GB bank transfer payments.","value":"gb_bank_transfer_payments"},{"description":"Capability to use GrabPay payments.","value":"grabpay_payments"},{"description":"Capability to use IDEAL payments.","value":"ideal_payments"},{"description":"Capability to use JCB payments.","value":"jcb_payments"},{"description":"Capability to use JP bank transfer payments.","value":"jp_bank_transfer_payments"},{"description":"Capability to use Kakao Pay payments.","value":"kakao_pay_payments"},{"description":"Capability to use Klarna payments.","value":"klarna_payments"},{"description":"Capability to use Konbini payments.","value":"konbini_payments"},{"description":"Capability to use KR card payments.","value":"kr_card_payments"},{"description":"Capability to use Link payments.","value":"link_payments"},{"description":"Capability to use MobilePay payments.","value":"mobilepay_payments"},{"description":"Capability to use Multibanco payments.","value":"multibanco_payments"},{"description":"Capability to use MX bank transfer payments.","value":"mx_bank_transfer_payments"},{"description":"Capability to use Naver Pay payments.","value":"naver_pay_payments"},{"description":"Capability to use OXXO payments.","value":"oxxo_payments"},{"description":"Capability to use P24 payments.","value":"p24_payments"},{"description":"Capability to use Payco payments.","value":"payco_payments"},{"description":"Capability to use PayNow payments.","value":"paynow_payments"},{"description":"Capability to use Pay by Bank payments.","value":"pay_by_bank_payments"},{"description":"Capability to use PromptPay payments.","value":"promptpay_payments"},{"description":"Capability to use Revolut Pay payments.","value":"revolut_pay_payments"},{"description":"Capability to use Samsung Pay payments.","value":"samsung_pay_payments"},{"description":"Capability to use SEPA bank transfer payments.","value":"sepa_bank_transfer_payments"},{"description":"Capability to use SEPA Debit payments.","value":"sepa_debit_payments"},{"description":"Capability to do payouts from the user's Stripe balance.","value":"stripe_balance.payouts"},{"description":"Capability to receive transfers to the user's Stripe balance.","value":"stripe_balance.stripe_transfers"},{"description":"Capability to use Swish payments.","value":"swish_payments"},{"description":"Capability to use Twint payments.","value":"twint_payments"},{"description":"Capability to use US bank transfer payments.","value":"us_bank_transfer_payments"},{"description":"Capability to use Zip payments.","value":"zip_payments"}]},"configuration":{"type":"string","description":"The configuration which specifies the Capability which will be restricted.","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"Customer configuration.","value":"customer"},{"description":"Merchant configuration.","value":"merchant"},{"description":"Recipient configuration.","value":"recipient"}]},"deadline":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The current status of the requirement's impact.","enum":["currently_due","eventually_due","past_due"],"x-stripeEnum":[{"description":"The requirement needs to be collected to keep the account enabled.","value":"currently_due"},{"description":"The requirement needs to be collected assuming all volume thresholds are met.","value":"eventually_due"},{"description":"The requirement needs to be collected to enable the account.","value":"past_due"}]}},"description":"Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction."}}}}},"description":"A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information."},"minimum_deadline":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The current status of the requirement's impact.","enum":["currently_due","eventually_due","past_due"],"x-stripeEnum":[{"description":"The requirement needs to be collected to keep the account enabled.","value":"currently_due"},{"description":"The requirement needs to be collected assuming all volume thresholds are met.","value":"eventually_due"},{"description":"The requirement needs to be collected to enable the account.","value":"past_due"}]}},"description":"The soonest point when the account will be impacted by not providing the requirement."},"reference":{"required":["type"],"type":"object","properties":{"inquiry":{"type":"string","description":"If `inquiry` is the type, the inquiry token."},"resource":{"type":"string","description":"If `resource` is the type, the resource token."},"type":{"type":"string","description":"The type of the reference. If the type is \"inquiry\", the inquiry token can be found in the \"inquiry\" field.\nOtherwise the type is an API resource, the token for which can be found in the \"resource\" field.","enum":["inquiry","payment_method","person"],"x-stripeEnum":[{"description":"An inquiry from Stripe.","value":"inquiry"},{"description":"A payment method.","value":"payment_method"},{"description":"A person resource.","value":"person"}]}},"description":"A reference to the location of the requirement."},"requested_reasons":{"type":"array","description":"A list of reasons why Stripe is collecting the requirement.","items":{"required":["code"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable description of Stripe's reason for collecting the requirement.","enum":["routine_onboarding","routine_verification"],"x-stripeEnum":[{"description":"Stripe needs a basic set of information.","value":"routine_onboarding"},{"description":"Stripe needs to review provided information.","value":"routine_verification"}]}}}}}}},"minimum_transition_date":{"type":"string","description":"The time at which the future requirements become effective.","format":"date-time"},"summary":{"type":"object","properties":{"minimum_deadline":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The current strictest status of all requirements on the Account.","enum":["currently_due","eventually_due","past_due"],"x-stripeEnum":[{"description":"The requirement needs to be collected to keep the account enabled.","value":"currently_due"},{"description":"The requirement needs to be collected assuming all volume thresholds are met.","value":"eventually_due"},{"description":"The requirement needs to be collected to enable the account.","value":"past_due"}]},"time":{"type":"string","description":"The soonest RFC3339 date & time UTC value a requirement can impact the Account.","format":"date-time"}},"description":"The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`."}},"description":"An object containing an overview of requirements for the Account."}},"description":"Information about the future requirements for the Account that will eventually come into effect, including what information needs to be collected, and by when."},"id":{"type":"string","description":"Unique identifier for the Account."},"identity":{"type":"object","properties":{"attestations":{"type":"object","properties":{"directorship_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the director attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the director attestation was made."}},"description":"This hash is used to attest that the directors information provided to Stripe is both current and correct."},"ownership_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the beneficial owner attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the beneficial owner attestation was made."}},"description":"This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct."},"persons_provided":{"type":"object","properties":{"directors":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"executives":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"owners":{"type":"boolean","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](https://docs.stripe.com/api/v2/core/accounts/createperson)."},"ownership_exemption_reason":{"type":"string","description":"Reason for why the company is exempt from providing ownership information.","enum":["qualified_entity_exceeds_ownership_threshold","qualifies_as_financial_institution"],"x-stripeEnum":[{"description":"A qualifying entity or group of qualifying entities own a significant enough share of the merchant’s business that they are exempt from providing ownership information based on regulatory guidelines in the merchant’s country.","value":"qualified_entity_exceeds_ownership_threshold"},{"description":"A merchant is a financial institution.","value":"qualifies_as_financial_institution"}]}},"description":"Attestation that all Persons with a specific Relationship value have been provided."},"representative_declaration":{"type":"object","properties":{"date":{"type":"string","description":"The time marking when the representative attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the representative attestation was made."},"user_agent":{"type":"string","description":"The user agent of the browser from which the representative attestation was made."}},"description":"This hash is used to attest that the representative is authorized to act as the representative of their legal entity."},"terms_of_service":{"type":"object","properties":{"account":{"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance)."}},"description":"Attestations of accepted terms of service agreements."}},"description":"Attestations from the identity's key people, e.g. owners, executives, directors, representatives."},"business_details":{"type":"object","properties":{"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The company’s primary address."},"annual_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"Annual revenue amount in minor currency units (for example, '123' for 1.23 USD)."},"fiscal_year_end":{"type":"string","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."}},"description":"The business gross annual revenue for its preceding fiscal year."},"documents":{"type":"object","properties":{"bank_account_ownership_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that support the 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."},"company_license":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s license to operate."},"company_memorandum_of_association":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s Memorandum of Association."},"company_ministerial_decree":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment."},"company_registration_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities."},"company_tax_id_verification":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of a company’s tax ID."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document verifying the business."},"proof_of_address":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of address."},"proof_of_registration":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the company’s proof of registration with the national business registry."},"proof_of_ultimate_beneficial_ownership":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof of ultimate beneficial ownership."}},"description":"Documents that may be submitted to satisfy various informational requests."},"estimated_worker_count":{"type":"integer","description":"Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors)."},"id_numbers":{"type":"array","description":"The provided ID numbers of a business entity.","items":{"required":["type"],"type":"object","properties":{"registrar":{"type":"string","description":"The registrar of the ID number (Only valid for DE ID number types)."},"type":{"type":"string","description":"Open Enum. The ID number type of a business entity.","enum":["ae_crn","ae_vat","ao_nif","ar_cuit","at_fn","at_stn","at_vat","au_abn","au_acn","au_in","az_tin","bd_etin","be_cbe","be_vat","bg_uic","bg_vat","br_cnpj","ca_cn","ca_crarr","ca_gst_hst","ca_neq","ca_rid","ch_chid","ch_uid","cr_cpj","cr_nite","cy_he","cy_tic","cy_vat","cz_ico","cz_vat","de_hrn","de_stn","de_vat","dk_cvr","dk_vat","do_rcn","ee_rk","ee_vat","es_cif","es_vat","fi_vat","fi_yt","fr_rna","fr_siren","fr_vat","gb_crn","gb_vat","gi_crn","gr_afm","gr_gemi","gr_vat","gt_nit","hk_br","hk_cr","hr_mbs","hr_oib","hr_vat","hu_cjs","hu_tin","hu_vat","ie_crn","ie_trn","ie_vat","it_rea","it_vat","jp_cn","kz_bin","li_uid","lt_ccrn","lt_vat","lu_nif","lu_rcs","lu_vat","lv_urn","lv_vat","mt_crn","mt_tin","mt_vat","mx_rfc","my_brn","my_coid","my_itn","my_sst","mz_nuit","nl_kvk","nl_rsin","nl_vat","no_orgnr","nz_bn","nz_ird","pe_ruc","pk_ntn","pl_nip","pl_regon","pl_vat","pt_vat","ro_cui","ro_orc","ro_vat","sa_crn","sa_tin","se_orgnr","se_vat","sg_uen","si_msp","si_tin","si_vat","sk_dic","sk_ico","sk_vat","th_crn","th_prn","th_tin","us_ein"],"x-stripeEnum":[{"description":"Company registration number - United Arab Emirates.","value":"ae_crn"},{"description":"Business VAT ID - United Arab Emirates.","value":"ae_vat"},{"description":"Número de Identificação Fiscal (NIF) - Angola.","value":"ao_nif"},{"description":"Clave Única de Identificación Tributaria - Argentina.","value":"ar_cuit"},{"description":"Firmenbuchnummer - Austria.","value":"at_fn"},{"description":"Steuernummer (StNr.) - Austria.","value":"at_stn"},{"description":"VAT Number (UID) - Austria.","value":"at_vat"},{"description":"Australian Business Number - Australia.","value":"au_abn"},{"description":"Australian Company Number - Australia.","value":"au_acn"},{"description":"Incorporation Number - Australia.","value":"au_in"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"Enterprise number - Belgium.","value":"be_cbe"},{"description":"VAT Number (n° TVA/BTW-nr) - Belgium.","value":"be_vat"},{"description":"Unique Identification Code - Bulgaria.","value":"bg_uic"},{"description":"VAT Number (ДДС номер) - Bulgaria.","value":"bg_vat"},{"description":"Cadastro Nacional da Pessoa Jurídica - Brazil.","value":"br_cnpj"},{"description":"Corporation Number - Canada.","value":"ca_cn"},{"description":"CRA registered charity program account number - Canada.","value":"ca_crarr"},{"description":"GST/HST Number - Canada.","value":"ca_gst_hst"},{"description":"Québec Enterprise Number - Canada.","value":"ca_neq"},{"description":"Registry ID - Canada.","value":"ca_rid"},{"description":"Handelsregisternummer - Switzerland.","value":"ch_chid"},{"description":"Business Identification Number (UID) - Switzerland.","value":"ch_uid"},{"description":"Cédula de Persona Jurídica (CPJ) - Costa Rica.","value":"cr_cpj"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Αριθμός Εγγραφής Εταιρείας - Cyprus.","value":"cy_he"},{"description":"Tax Identification Code - Cyprus.","value":"cy_tic"},{"description":"VAT Number (ΦΠΑ) - Cyprus.","value":"cy_vat"},{"description":"Identifikační číslo osoby - Czech Republic.","value":"cz_ico"},{"description":"VAT Number (DIČ) - Czech Republic.","value":"cz_vat"},{"description":"Handelsregisternummer - Germany.","value":"de_hrn"},{"description":"Steuernummer (StNr.) - Germany.","value":"de_stn"},{"description":"VAT Number (USt-IdNr.) - Germany.","value":"de_vat"},{"description":"Centrale Virksomhedsregister - Denmark.","value":"dk_cvr"},{"description":"VAT Number (CVR) - Denmark.","value":"dk_vat"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Registrikood - Estonia.","value":"ee_rk"},{"description":"VAT Number (KMKR) - Estonia.","value":"ee_vat"},{"description":"Número de Identificación Fiscal - Spain.","value":"es_cif"},{"description":"VAT Number (NIF-IVA) - Spain.","value":"es_vat"},{"description":"VAT Number (ALV nro Momsnummer) - Finland.","value":"fi_vat"},{"description":"Y-tunnus - Finland.","value":"fi_yt"},{"description":"Numéro RNA - France.","value":"fr_rna"},{"description":"SIREN - France.","value":"fr_siren"},{"description":"VAT Number (n° TVA) - France.","value":"fr_vat"},{"description":"Companies House Registration Number - United Kingdom.","value":"gb_crn"},{"description":"VAT registration number - United Kingdom.","value":"gb_vat"},{"description":"Company Registration Number (CRN) - Gibraltar.","value":"gi_crn"},{"description":"Αριθμός Φορολογικού Μητρώου (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"General Commercial Register (G.E.M.I.) - Greece.","value":"gr_gemi"},{"description":"VAT Number (ΦΠΑ) - Greece.","value":"gr_vat"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Business Registration Number - Hong Kong.","value":"hk_br"},{"description":"Company Registration Number - Hong Kong.","value":"hk_cr"},{"description":"MBS (matični broj poslovnog subjekta) - Croatia.","value":"hr_mbs"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"VAT ID (PDV identifikacijski broj) - Croatia.","value":"hr_vat"},{"description":"Company registration number (Cégjegyzékszám) - Hungary.","value":"hu_cjs"},{"description":"Adószám - Hungary.","value":"hu_tin"},{"description":"VAT Number (ANUM) - Hungary.","value":"hu_vat"},{"description":"Company Registration Number (CRN) - Ireland.","value":"ie_crn"},{"description":"Tax registration number (TRN) - Ireland.","value":"ie_trn"},{"description":"VAT Number - Ireland.","value":"ie_vat"},{"description":"Numero Repertorio Economico e Amministrativo (REA) - Italy.","value":"it_rea"},{"description":"Partita IVA - Italy.","value":"it_vat"},{"description":"Corporate number (Corporate \\\"My Number\\\") - Japan.","value":"jp_cn"},{"description":"Business Identification Number (BIN) - Kazakhstan.","value":"kz_bin"},{"description":"Handelsregisternummer - Liechtenstein.","value":"li_uid"},{"description":"Central Commercial Registry Number / Certificate Number - Lithuania.","value":"lt_ccrn"},{"description":"VAT Number (PVM kodas) - Lithuania.","value":"lt_vat"},{"description":"Numéro d’identification fiscale (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Registre de commerce et des sociétés (RCS) number - Luxembourg.","value":"lu_rcs"},{"description":"VAT Number (No. TVA) - Luxembourg.","value":"lu_vat"},{"description":"Uzņēmumu reģistrs number - Latvia.","value":"lv_urn"},{"description":"VAT Number (PVN) - Latvia.","value":"lv_vat"},{"description":"Company Registration Number - Malta.","value":"mt_crn"},{"description":"Tax identification number - Malta.","value":"mt_tin"},{"description":"VAT Registration Number - Malta.","value":"mt_vat"},{"description":"Registro Federal de Contribuyentes (RFC) - Mexico.","value":"mx_rfc"},{"description":"Malaysia Business Registration Number (BRN) - Malaysia.","value":"my_brn"},{"description":"Corporate Identity Number (MyCoID) - Malaysia.","value":"my_coid"},{"description":"Tax Identification Number (TIN) - Malaysia.","value":"my_itn"},{"description":"Malaysia Sales and Service Tax Number (SST) - Malaysia.","value":"my_sst"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"Chamber of Commerce (KVK) Number - Netherlands.","value":"nl_kvk"},{"description":"Tax Identification Number (RSIN) - Netherlands.","value":"nl_rsin"},{"description":"VAT Number (Btw-nr.) - Netherlands.","value":"nl_vat"},{"description":"Organisasjonsnummer - Norway.","value":"no_orgnr"},{"description":"New Zealand Business Number (NZBN) - New Zealand.","value":"nz_bn"},{"description":"Inland Revenue Department (IRD) Number - New Zealand.","value":"nz_ird"},{"description":"Registro Único de Contribuyentes (RUC) - Peru.","value":"pe_ruc"},{"description":"National Tax Number (NTN) - Pakistan.","value":"pk_ntn"},{"description":"Numer Identyfikacji Podatkowej (NIP) - Poland.","value":"pl_nip"},{"description":"REGON number - Poland.","value":"pl_regon"},{"description":"VAT Number (NIP) - Poland.","value":"pl_vat"},{"description":"VAT number (Número de Identificação Fiscal (NIF)) - Portugal.","value":"pt_vat"},{"description":"Codul de identificare fiscală (CIF/CUI) - Romania.","value":"ro_cui"},{"description":"Număr de ordine în registrul comerțului (Nr. ORC) - Romania.","value":"ro_orc"},{"description":"VAT Number (CIF) - Romania.","value":"ro_vat"},{"description":"Commercial Registration Number - Saudi Arabia.","value":"sa_crn"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Organisationsnummer - Sweden.","value":"se_orgnr"},{"description":"VAT Number (Momsnr.) - Sweden.","value":"se_vat"},{"description":"Unique Entity Number (UEN) - Singapore.","value":"sg_uen"},{"description":"Company Identification Number (Matična številka podjetja) - Slovenia.","value":"si_msp"},{"description":"Davčna številka - Slovenia.","value":"si_tin"},{"description":"VAT Number (ID za DDV) - Slovenia.","value":"si_vat"},{"description":"Daňové identifikačné číslo (DIČ) - Slovakia.","value":"sk_dic"},{"description":"Organization identification number (ICO) - Slovakia.","value":"sk_ico"},{"description":"VAT Number (IČ DPH) - Slovakia.","value":"sk_vat"},{"description":"Company registration number (CRN) - Thailand.","value":"th_crn"},{"description":"Partnership registration number (PRN) - Thailand.","value":"th_prn"},{"description":"Taxpayer Identification Number (TIN) (หมายเลขประจำตัวผู้เสียภาษี) - Thailand.","value":"th_tin"},{"description":"Employer Identification Number (EIN) - United States.","value":"us_ein"}]}}}},"monthly_estimated_revenue":{"type":"object","properties":{"amount":{"required":["currency","value"],"type":"object","properties":{"currency":{"type":"string","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":false},"value":{"type":"integer","description":"A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).","nullable":false}},"description":"Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD)."}},"description":"An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India."},"phone":{"type":"string","description":"The company’s phone number (used for verification)."},"registered_name":{"type":"string","description":"The business legal name."},"registration_date":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of registration, between 1 and 31."},"month":{"type":"integer","description":"The month of registration, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of registration."}},"description":"When the business was incorporated or registered."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The business registration address of the business entity in non latin script."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kana name."},"kanji":{"type":"object","properties":{"registered_name":{"type":"string","description":"Registered name of the business."}},"description":"Kanji name."}},"description":"The business legal name in non latin script."},"structure":{"type":"string","description":"The category identifying the legal structure of the business.","enum":["cooperative","free_zone_establishment","free_zone_llc","governmental_unit","government_instrumentality","incorporated_association","incorporated_non_profit","incorporated_partnership","limited_liability_partnership","llc","multi_member_llc","private_company","private_corporation","private_partnership","public_company","public_corporation","public_listed_corporation","public_partnership","registered_charity","single_member_llc","sole_establishment","sole_proprietorship","tax_exempt_government_instrumentality","trust","unincorporated_association","unincorporated_non_profit","unincorporated_partnership"],"x-stripeEnum":[{"description":"A cooperative organization.","value":"cooperative"},{"description":"A free zone establishment.","value":"free_zone_establishment"},{"description":"A free zone LLC.","value":"free_zone_llc"},{"description":"A branch of the state, local, or federal government of the US.","value":"governmental_unit"},{"description":"An organization formed by statute or by a government body in the US to perform a function, but not part of the government itself.","value":"government_instrumentality"},{"description":"An incorporated association.","value":"incorporated_association"},{"description":"An organization incorporated under US state law with tax-exempt status as a nonprofit (for example, 501(c)(3)).","value":"incorporated_non_profit"},{"description":"Also called ‘Limited Partnerships’ or ‘Registered Ordinary Partnerships’, these are businesses registered in Thailand owned by two or more people. The business’ legal entity and its legal personality is separated and distinct from the individual partners.","value":"incorporated_partnership"},{"description":"A limited liability partnership.","value":"limited_liability_partnership"},{"description":"An LLC.","value":"llc"},{"description":"A business with multiple owners or members that’s registered in a US state as a Limited Liability Company (LLC).","value":"multi_member_llc"},{"description":"A private company.","value":"private_company"},{"description":"A business incorporated in a US state that’s privately owned. It doesn’t have shares that are traded on a public stock exchange. It’s also called a closely-held corporation. If you’re a single-member LLC that has elected to be treated as a corporation for tax purposes, use this classification.","value":"private_corporation"},{"description":"A business jointly owned by two or more people that’s created through a partnership agreement.","value":"private_partnership"},{"description":"A public company.","value":"public_company"},{"description":"A business incorporated under the laws of a US state. Ownership shares of this corporation are traded on a public stock exchange.","value":"public_corporation"},{"description":"A public corporation that is specifically listed.","value":"public_listed_corporation"},{"description":"A business formed by a partnership agreement with one or more people, but has shares that are publicly traded on a stock exchange.","value":"public_partnership"},{"description":"A charitable organization, public foundation, or private foundation registered with the Canada Revenue Agency.","value":"registered_charity"},{"description":"A business entity registered with a US state as a limited liability company (LLC) and that has only one member or owner.","value":"single_member_llc"},{"description":"A sole establishment.","value":"sole_establishment"},{"description":"A business that isn’t a separate legal entity from its individual owner.","value":"sole_proprietorship"},{"description":"A tax exempt government instrumentality.","value":"tax_exempt_government_instrumentality"},{"description":"A trust.","value":"trust"},{"description":"A business venture of two or more people that doesn't have a formal corporate or entity structure.","value":"unincorporated_association"},{"description":"An unincorporated nonprofit.","value":"unincorporated_non_profit"},{"description":"An unincorporated partnership.","value":"unincorporated_partnership"}]}},"description":"Information about the company or business."},"country":{"type":"string","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](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code."},"entity_type":{"type":"string","description":"The entity type.","enum":["company","government_entity","individual","non_profit"],"x-stripeEnum":[{"description":"A registered business.","value":"company"},{"description":"A government entity.","value":"government_entity"},{"description":"An individual that is not registered as a business.","value":"individual"},{"description":"A nonprofit organization.","value":"non_profit"}]},"individual":{"required":["account","created","id","object","updated"],"type":"object","properties":{"account":{"type":"string","description":"The account ID which the individual belongs to.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}},"additional_addresses":{"type":"array","description":"Additional addresses associated with the individual.","items":{"required":["purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the individual.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The individual's full name."},"given_name":{"type":"string","description":"The individual's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The individual's last or family name."}}}},"additional_terms_of_service":{"type":"object","properties":{"account":{"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Stripe terms of service agreement."}},"description":"Terms of service acceptances."},"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The individual's residential address."},"created":{"type":"string","description":"Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"The individual's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"The individual's email address."},"given_name":{"type":"string","description":"The individual's first name."},"id":{"type":"string","description":"Unique identifier for the object."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the individual.","items":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]}}}},"legal_gender":{"type":"string","description":"The individual's gender (International regulations require either \"male” or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"metadata":{"type":"object","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."},"nationalities":{"type":"array","description":"The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).","items":{"type":"string"}},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value."},"phone":{"type":"string","description":"The individual's phone number."},"political_exposure":{"type":"string","description":"Indicates if the individual 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"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the individual is an authorizer of the Account's identity."},"director":{"type":"boolean","description":"Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations."},"executive":{"type":"boolean","description":"Whether the individual has significant responsibility to control, manage, or direct the organization."},"legal_guardian":{"type":"boolean","description":"Whether the individual is the legal guardian of the Account's representative."},"owner":{"type":"boolean","description":"Whether the individual is an owner of the Account's identity."},"percent_ownership":{"type":"string","description":"The percentage of the Account's identity that the individual owns.","format":"decimal"},"representative":{"type":"boolean","description":"Whether the individual 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."},"title":{"type":"string","description":"The individual's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this individual has with the Account's identity."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the individual."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The script names (e.g. non-Latin characters) associated with the individual."},"surname":{"type":"string","description":"The individual's last name."},"updated":{"type":"string","description":"Time at which the object was last updated.","format":"date-time"}},"description":"Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`."}},"description":"Information about the company, individual, and business represented by the Account."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"metadata":{"type":"object","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."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.account"]},"requirements":{"type":"object","properties":{"entries":{"type":"array","description":"A list of requirements for the Account.","items":{"required":["awaiting_action_from","description","errors","impact","minimum_deadline","requested_reasons"],"type":"object","properties":{"awaiting_action_from":{"type":"string","description":"Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.","enum":["stripe","user"],"x-stripeEnum":[{"description":"Integrator should do nothing.","value":"stripe"},{"description":"Integrator should take action.","value":"user"}]},"description":{"type":"string","description":"Machine-readable string describing the requirement."},"errors":{"type":"array","description":"Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.","items":{"required":["code","description"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code describing the 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_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_url_web_presence_detected","invalid_value_other","unresolvable_ip_address","unresolvable_postal_code","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_selfie_document_missing_photo","verification_selfie_face_mismatch","verification_selfie_manipulated","verification_selfie_unverified_other","verification_supportability","verification_token_stale"],"x-stripeEnum":[{"description":"The combination of the city, state, and postal code in the provided address could not be validated.","value":"invalid_address_city_state_postal_code"},{"description":"Invalid address. Your business address must be a valid physical address from which you conduct business and cannot be a Highway Contract Box.","value":"invalid_address_highway_contract_box"},{"description":"Invalid address. Your business address must be a valid physical address from which you conduct business and cannot be a private mailbox.","value":"invalid_address_private_mailbox"},{"description":"Business profile names must consist of recognizable words.","value":"invalid_business_profile_name"},{"description":"Generic or well-known business names aren't supported.","value":"invalid_business_profile_name_denylisted"},{"description":"Generic or well-known business names aren't supported.","value":"invalid_company_name_denylisted"},{"description":"Date of birth must be within the past 120 years.","value":"invalid_dob_age_over_maximum"},{"description":"Underage. Age must be at least 18.","value":"invalid_dob_age_under_18"},{"description":"Person must be at least 13 years old.","value":"invalid_dob_age_under_minimum"},{"description":"Your product description must be at least 10 characters.","value":"invalid_product_description_length"},{"description":"Your product description must be different from your URL.","value":"invalid_product_description_url_match"},{"description":"The representative must have an address in the same country as the company.","value":"invalid_representative_country"},{"description":"The statement descriptor must be similar to your business name, legal entity name, or URL.","value":"invalid_statement_descriptor_business_mismatch"},{"description":"Generic or well-known statement descriptors aren't supported.","value":"invalid_statement_descriptor_denylisted"},{"description":"The statement descriptor must be at least 5 characters.","value":"invalid_statement_descriptor_length"},{"description":"Generic or well-known statement descriptor prefixes aren't supported.","value":"invalid_statement_descriptor_prefix_denylisted"},{"description":"The statement descriptor prefix must be similar to your statement descriptor, business name, legal entity name, or URL.","value":"invalid_statement_descriptor_prefix_mismatch"},{"description":"The street name and/or number for the provided address could not be validated.","value":"invalid_street_address"},{"description":"The provided tax ID must have 9 digits.","value":"invalid_tax_id"},{"description":"Tax IDs must be a unique set of 9 numbers without dashes or other special characters.","value":"invalid_tax_id_format"},{"description":"The existing terms of service signature has been invalidated because the account's tax ID has changed. The account needs to accept the terms of service again. For more information, see [this documentation](/connect/update-verified-information).","value":"invalid_tos_acceptance"},{"description":"Generic business URLs aren't supported.","value":"invalid_url_denylisted"},{"description":"URL must be formatted as https://example.com.","value":"invalid_url_format"},{"description":"The business information on your website must match the details you provided to Stripe.","value":"invalid_url_website_business_information_mismatch"},{"description":"Your provided website appears to be empty.","value":"invalid_url_website_empty"},{"description":"This URL couldn't be reached. Make sure it's available and entered correctly or provide another.","value":"invalid_url_website_inaccessible"},{"description":"Your provided website appears to be geographically blocked.","value":"invalid_url_website_inaccessible_geoblocked"},{"description":"Your provided website appears to be password protected.","value":"invalid_url_website_inaccessible_password_protected"},{"description":"Your website seems to be missing some required information. [Learn about the requirements](https://support.stripe.com/questions/information-required-on-your-business-website-to-use-stripe).","value":"invalid_url_website_incomplete"},{"description":"Your provided website appears to have an incomplete cancellation policy.","value":"invalid_url_website_incomplete_cancellation_policy"},{"description":"Your provided website appears to have incomplete customer service details.","value":"invalid_url_website_incomplete_customer_service_details"},{"description":"Your provided website appears to have incomplete legal restrictions.","value":"invalid_url_website_incomplete_legal_restrictions"},{"description":"Your provided website appears to have an incomplete refund policy.","value":"invalid_url_website_incomplete_refund_policy"},{"description":"Your provided website appears to have an incomplete refund policy.","value":"invalid_url_website_incomplete_return_policy"},{"description":"Your provided website appears to have incomplete terms and conditions.","value":"invalid_url_website_incomplete_terms_and_conditions"},{"description":"Your provided website appears to be incomplete or under construction.","value":"invalid_url_website_incomplete_under_construction"},{"description":"We weren't able to verify your business using the URL you provided. Make sure it's entered correctly or provide another URL.","value":"invalid_url_website_other"},{"description":"Because you use a website, app, social media page, or online profile to sell products or services, you must provide a URL for your business.","value":"invalid_url_web_presence_detected"},{"description":"An invalid value was provided for the related field. This is a general error code.","value":"invalid_value_other"},{"description":"IP address did not resolve to a valid tax location.","value":"unresolvable_ip_address"},{"description":"Postal code did not resolve to a valid tax location.","value":"unresolvable_postal_code"},{"description":"Directors on the account don't match government records. Update the account and upload a directorship document with current directors.","value":"verification_directors_mismatch"},{"description":"Address on the account doesn't match the verification document. Update the account and upload the document again.","value":"verification_document_address_mismatch"},{"description":"The company address was missing on the document. Upload a document that includes the address.","value":"verification_document_address_missing"},{"description":"File seems to be corrupted or damaged. Provide a different file.","value":"verification_document_corrupt"},{"description":"Document isn't supported in this person's country or region. Provide a supported verification document.","value":"verification_document_country_not_supported"},{"description":"Directors on the account don't match the document provided. Update the account to match the registration document and upload it again.","value":"verification_document_directors_mismatch"},{"description":"The date of birth (DOB) on the document did not match the DOB on the account. Upload a document with a matching DOB or update the DOB on the account.","value":"verification_document_dob_mismatch"},{"description":"The same type of document was used twice. Two unique types of documents are required for verification.","value":"verification_document_duplicate_type"},{"description":"The document could not be used for verification because it has expired. If it's an identity document, its expiration date must be after the date the document was submitted. If it's an address document, the issue date must be within the last six months.","value":"verification_document_expired"},{"description":"Document is a photo or screenshot. Upload the original document.","value":"verification_document_failed_copy"},{"description":"Document seems to be in grayscale or black and white. Provide a full color photo of the document for verification.","value":"verification_document_failed_greyscale"},{"description":"The document could not be verified for an unknown reason. Ensure that the document follows the [guidelines for document uploads](/acceptable-verification-documents).","value":"verification_document_failed_other"},{"description":"A test data helper was supplied to simulate verification failure. Refer to the documentation for [test file tokens](/connect/testing#test-file-tokens).","value":"verification_document_failed_test_mode"},{"description":"Document seems to be altered. This could be because it's fraudulent.","value":"verification_document_fraudulent"},{"description":"Tax ID number on the account doesn't match the verification document. Update the account to match the verification document and upload it again.","value":"verification_document_id_number_mismatch"},{"description":"The company ID number was missing on the document. Upload a document that includes the ID number.","value":"verification_document_id_number_missing"},{"description":"Document doesn't include required information. Make sure all pages and sections are complete.","value":"verification_document_incomplete"},{"description":"Document isn't an acceptable form of identification in this account's country or region. Ensure that the document follows the [guidelines for document uploads](/acceptable-verification-documents).","value":"verification_document_invalid"},{"description":"Document is missing an expiration date. Provide a document with an expiration date.","value":"verification_document_issue_or_expiry_date_missing"},{"description":"Document seems to be altered. This could be because it's fraudulent.","value":"verification_document_manipulated"},{"description":"The back of the document is missing. Provide both sides of the document for verification.","value":"verification_document_missing_back"},{"description":"The front of the document is missing. Provide both sides of the document for verification.","value":"verification_document_missing_front"},{"description":"The name on the account does not match the name on the document. Update the account to match the document and upload it again.","value":"verification_document_name_mismatch"},{"description":"The company name was missing on the document. Upload a document that includes the company name.","value":"verification_document_name_missing"},{"description":"The nationality on the document did not match the person's stated nationality. Update the person's stated nationality, or upload a document that matches it.","value":"verification_document_nationality_mismatch"},{"description":"Document isn't readable. This could be because it's blurry or dark, or because the document was obstructed.","value":"verification_document_not_readable"},{"description":"Document doesn't seem to be signed. Provide a signed document.","value":"verification_document_not_signed"},{"description":"Document didn't upload because of a problem with the file.","value":"verification_document_not_uploaded"},{"description":"ID photo on the document doesn't match the selfie provided by this account.","value":"verification_document_photo_mismatch"},{"description":"Document file is too large. Upload one that's 10MB or less.","value":"verification_document_too_large"},{"description":"The provided document type is not accepted. Ensure that the document follows the [guidelines for document uploads](/acceptable-verification-documents).","value":"verification_document_type_not_supported"},{"description":"Extraneous directors have been added to the account. Update the account and upload a registration document with current directors.","value":"verification_extraneous_directors"},{"description":"The address on the account could not be verified. Correct any errors in the address field or upload a document that includes the address.","value":"verification_failed_address_match"},{"description":"The Importer Exporter Code (IEC) number on your account could not be verified. Either correct any possible errors in the company name or IEC number. Refer to the support article for [accepting international payments in India](https://support.stripe.com/questions/accepting-international-payments-from-stripe-accounts-in-india).","value":"verification_failed_business_iec_number"},{"description":"The document could not be verified. Upload a document that includes the company name, ID number, and address fields.","value":"verification_failed_document_match"},{"description":"ID number on the document doesn't match the ID number provided by this account.","value":"verification_failed_id_number_match"},{"description":"The person's keyed-in identity information could not be verified. Correct any errors or upload a document that matches the identity fields (e.g., name and date of birth) entered.","value":"verification_failed_keyed_identity"},{"description":"The keyed-in information on the account could not be verified. Correct any errors in the company name, ID number, or address fields. You can also upload a document that includes those fields.","value":"verification_failed_keyed_match"},{"description":"The company name on the account could not be verified. Correct any errors in the company name field or upload a document that includes the company name.","value":"verification_failed_name_match"},{"description":"Verification failed for an unknown reason. Correct any errors and resubmit the required fields.","value":"verification_failed_other"},{"description":"The authority of the account representative could not be verified. Please change the account representative to a person who is registered as an authorized representative. Please refer to [this support article](https://support.stripe.com/questions/representative-authority-verification).","value":"verification_failed_representative_authority"},{"description":"We could not verify that the person resides at the provided address. The address must be a valid physical address where the individual resides and cannot be a P.O. Box.","value":"verification_failed_residential_address"},{"description":"The tax ID on the account cannot be verified by the IRS. Either correct any possible errors in the company name or tax ID, or upload a document that contains those fields.","value":"verification_failed_tax_id_match"},{"description":"The tax ID on the account was not recognized by the IRS. Refer to the support article for [newly-issued tax ID numbers](https://support.stripe.com/questions/newly-issued-us-tax-id-number-tin-not-verifying).","value":"verification_failed_tax_id_not_issued"},{"description":"Directors are missing from the account. Update the account and upload a registration document with current directors.","value":"verification_missing_directors"},{"description":"We have identified executives that haven't been added on the account. Add any missing executives to the account.","value":"verification_missing_executives"},{"description":"We have identified owners that haven't been added on the account. Add any missing owners to the account.","value":"verification_missing_owners"},{"description":"We have identified holding companies with significant percentage ownership. Upload a Memorandum of Association for each of the holding companies.","value":"verification_requires_additional_memorandum_of_associations"},{"description":"The uploaded document contains holding companies with significant percentage ownership. Upload a proof of registration for each of the holding companies.","value":"verification_requires_additional_proof_of_registration"},{"description":"Photo is missing from the document. Provide a document with a photo.","value":"verification_selfie_document_missing_photo"},{"description":"Selfie doesn't match the photo on the document. Provide a clear, well-lit, and unobstructed selfie.","value":"verification_selfie_face_mismatch"},{"description":"Selfie seems to be altered. This could be because it's fraudulent.","value":"verification_selfie_manipulated"},{"description":"Selfie couldn't be verified. Provide a clear, well-lit, and unobstructed selfie that matches the photo on the identity document.","value":"verification_selfie_unverified_other"},{"description":"We can't accept payments for this business under the Stripe Services Agreement without additional verification, as mentioned in the [prohibited and restricted businesses list](https://stripe.com/legal/restricted-businesses).","value":"verification_supportability"},{"description":"The eID token submitted for liveness verification must be submitted within 5 minutes of obtaining it from the partner.","value":"verification_token_stale"}]},"description":{"type":"string","description":"Human-readable description of the error."}}}},"impact":{"type":"object","properties":{"restricts_capabilities":{"type":"array","description":"The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.","items":{"required":["capability","configuration","deadline"],"type":"object","properties":{"capability":{"type":"string","description":"The name of the Capability which will be restricted.","enum":["ach_debit_payments","acss_debit_payments","affirm_payments","afterpay_clearpay_payments","alma_payments","amazon_pay_payments","automatic_indirect_tax","au_becs_debit_payments","bacs_debit_payments","bancontact_payments","bank_accounts.local","bank_accounts.wire","blik_payments","boleto_payments","cards","card_payments","cartes_bancaires_payments","cashapp_payments","eps_payments","fpx_payments","gb_bank_transfer_payments","grabpay_payments","ideal_payments","jcb_payments","jp_bank_transfer_payments","kakao_pay_payments","klarna_payments","konbini_payments","kr_card_payments","link_payments","mobilepay_payments","multibanco_payments","mx_bank_transfer_payments","naver_pay_payments","oxxo_payments","p24_payments","payco_payments","paynow_payments","pay_by_bank_payments","promptpay_payments","revolut_pay_payments","samsung_pay_payments","sepa_bank_transfer_payments","sepa_debit_payments","stripe_balance.payouts","stripe_balance.stripe_transfers","swish_payments","twint_payments","us_bank_transfer_payments","zip_payments"],"x-stripeEnum":[{"description":"Capability to use ACH Debit payments.","value":"ach_debit_payments"},{"description":"Capability to use ACSS Debit payments.","value":"acss_debit_payments"},{"description":"Capability to use Affirm payments.","value":"affirm_payments"},{"description":"Capability to use Afterpay Clearpay payments.","value":"afterpay_clearpay_payments"},{"description":"Capability to use Alma payments.","value":"alma_payments"},{"description":"Capability to use Amazon Pay payments.","value":"amazon_pay_payments"},{"description":"Capability to have taxes automatically corrected.","value":"automatic_indirect_tax"},{"description":"Capability to use AU BECS Debit payments.","value":"au_becs_debit_payments"},{"description":"Capability to use BACS Direct Debit payments.","value":"bacs_debit_payments"},{"description":"Capability to use Bancontact payments.","value":"bancontact_payments"},{"description":"Capability to use Bank Accounts Local payouts.","value":"bank_accounts.local"},{"description":"Capability to use Bank Accounts Wire payouts.","value":"bank_accounts.wire"},{"description":"Capability to use BLIK payments.","value":"blik_payments"},{"description":"Capability to use Boleto payments.","value":"boleto_payments"},{"description":"Capability to use Card payouts.","value":"cards"},{"description":"Capability to collect card payments.","value":"card_payments"},{"description":"Capability to use Cartes Bancaires payments.","value":"cartes_bancaires_payments"},{"description":"Capability to use CashApp payments.","value":"cashapp_payments"},{"description":"Capability to use EPS payments.","value":"eps_payments"},{"description":"Capability to use FPX payments.","value":"fpx_payments"},{"description":"Capability to use GB bank transfer payments.","value":"gb_bank_transfer_payments"},{"description":"Capability to use GrabPay payments.","value":"grabpay_payments"},{"description":"Capability to use IDEAL payments.","value":"ideal_payments"},{"description":"Capability to use JCB payments.","value":"jcb_payments"},{"description":"Capability to use JP bank transfer payments.","value":"jp_bank_transfer_payments"},{"description":"Capability to use Kakao Pay payments.","value":"kakao_pay_payments"},{"description":"Capability to use Klarna payments.","value":"klarna_payments"},{"description":"Capability to use Konbini payments.","value":"konbini_payments"},{"description":"Capability to use KR card payments.","value":"kr_card_payments"},{"description":"Capability to use Link payments.","value":"link_payments"},{"description":"Capability to use MobilePay payments.","value":"mobilepay_payments"},{"description":"Capability to use Multibanco payments.","value":"multibanco_payments"},{"description":"Capability to use MX bank transfer payments.","value":"mx_bank_transfer_payments"},{"description":"Capability to use Naver Pay payments.","value":"naver_pay_payments"},{"description":"Capability to use OXXO payments.","value":"oxxo_payments"},{"description":"Capability to use P24 payments.","value":"p24_payments"},{"description":"Capability to use Payco payments.","value":"payco_payments"},{"description":"Capability to use PayNow payments.","value":"paynow_payments"},{"description":"Capability to use Pay by Bank payments.","value":"pay_by_bank_payments"},{"description":"Capability to use PromptPay payments.","value":"promptpay_payments"},{"description":"Capability to use Revolut Pay payments.","value":"revolut_pay_payments"},{"description":"Capability to use Samsung Pay payments.","value":"samsung_pay_payments"},{"description":"Capability to use SEPA bank transfer payments.","value":"sepa_bank_transfer_payments"},{"description":"Capability to use SEPA Debit payments.","value":"sepa_debit_payments"},{"description":"Capability to do payouts from the user's Stripe balance.","value":"stripe_balance.payouts"},{"description":"Capability to receive transfers to the user's Stripe balance.","value":"stripe_balance.stripe_transfers"},{"description":"Capability to use Swish payments.","value":"swish_payments"},{"description":"Capability to use Twint payments.","value":"twint_payments"},{"description":"Capability to use US bank transfer payments.","value":"us_bank_transfer_payments"},{"description":"Capability to use Zip payments.","value":"zip_payments"}]},"configuration":{"type":"string","description":"The configuration which specifies the Capability which will be restricted.","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"Customer configuration.","value":"customer"},{"description":"Merchant configuration.","value":"merchant"},{"description":"Recipient configuration.","value":"recipient"}]},"deadline":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The current status of the requirement's impact.","enum":["currently_due","eventually_due","past_due"],"x-stripeEnum":[{"description":"The requirement needs to be collected to keep the account enabled.","value":"currently_due"},{"description":"The requirement needs to be collected assuming all volume thresholds are met.","value":"eventually_due"},{"description":"The requirement needs to be collected to enable the account.","value":"past_due"}]}},"description":"Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction."}}}}},"description":"A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information."},"minimum_deadline":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The current status of the requirement's impact.","enum":["currently_due","eventually_due","past_due"],"x-stripeEnum":[{"description":"The requirement needs to be collected to keep the account enabled.","value":"currently_due"},{"description":"The requirement needs to be collected assuming all volume thresholds are met.","value":"eventually_due"},{"description":"The requirement needs to be collected to enable the account.","value":"past_due"}]}},"description":"The soonest point when the account will be impacted by not providing the requirement."},"reference":{"required":["type"],"type":"object","properties":{"inquiry":{"type":"string","description":"If `inquiry` is the type, the inquiry token."},"resource":{"type":"string","description":"If `resource` is the type, the resource token."},"type":{"type":"string","description":"The type of the reference. If the type is \"inquiry\", the inquiry token can be found in the \"inquiry\" field.\nOtherwise the type is an API resource, the token for which can be found in the \"resource\" field.","enum":["inquiry","payment_method","person"],"x-stripeEnum":[{"description":"An inquiry from Stripe.","value":"inquiry"},{"description":"A payment method.","value":"payment_method"},{"description":"A person resource.","value":"person"}]}},"description":"A reference to the location of the requirement."},"requested_reasons":{"type":"array","description":"A list of reasons why Stripe is collecting the requirement.","items":{"required":["code"],"type":"object","properties":{"code":{"type":"string","description":"Machine-readable description of Stripe's reason for collecting the requirement.","enum":["routine_onboarding","routine_verification"],"x-stripeEnum":[{"description":"Stripe needs a basic set of information.","value":"routine_onboarding"},{"description":"Stripe needs to review provided information.","value":"routine_verification"}]}}}}}}},"summary":{"type":"object","properties":{"minimum_deadline":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"The current strictest status of all requirements on the Account.","enum":["currently_due","eventually_due","past_due"],"x-stripeEnum":[{"description":"The requirement needs to be collected to keep the account enabled.","value":"currently_due"},{"description":"The requirement needs to be collected assuming all volume thresholds are met.","value":"eventually_due"},{"description":"The requirement needs to be collected to enable the account.","value":"past_due"}]},"time":{"type":"string","description":"The soonest RFC3339 date & time UTC value a requirement can impact the Account.","format":"date-time"}},"description":"The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`."}},"description":"An object containing an overview of requirements for the Account."}},"description":"Information about the active requirements for the Account, including what information needs to be collected, and by when."}},"description":"An Account v2 object represents a company, individual, or other entity that interacts with a platform on Stripe. It contains both identifying information and properties that control its behavior and functionality. An Account can have one or more configurations that enable sets of related features, such as allowing it to act as a merchant or customer.\nThe Accounts v2 API supports both the Global Payouts preview feature and the Connect-Billing integration preview feature. However, a particular Account can only access one of them.\nThe Connect-Billing integration preview feature allows an Account v2 to pay subscription fees to a platform. An Account v1 required a separate Customer object to pay subscription fees.","x-resourceId":"v2.core.account","x-stableId":"v2_resource_account","x-stripeDocsSamples":[{"response":{"id":"acct_1Nv0FGQ9RKHgCVdK","object":"v2.core.account","applied_configurations":["customer","merchant"],"configuration":{"customer":{"automatic_indirect_tax":{"exempt":"none","location":{"country":"US","state":"NY"},"location_source":"identity_address"},"billing":{"invoice":{"next_sequence":1,"prefix":"5626C87C","custom_fields":[]}},"capabilities":{"automatic_indirect_tax":{"status":"active","status_details":[]}}},"merchant":{"card_payments":{"decline_on":{"avs_failure":false,"cvc_failure":false}},"capabilities":{"card_payments":{"status":"active","status_details":[]},"stripe_balance":{"payouts":{"status":"active","status_details":[]}}}}},"contact_email":"furever@example.com","created":"2025-03-28T19:59:16.000Z","dashboard":"full","identity":{"business_details":{"registered_name":"Furever","address":{"country":"US","postal_code":"10001"}},"country":"US","entity_type":"company"},"defaults":{"currency":"usd","responsibilities":{"fees_collector":"stripe","losses_collector":"stripe","requirements_collector":"stripe"}},"display_name":"Furever"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/core/accounts"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/accounts"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/accounts/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/core/accounts/{id}"},{"method_name":"close","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/accounts/{id}/close"}],"x-stripeResource":{"class_name":"Account","in_package":"v2.core"}},"v2.core.account.closed":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account.closed"]}},"description":"This event occurs when an account is closed.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account.closed"}},"v2.core.account.created":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events.","nullable":true}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account.created"]}},"description":"Occurs when an Account is created.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account.created"}},"v2.core.account.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account.updated"]}},"description":"Occurs when an Account is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account.updated"}},"v2.core.account_configuration.customer_.capability_status_updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["updated_capability"],"type":"object","properties":{"updated_capability":{"type":"string","description":"Open Enum. The capability which had its status updated.","enum":["automatic_indirect_tax"],"x-stripeEnum":[{"description":"Refers to the `customer.capabilities.card_payments` capability.","value":"automatic_indirect_tax"}]}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.customer].capability_status_updated"]}},"description":"Occurs when the status of an Account's customer configuration capability is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"updated_capability":"automatic_indirect_tax"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.customer].capability_status_updated"}},"v2.core.account_configuration.customer_.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.customer].updated"]}},"description":"Occurs when an Account's customer configuration is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.customer].updated"}},"v2.core.account_configuration.merchant_.capability_status_updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["updated_capability"],"type":"object","properties":{"updated_capability":{"type":"string","description":"Open Enum. The capability which had its status updated.","enum":["ach_debit_payments","acss_debit_payments","affirm_payments","afterpay_clearpay_payments","alma_payments","amazon_pay_payments","au_becs_debit_payments","bacs_debit_payments","bancontact_payments","blik_payments","boleto_payments","card_payments","cartes_bancaires_payments","cashapp_payments","eps_payments","fpx_payments","gb_bank_transfer_payments","grabpay_payments","ideal_payments","jcb_payments","jp_bank_transfer_payments","kakao_pay_payments","klarna_payments","konbini_payments","kr_card_payments","link_payments","mobilepay_payments","multibanco_payments","mx_bank_transfer_payments","naver_pay_payments","oxxo_payments","p24_payments","payco_payments","paynow_payments","stripe_balance.payouts","pay_by_bank_payments","promptpay_payments","revolut_pay_payments","samsung_pay_payments","sepa_bank_transfer_payments","sepa_debit_payments","swish_payments","twint_payments","us_bank_transfer_payments","zip_payments"],"x-stripeEnum":[{"description":"Refers to the `merchant.capabilities.ach_debit_payments` capability.","value":"ach_debit_payments"},{"description":"Refers to the `merchant.capabilities.acss_debit_payments` capability.","value":"acss_debit_payments"},{"description":"Refers to the `merchant.capabilities.affirm_payments` capability.","value":"affirm_payments"},{"description":"Refers to the `merchant.capabilities.afterpay_clearpay_payments` capability.","value":"afterpay_clearpay_payments"},{"description":"Refers to the `merchant.capabilities.alma_payments` capability.","value":"alma_payments"},{"description":"Refers to the `merchant.capabilities.amazon_pay_payments` capability.","value":"amazon_pay_payments"},{"description":"Refers to the `merchant.capabilities.au_becs_debit_payments` capability.","value":"au_becs_debit_payments"},{"description":"Refers to the `merchant.capabilities.bacs_debit_payments` capability.","value":"bacs_debit_payments"},{"description":"Refers to the `merchant.capabilities.bancontact_payments` capability.","value":"bancontact_payments"},{"description":"Refers to the `merchant.capabilities.blik_payments` capability.","value":"blik_payments"},{"description":"Refers to the `merchant.capabilities.boleto_payments` capability.","value":"boleto_payments"},{"description":"Refers to the `merchant.capabilities.card_payments` capability.","value":"card_payments"},{"description":"Refers to the `merchant.capabilities.cartes_bancaires_payments` capability.","value":"cartes_bancaires_payments"},{"description":"Refers to the `merchant.capabilities.cashapp_payments` capability.","value":"cashapp_payments"},{"description":"Refers to the `merchant.capabilities.eps_payments` capability.","value":"eps_payments"},{"description":"Refers to the `merchant.capabilities.fpx_payments` capability.","value":"fpx_payments"},{"description":"Refers to the `merchant.capabilities.gb_bank_transfer_payments` capability.","value":"gb_bank_transfer_payments"},{"description":"Refers to the `merchant.capabilities.grabpay_payments` capability.","value":"grabpay_payments"},{"description":"Refers to the `merchant.capabilities.ideal_payments` capability.","value":"ideal_payments"},{"description":"Refers to the `merchant.capabilities.jcb_payments` capability.","value":"jcb_payments"},{"description":"Refers to the `merchant.capabilities.jp_bank_transfer_payments` capability.","value":"jp_bank_transfer_payments"},{"description":"Refers to the `merchant.capabilities.kakao_pay_payments` capability.","value":"kakao_pay_payments"},{"description":"Refers to the `merchant.capabilities.klarna_payments` capability.","value":"klarna_payments"},{"description":"Refers to the `merchant.capabilities.konbini_payments` capability.","value":"konbini_payments"},{"description":"Refers to the `merchant.capabilities.kr_card_payments` capability.","value":"kr_card_payments"},{"description":"Refers to the `merchant.capabilities.link_payments` capability.","value":"link_payments"},{"description":"Refers to the `merchant.capabilities.mobilepay_payments` capability.","value":"mobilepay_payments"},{"description":"Refers to the `merchant.capabilities.multibanco_payments` capability.","value":"multibanco_payments"},{"description":"Refers to the `merchant.capabilities.mx_bank_transfer_payments` capability.","value":"mx_bank_transfer_payments"},{"description":"Refers to the `merchant.capabilities.naver_pay_payments` capability.","value":"naver_pay_payments"},{"description":"Refers to the `merchant.capabilities.oxxo_payments` capability.","value":"oxxo_payments"},{"description":"Refers to the `merchant.capabilities.p24_payments` capability.","value":"p24_payments"},{"description":"Refers to the `merchant.capabilities.payco_payments` capability.","value":"payco_payments"},{"description":"Refers to the `merchant.capabilities.paynow_payments` capability.","value":"paynow_payments"},{"description":"Refers to the `merchant.capabilities.stripe_balance.payouts` capability.","value":"stripe_balance.payouts"},{"description":"Refers to the `merchant.capabilities.pay_by_bank_payments` capability.","value":"pay_by_bank_payments"},{"description":"Refers to the `merchant.capabilities.promptpay_payments` capability.","value":"promptpay_payments"},{"description":"Refers to the `merchant.capabilities.revolut_pay_payments` capability.","value":"revolut_pay_payments"},{"description":"Refers to the `merchant.capabilities.samsung_pay_payments` capability.","value":"samsung_pay_payments"},{"description":"Refers to the `merchant.capabilities.sepa_bank_transfer_payments` capability.","value":"sepa_bank_transfer_payments"},{"description":"Refers to the `merchant.capabilities.sepa_debit_payments` capability.","value":"sepa_debit_payments"},{"description":"Refers to the `merchant.capabilities.swish_payments` capability.","value":"swish_payments"},{"description":"Refers to the `merchant.capabilities.twint_payments` capability.","value":"twint_payments"},{"description":"Refers to the `merchant.capabilities.us_bank_transfer_payments` capability.","value":"us_bank_transfer_payments"},{"description":"Refers to the `merchant.capabilities.zip_payments` capability.","value":"zip_payments"}]}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.merchant].capability_status_updated"]}},"description":"Occurs when the status of an Account's merchant configuration capability is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"updated_capability":"ach_debit_payments"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.merchant].capability_status_updated"}},"v2.core.account_configuration.merchant_.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.merchant].updated"]}},"description":"Occurs when an Account's merchant configuration is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.merchant].updated"}},"v2.core.account_configuration.recipient_.capability_status_updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["updated_capability"],"type":"object","properties":{"updated_capability":{"type":"string","description":"Open Enum. The capability which had its status updated.","enum":["bank_accounts.local","bank_accounts.wire","cards","stripe_balance.payouts","stripe_balance.stripe_transfers","stripe.transfers"],"x-stripeEnum":[{"description":"Refers to the `recipient.capabilities.bank_accounts.local` capability.","value":"bank_accounts.local"},{"description":"Refers to the `recipient.capabilities.bank_accounts.wire` capability.","value":"bank_accounts.wire"},{"description":"Refers to the `recipient.capabilities.cards` capability.","value":"cards"},{"description":"Refers to the `recipient.capabilities.stripe_balance.payouts` capability.","value":"stripe_balance.payouts"},{"description":"Refers to the `recipient.capabilities.stripe_balance.stripe_transfers` capability.","value":"stripe_balance.stripe_transfers"},{"description":"DEPRECATED: use RECIPIENT_CONFIG__STRIPE_TRANSFERS_CAPABILITY instead -- Refers to the `recipient.capabilities.stripe.transfers` capability.","value":"stripe.transfers"}]}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.recipient].capability_status_updated"]}},"description":"Occurs when the status of an Account's recipient configuration capability is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"updated_capability":"bank_accounts.local"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.recipient].capability_status_updated"}},"v2.core.account_configuration.recipient_.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[configuration.recipient].updated"]}},"description":"Occurs when a Recipient's configuration is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[configuration.recipient].updated"}},"v2.core.account_defaults_.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[defaults].updated"]}},"description":"This event occurs when account defaults are created or updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[defaults].updated"}},"v2.core.account_future_requirements_.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[future_requirements].updated"]}},"description":"Occurs when an Account's future requirements are updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[future_requirements].updated"}},"v2.core.account_identity_.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[identity].updated"]}},"description":"Occurs when an Identity is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[identity].updated"}},"v2.core.account_link":{"title":"Account Link","required":["account","created","expires_at","livemode","object","url","use_case"],"type":"object","properties":{"account":{"type":"string","description":"The ID of the connected account this Account Link applies to.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}},"created":{"type":"string","description":"The timestamp at which this Account Link was created.","format":"date-time"},"expires_at":{"type":"string","description":"The timestamp at which this Account Link will expire.","format":"date-time"},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.account_link"]},"url":{"type":"string","description":"The URL at which the account can access the Stripe-hosted flow."},"use_case":{"required":["type"],"type":"object","properties":{"account_onboarding":{"required":["configurations","refresh_url"],"type":"object","properties":{"collection_options":{"type":"object","properties":{"fields":{"type":"string","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"],"x-stripeEnum":[{"description":"Collect currently_due requirements.","value":"currently_due"},{"description":"Collect eventually_due and currently_due requirements.","value":"eventually_due"}]},"future_requirements":{"type":"string","description":"Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.","enum":["include","omit"],"x-stripeEnum":[{"description":"Include future requirements.","value":"include"},{"description":"Omit future requirements.","value":"omit"}]}},"description":"Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow."},"configurations":{"type":"array","description":"Open Enum. A v2/core/account can be configured to enable certain functionality. The configuration param targets the v2/core/account_link to collect information for the specified v2/core/account configuration/s.","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"To onboard a new customer.","value":"customer"},{"description":"To onboard a new merchant.","value":"merchant"},{"description":"To onboard a new recipient.","value":"recipient"}]}},"refresh_url":{"type":"string","description":"The URL the user will be redirected to if the AccountLink is expired, has been used, or is otherwise invalid. The URL you specify should attempt to generate a new AccountLink with the same parameters used to create the original AccountLink, then redirect the user to the new AccountLink’s URL so they can continue the flow. If a new AccountLink cannot be generated or the redirect fails you should display a useful error to the user. Please make sure to implement authentication before redirecting the user in case this URL is leaked to a third party."},"return_url":{"type":"string","description":"The URL that the user will be redirected to upon completing the linked flow."}},"description":"Hash containing configuration options for an Account Link object that onboards a new account."},"account_update":{"required":["configurations","refresh_url"],"type":"object","properties":{"collection_options":{"type":"object","properties":{"fields":{"type":"string","description":"Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). The default value is `currently_due`.","enum":["currently_due","eventually_due"],"x-stripeEnum":[{"description":"Collect currently_due requirements.","value":"currently_due"},{"description":"Collect eventually_due and currently_due requirements.","value":"eventually_due"}]},"future_requirements":{"type":"string","description":"Specifies whether the platform collects future_requirements in addition to requirements in Connect Onboarding. The default value is `omit`.","enum":["include","omit"],"x-stripeEnum":[{"description":"Include future requirements.","value":"include"},{"description":"Omit future requirements.","value":"omit"}]}},"description":"Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding flow."},"configurations":{"type":"array","description":"Open Enum. A v2/account can be configured to enable certain functionality. The configuration param targets the v2/account_link to collect information for the specified v2/account configuration/s.","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"To onboard a new customer.","value":"customer"},{"description":"To onboard a new merchant.","value":"merchant"},{"description":"To update a new recipient.","value":"recipient"}]}},"refresh_url":{"type":"string","description":"The URL the user will be redirected to if the Account Link is expired, has been used, 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 URL so they can continue the flow. Make sure to authenticate the user before redirecting to the new Account Link, in case the URL leaks to a third party. If a new Account Link can't be generated, or if the redirect fails, you should display a useful error to the user."},"return_url":{"type":"string","description":"The URL that the user will be redirected to upon completing the linked flow."}},"description":"Hash containing configuration options for an Account Link that updates an existing account."},"type":{"type":"string","description":"Open Enum. The type of Account Link the user is requesting.","enum":["account_onboarding","account_update"],"x-stripeEnum":[{"description":"A form to collect all required information to onboard a new account.","value":"account_onboarding"},{"description":"A form to collect all required information to update a previously onboarded account.","value":"account_update"}]}},"description":"Hash containing usage options."}},"description":"Account Links let a platform create a temporary, single-use URL that an account can use to access a Stripe-hosted flow for collecting or updating required information.","x-resourceId":"v2.core.account_link","x-stableId":"v2_resource_account_link","x-stripeDocsSamples":[{"response":{"object":"v2.core.account_link","account":"acct_1Nv0FGQ9RKHgCVdK","created":"2025-03-27T17:15:18.000Z","expires_at":"2025-03-27T17:25:18.000Z","url":"https://accounts.stripe.com/r/acct_1Nv0FGQ9RKHgCVdK#alu_test_61SGhyomRuz7xsw5216SGhyj0ASQdCLwMKdRUF3mi3H6","use_case":{"account_onboarding":{"configurations":["recipient"],"refresh_url":"https://example.com/reauth","return_url":"https://example.com/return"},"type":"account_onboarding"}}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/account_links"}],"x-stripeResource":{"class_name":"AccountLink","in_package":"v2.core"}},"v2.core.account_link.returned":{"required":["changes","created","data","id","livemode","object","type"],"type":"object","properties":{"changes":{"type":"object","description":"Always `null` because this event type doesn't track related object changes.","nullable":true},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["account_id","configurations","use_case"],"type":"object","properties":{"account_id":{"type":"string","description":"The ID of the v2 account."},"configurations":{"type":"array","description":"Configurations on the Account that was onboarded via the account link.","items":{"type":"string","enum":["customer","merchant","recipient"],"x-stripeEnum":[{"description":"The Account can be used as a customer.","value":"customer"},{"description":"The Account can be used as a merchant.","value":"merchant"},{"description":"The Account can be used as a recipient.","value":"recipient"}]}},"use_case":{"type":"string","description":"Open Enum. The use case type of the account link that has been completed.","enum":["account_onboarding","account_update"],"x-stripeEnum":[{"description":"Refers to the `account_onboarding` use case.","value":"account_onboarding"},{"description":"Refers to the `account_update` use case.","value":"account_update"}]}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_link.returned"]}},"description":"Occurs when the generated AccountLink is completed.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"account_id":"4242","configurations":["customer"],"use_case":"account_onboarding"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account_link.returned"}},"v2.core.account_person":{"title":"Person","required":["account","created","id","livemode","object","updated"],"type":"object","properties":{"account":{"type":"string","description":"The account ID which the individual belongs to.","x-stripeProperty":{"referenced_resource":{"$ref":"#/components/schemas/v2.core.account"}}},"additional_addresses":{"type":"array","description":"Additional addresses associated with the person.","items":{"required":["purpose"],"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"purpose":{"type":"string","description":"Purpose of additional address.","enum":["registered"],"x-stripeEnum":[{"description":"The registered address.","value":"registered"}]},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}}}},"additional_names":{"type":"array","description":"Additional names (e.g. aliases) associated with the person.","items":{"required":["purpose"],"type":"object","properties":{"full_name":{"type":"string","description":"The individual's full name."},"given_name":{"type":"string","description":"The individual's first or given name."},"purpose":{"type":"string","description":"The purpose or type of the additional name.","enum":["alias","maiden"],"x-stripeEnum":[{"description":"An alias for the individual's name.","value":"alias"},{"description":"The maiden name of the individual.","value":"maiden"}]},"surname":{"type":"string","description":"The individual's last or family name."}}}},"additional_terms_of_service":{"type":"object","properties":{"account":{"type":"object","properties":{"date":{"type":"string","description":"The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"ip":{"type":"string","description":"The IP address from which the Account's representative accepted the terms of service."},"user_agent":{"type":"string","description":"The user agent of the browser from which the Account's representative accepted the terms of service."}},"description":"Stripe terms of service agreement."}},"description":"Attestations of accepted terms of service agreements."},"address":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"The person's residential address."},"created":{"type":"string","description":"Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"date_of_birth":{"required":["day","month","year"],"type":"object","properties":{"day":{"type":"integer","description":"The day of birth, between 1 and 31."},"month":{"type":"integer","description":"The month of birth, between 1 and 12."},"year":{"type":"integer","description":"The four-digit year of birth."}},"description":"The person's date of birth."},"documents":{"type":"object","properties":{"company_authorization":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents that demonstrate proof that this person is authorized to represent the company."},"passport":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s passport page with photo and personal data."},"primary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"An identifying document showing the person's name, either a passport or local ID card."},"secondary_verification":{"required":["front_back","type"],"type":"object","properties":{"front_back":{"required":["front"],"type":"object","properties":{"back":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be '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."},"front":{"type":"string","description":"A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be '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."}},"description":"The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document."},"type":{"type":"string","description":"The format of the verification document. Currently supports `front_back` only.","enum":["front_back"],"x-stripeEnum":[{"description":"Document type with both front and back sides.","value":"front_back"}]}},"description":"A document showing address, either a passport, local ID card, or utility bill from a well-known utility company."},"visa":{"required":["files","type"],"type":"object","properties":{"files":{"type":"array","description":"One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.","items":{"type":"string"}},"type":{"type":"string","description":"The format of the document. Currently supports `files` only.","enum":["files"],"x-stripeEnum":[{"description":"Document type with multiple files.","value":"files"}]}},"description":"One or more documents showing the person’s visa required for living in the country where they are residing."}},"description":"Documents that may be submitted to satisfy various informational requests."},"email":{"type":"string","description":"The person's email address."},"given_name":{"type":"string","description":"The person's first name."},"id":{"type":"string","description":"Unique identifier for the Person."},"id_numbers":{"type":"array","description":"The identification numbers (e.g., SSN) associated with the person.","items":{"required":["type"],"type":"object","properties":{"type":{"type":"string","description":"The ID number type of an individual.","enum":["ae_eid","ao_nif","ar_cuil","ar_dni","at_stn","az_tin","bd_brc","bd_etin","bd_nid","be_nrn","bg_ucn","bn_nric","br_cpf","ca_sin","ch_oasi","cl_rut","cn_pp","co_nuip","cr_ci","cr_cpf","cr_dimex","cr_nite","cy_tic","cz_rc","de_stn","dk_cpr","do_cie","do_rcn","ec_ci","ee_ik","es_nif","fi_hetu","fr_nir","gb_nino","gr_afm","gt_nit","hk_id","hr_oib","hu_ad","id_nik","ie_ppsn","is_kt","it_cf","jp_inc","ke_pin","kz_iin","li_peid","lt_ak","lu_nif","lv_pk","mx_rfc","my_nric","mz_nuit","ng_nin","nl_bsn","no_nin","nz_ird","pe_dni","pk_cnic","pk_snic","pl_pesel","pt_nif","ro_cnp","sa_tin","se_pin","sg_fin","sg_nric","sk_dic","th_lc","th_pin","tr_tin","us_itin","us_itin_last_4","us_ssn","us_ssn_last_4","uy_dni","za_id"],"x-stripeEnum":[{"description":"Emirates ID - United Arab Emirates.","value":"ae_eid"},{"description":"Número de Identificação Fiscal (Tax Identification Number) - Angola.","value":"ao_nif"},{"description":"Código Único de Identificación Laboral (CUIL) - Argentina.","value":"ar_cuil"},{"description":"Documento Nacional de Identidad (DNI) - Argentina.","value":"ar_dni"},{"description":"Steuernummer - Austria.","value":"at_stn"},{"description":"Tax Identification Number - Azerbaijan.","value":"az_tin"},{"description":"Birth Registration Certificate (BRC) - Bangladesh.","value":"bd_brc"},{"description":"Electronic Tax Identification Number (ETIN) - Bangladesh.","value":"bd_etin"},{"description":"National Identification Number (NID) - Bangladesh.","value":"bd_nid"},{"description":"National Registration Number (NRN) - Belgium.","value":"be_nrn"},{"description":"Unified Civil Number (Единен граждански номер) - Bulgaria.","value":"bg_ucn"},{"description":"National Registration Identity Card number (NRIC) - Brunei Darussalam.","value":"bn_nric"},{"description":"Cadastro de Pessoas Físicas - Brazil.","value":"br_cpf"},{"description":"Social Insurance Number (SIN) - Canada.","value":"ca_sin"},{"description":"OASI / AHV / AVS - Switzerland.","value":"ch_oasi"},{"description":"Rol Único Tributario (RUT) - Chile.","value":"cl_rut"},{"description":"Passport number (护照号码) - China.","value":"cn_pp"},{"description":"Número Único de Identificación Personal (NUIP) - Colombia.","value":"co_nuip"},{"description":"Número de cédula de identidad - Costa Rica.","value":"cr_ci"},{"description":"Cédula de Persona Fisica (CPF) - Costa Rica.","value":"cr_cpf"},{"description":"Documento de Identidad Migratorio para Extranjeros (DIMEX) - Costa Rica.","value":"cr_dimex"},{"description":"Número de Indetificación Tributario Especial (NITE) - Costa Rica.","value":"cr_nite"},{"description":"Tax Identification Code (TIC) - Cyprus.","value":"cy_tic"},{"description":"Rodné číslo - Czech Republic.","value":"cz_rc"},{"description":"Tax Identification Number (Steuer-ID) - Germany.","value":"de_stn"},{"description":"Personnummer (CPR) - Denmark.","value":"dk_cpr"},{"description":"Número de cédula de identidad y electoral - Dominican Republic.","value":"do_cie"},{"description":"Registro Nacional del Contribuyente (RNC) - Dominican Republic.","value":"do_rcn"},{"description":"Número de Cédula de Identidad - Ecuador.","value":"ec_ci"},{"description":"Isikukood (PIC) - Estonia.","value":"ee_ik"},{"description":"Número de Identificación Fiscal (NIF) - Spain.","value":"es_nif"},{"description":"Henkilötunnus (HETU) - Finland.","value":"fi_hetu"},{"description":"Numéro d'inscription au répertoire (NIR) - France.","value":"fr_nir"},{"description":"National Insurance Number (NINO) - United Kingdom.","value":"gb_nino"},{"description":"Tax Identification Number (ΑΦΜ) - Greece.","value":"gr_afm"},{"description":"Número de Identificación Tributaria (NIT) - Guatemala.","value":"gt_nit"},{"description":"Hong Kong Identity Card Number - Hong Kong.","value":"hk_id"},{"description":"Osobni identifikacijski broj (OIB) - Croatia.","value":"hr_oib"},{"description":"Adóazonosító - Hungary.","value":"hu_ad"},{"description":"Nomor Induk Kependudukan (NIK) - Indonesia.","value":"id_nik"},{"description":"Personal Public Service Number (PPSN) - Ireland.","value":"ie_ppsn"},{"description":"Kennitala - Iceland.","value":"is_kt"},{"description":"Codice fiscale - Italy.","value":"it_cf"},{"description":"Individual Number Card (個人番号) - Japan.","value":"jp_inc"},{"description":"Kenya Revenue Authority PIN - Kenya.","value":"ke_pin"},{"description":"Identification Number (IIN) - Kazakhstan.","value":"kz_iin"},{"description":"Personenidentifikationsnummer (PEID) - Liechtenstein.","value":"li_peid"},{"description":"Asmens kodas - Lithuania.","value":"lt_ak"},{"description":"Numéro d’Identification Personnelle (NIF) - Luxembourg.","value":"lu_nif"},{"description":"Personas kods - Latvia.","value":"lv_pk"},{"description":"Personal RFC - Mexico.","value":"mx_rfc"},{"description":"National Registration Identity Card Number - Malaysia.","value":"my_nric"},{"description":"Mozambique Taxpayer Single ID Number (NUIT) - Mozambique.","value":"mz_nuit"},{"description":"National Identity Number (NIN) - Nigeria.","value":"ng_nin"},{"description":"Citizen Service Number (BSN) - Netherlands.","value":"nl_bsn"},{"description":"Fødselsnummer (NIN) - Norway.","value":"no_nin"},{"description":"IRD number - New Zealand.","value":"nz_ird"},{"description":"Documento Nacional de Identidad (DNI) - Peru.","value":"pe_dni"},{"description":"Computerized National Identity Card Number (CNIC) - Pakistan.","value":"pk_cnic"},{"description":"Smart National Identity Card Number (SNIC) - Pakistan.","value":"pk_snic"},{"description":"PESEL number - Poland.","value":"pl_pesel"},{"description":"Número de Identificação Fiscal (NIF) - Portugal.","value":"pt_nif"},{"description":"Codul Numeric Personal (CNP) - Romania.","value":"ro_cnp"},{"description":"ZATCA-Issued Tax Identification Number - Saudi Arabia.","value":"sa_tin"},{"description":"Personnummer (PIN) - Sweden.","value":"se_pin"},{"description":"Foreign Identification Number - Singapore.","value":"sg_fin"},{"description":"National Registration Identity Card - Singapore.","value":"sg_nric"},{"description":"Daňové Identifikačné Číslo (DIC) - Slovakia.","value":"sk_dic"},{"description":"Laser Code (เลเซอร์ ไอดี) - Thailand.","value":"th_lc"},{"description":"Personal Identification Number (เลขประจำตัวประชาชน) - Thailand.","value":"th_pin"},{"description":"Tax Identification Number (TIN) - Turkey.","value":"tr_tin"},{"description":"Individual Taxpayer Identification Number - United States.","value":"us_itin"},{"description":"Last 4 digits of Individual Taxpayer Identification Number - United States.","value":"us_itin_last_4"},{"description":"Social Security Number - United States.\nIf the us_ssn_last_4 is verified, this value populates automatically.","value":"us_ssn"},{"description":"Last 4 digits of Social Security Number - United States.","value":"us_ssn_last_4"},{"description":"Número de Documento Nacional de Identidad - Uruguay.","value":"uy_dni"},{"description":"South African ID Number - South Africa.","value":"za_id"}]}}}},"legal_gender":{"type":"string","description":"The person's gender (International regulations require either \"male\" or \"female\").","enum":["female","male"],"x-stripeEnum":[{"description":"Female gender person.","value":"female"},{"description":"Male gender person.","value":"male"}]},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"metadata":{"type":"object","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."},"nationalities":{"type":"array","description":"The countries 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)).","items":{"type":"string"}},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.account_person"]},"phone":{"type":"string","description":"The person's phone number."},"political_exposure":{"type":"string","description":"The person's political exposure.","enum":["existing","none"],"x-stripeEnum":[{"description":"The person has disclosed that they do have political exposure.","value":"existing"},{"description":"The person has disclosed that they have no political exposure.","value":"none"}]},"relationship":{"type":"object","properties":{"authorizer":{"type":"boolean","description":"Whether the individual is an authorizer of the Account's identity."},"director":{"type":"boolean","description":"Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations."},"executive":{"type":"boolean","description":"Whether the individual has significant responsibility to control, manage, or direct the organization."},"legal_guardian":{"type":"boolean","description":"Whether the individual is the legal guardian of the Account's representative."},"owner":{"type":"boolean","description":"Whether the individual is an owner of the Account's identity."},"percent_ownership":{"type":"string","description":"The percentage of the Account's identity that the individual owns.","format":"decimal"},"representative":{"type":"boolean","description":"Whether the individual 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."},"title":{"type":"string","description":"The individual's title (e.g., CEO, Support Engineer)."}},"description":"The relationship that this person has with the Account's business or legal entity."},"script_addresses":{"type":"object","properties":{"kana":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kana Address."},"kanji":{"type":"object","properties":{"city":{"type":"string","description":"City, district, suburb, town, or village."},"country":{"type":"string","description":"Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2))."},"line1":{"type":"string","description":"Address line 1 (e.g., street, PO Box, or company name)."},"line2":{"type":"string","description":"Address line 2 (e.g., apartment, suite, unit, or building)."},"postal_code":{"type":"string","description":"ZIP or postal code."},"state":{"type":"string","description":"State, county, province, or region."},"town":{"type":"string","description":"Town or district."}},"description":"Kanji Address."}},"description":"The script addresses (e.g., non-Latin characters) associated with the person."},"script_names":{"type":"object","properties":{"kana":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kana script."},"kanji":{"type":"object","properties":{"given_name":{"type":"string","description":"The person's first or given name."},"surname":{"type":"string","description":"The person's last or family name."}},"description":"Persons name in kanji script."}},"description":"The script names (e.g. non-Latin characters) associated with the person."},"surname":{"type":"string","description":"The person's last name."},"updated":{"type":"string","description":"Time at which the object was last updated. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"}},"description":"A Person represents an individual associated with an Account's identity (for example, an owner, director, executive, or representative). Use Persons to provide and update identity information for verification and compliance.","x-resourceId":"v2.core.account_person","x-stableId":"v2_resource_account_person","x-stripeDocsSamples":[{"response":{"id":"person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person","account":"acct_1Nv0FGQ9RKHgCVdK","additional_addresses":[],"additional_names":[],"address":{"city":"Brothers","country":"us","line1":"27 Fredrick Ave","postal_code":"97712","state":"OR"},"created":"2024-11-26T17:10:07.000Z","email":"jenny.rosen@example.com","given_name":"Jenny","id_numbers":[{"type":"us_ssn_last_4"}],"metadata":{},"nationalities":[],"relationship":{"owner":true,"percent_ownership":"0.8","representative":true,"title":"CEO"},"surname":"Rosen","updated":"2024-11-26T17:10:07.000Z"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/core/accounts/{account_id}/persons"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/accounts/{account_id}/persons"},{"method_name":"delete","method_on":"service","method_type":"delete","operation":"delete","path":"/v2/core/accounts/{account_id}/persons/{id}"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/accounts/{account_id}/persons/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/core/accounts/{account_id}/persons/{id}"}],"x-stripeResource":{"class_name":"AccountPerson","in_package":"v2.core","parent":"v2.core.account"}},"v2.core.account_person.created":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events.","nullable":true}},"description":"Changes that the event makes to properties in the related object. See the [Person](https://docs.stripe.com/api/v2/core/persons/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["account_id"],"type":"object","properties":{"account_id":{"type":"string","description":"The ID of the v2 account."}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account_person"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_person.created"]}},"description":"Occurs when a Person is created.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"account_id":"4242"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account_person.created"}},"v2.core.account_person.deleted":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events.","nullable":true},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Person](https://docs.stripe.com/api/v2/core/persons/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["account_id"],"type":"object","properties":{"account_id":{"type":"string","description":"The ID of the v2 account."}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account_person"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_person.deleted"]}},"description":"Occurs when a Person is deleted.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"account_id":"4242"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account_person.deleted"}},"v2.core.account_person.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Person](https://docs.stripe.com/api/v2/core/persons/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"required":["account_id"],"type":"object","properties":{"account_id":{"type":"string","description":"The ID of the v2 account."}},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account_person"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account_person.updated"]}},"description":"Occurs when a Person is updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{"account_id":"4242"}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account_person.updated"}},"v2.core.account_person_token":{"title":"Person Token","required":["created","expires_at","id","livemode","object","used"],"type":"object","properties":{"created":{"type":"string","description":"Time at which the token was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"expires_at":{"type":"string","description":"Time at which the token will expire.","format":"date-time"},"id":{"type":"string","description":"Unique identifier for the token."},"livemode":{"type":"boolean","description":"Has the value `true` if the token exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.account_person_token"]},"used":{"type":"boolean","description":"Determines if the token has already been used (tokens can only be used once)."}},"description":"Person Tokens are single-use tokens which tokenize person information, and are used for creating or updating a Person.","x-resourceId":"v2.core.account_person_token","x-stableId":"v2_resource_person_token","x-stripeDocsSamples":[{"response":{"id":"perstok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_person_token","created":"2025-11-17T14:00:00.000Z","expires_at":"2025-11-17T14:10:00.000Z","livemode":true,"used":false}}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/accounts/{account_id}/person_tokens"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/accounts/{account_id}/person_tokens/{id}"}],"x-stripeResource":{"class_name":"AccountPersonToken","in_package":"v2.core","parent":"v2.core.account"}},"v2.core.account_requirements_.updated":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"required":["after","before"],"type":"object","properties":{"after":{"type":"object","description":"Updated values of properties that the event changed. This is `null` for deletion events."},"before":{"type":"object","description":"Values of properties before the event changes. This is `null` for creation events."}},"description":"Changes that the event makes to properties in the related object. See the [Account](https://docs.stripe.com/api/v2/core/accounts/object) object for the structure of `before` and `after`."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.account"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.account[requirements].updated"]}},"description":"Occurs when an Account's requirements are updated.","x-stripeDocsSamples":[{"payload":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true},"response":{"context":"4242","created":"2025-01-01T00:00:00.000Z","id":"4242","object":"4242","reason":{"type":"request","request":{"id":"4242","idempotency_key":"4242"}},"related_object":{"id":"4242","type":"4242","url":"4242"},"type":"4242","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.account[requirements].updated"}},"v2.core.account_token":{"title":"Account Token","required":["created","expires_at","id","livemode","object","used"],"type":"object","properties":{"created":{"type":"string","description":"Time at which the token was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.","format":"date-time"},"expires_at":{"type":"string","description":"Time at which the token will expire.","format":"date-time"},"id":{"type":"string","description":"Unique identifier for the token."},"livemode":{"type":"boolean","description":"Has the value `true` if the token exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.account_token"]},"used":{"type":"boolean","description":"Determines if the token has already been used (tokens can only be used once)."}},"description":"Account tokens are single-use tokens which tokenize company/individual/business information, and are used for creating or updating an Account.","x-resourceId":"v2.core.account_token","x-stableId":"v2_resource_account_token","x-stripeDocsSamples":[{"response":{"id":"accttok_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY","object":"v2.core.account_token","created":"2025-11-17T14:00:00.000Z","expires_at":"2025-11-17T14:10:00.000Z","livemode":true,"used":false},"skip_validation":true}],"x-stripeOperations":[{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/account_tokens"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/account_tokens/{id}"}],"x-stripeResource":{"class_name":"AccountToken","in_package":"v2.core"}},"v2.core.event":{"title":"Event","required":["created","id","livemode","object","type"],"type":"object","properties":{"changes":{"type":"object","description":"Before and after changes for the primary related object."},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"type":{"type":"string","description":"The type of the event."}},"description":"Events are generated to keep you informed of activity in your business account. APIs in the /v2 namespace generate [thin events](https://docs.stripe.com/event-destinations#benefits-of-thin-events) which have small, unversioned payloads that include a reference to the ID of the object that has changed. The Events v2 API returns these new thin events. [Retrieve the event object](https://docs.stripe.com/event-destinations#fetch-data) for additional data about the event. Use the related object ID in the event payload to [fetch the API resource](https://docs.stripe.com/event-destinations#retrieve-the-object-associated-with-thin-events) of the object associated with the event. Comparatively, events generated by most API v1 include a versioned snapshot of an API object in their payload.","x-resourceId":"v2.core.event","x-stableId":"v2_resource_event","x-stripeDocsSamples":[{"response":{"id":"evt_test_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","context":null,"created":"2024-09-26T17:46:22.134Z","data":{"developer_message_summary":"There is 1 invalid event","reason":{"error_count":1,"error_types":[{"code":"meter_event_no_customer_defined","error_count":1,"sample_errors":[{"error_message":"Customer mapping key stripe_customer_id not found in payload.","request":{"identifier":"cb447754-6880-45c2-8f2f-ef19b6ce81e9"}}]}]},"validation_end":"2024-09-26T17:46:20.000Z","validation_start":"2024-09-26T17:46:10.000Z"},"livemode":false,"reason":null,"related_object":{"id":"mtr_test_61RCjiqdTDC91zgip41IqPCzPnxqqSVc","type":"billing.meter","url":"/v1/billing/meters/mtr_test_61RCjiqdTDC91zgip41IqPCzPnxqqSVc"},"type":"v1.billing.meter.error_report_triggered"}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/core/events"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/events/{id}"}],"x-stripeResource":{"class_name":"Event","in_package":"v2.core"}},"v2.core.event_destination":{"title":"Event Destination","required":["created","description","enabled_events","event_payload","id","livemode","name","object","status","type","updated"],"type":"object","properties":{"amazon_eventbridge":{"required":["aws_account_id","aws_event_source_arn","aws_event_source_status"],"type":"object","properties":{"aws_account_id":{"type":"string","description":"The AWS account ID."},"aws_event_source_arn":{"type":"string","description":"The ARN of the AWS event source."},"aws_event_source_status":{"type":"string","description":"The state of the AWS event source.","enum":["active","deleted","pending","unknown"],"x-stripeEnum":[{"description":"The event source is in active state.","value":"active"},{"description":"The event source is in deleted state.","value":"deleted"},{"description":"The event source is in pending state.","value":"pending"},{"description":"The event source state cannot be retrieved.","value":"unknown"}]}},"description":"Amazon EventBridge configuration."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"description":{"type":"string","description":"An optional description of what the event destination is used for."},"enabled_events":{"type":"array","description":"The list of events to enable for this endpoint.","items":{"type":"string"}},"event_payload":{"type":"string","description":"Payload type of events being subscribed to.","enum":["snapshot","thin"],"x-stripeEnum":[{"description":"Events from v1 APIs.","value":"snapshot"},{"description":"Events from v2 APIs.","value":"thin"}]},"events_from":{"type":"array","description":"Specifies which accounts' events route to this destination.\n`@self`: Receive events from the account that owns the event destination.\n`@accounts`: Receive events emitted from other accounts you manage which includes your v1 and v2 accounts.\n`@organization_members`: Receive events from accounts directly linked to the organization.\n`@organization_members/@accounts`: Receive events from all accounts connected to any platform accounts in the organization.","items":{"type":"string"}},"id":{"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"metadata":{"type":"object","additionalProperties":{"type":"string"},"description":"Metadata."},"name":{"type":"string","description":"Event destination name."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event_destination"]},"snapshot_api_version":{"type":"string","description":"If using the snapshot event payload, the API version events are rendered as."},"status":{"type":"string","description":"Status. It can be set to either enabled or disabled.","enum":["disabled","enabled"],"x-stripeEnum":[{"description":"Event destination is disabled.","value":"disabled"},{"description":"Event destination is enabled.","value":"enabled"}]},"status_details":{"type":"object","properties":{"disabled":{"required":["reason"],"type":"object","properties":{"reason":{"type":"string","description":"Reason event destination has been disabled.","enum":["no_aws_event_source_exists","user"],"x-stripeEnum":[{"description":"Event destination has been disabled because the underlying AWS event source does not exist.","value":"no_aws_event_source_exists"},{"description":"Event destination has been disabled by user.","value":"user"}]}},"description":"Details about why the event destination has been disabled."}},"description":"Additional information about event destination status."},"type":{"type":"string","description":"Event destination type.","enum":["amazon_eventbridge","webhook_endpoint"],"x-stripeEnum":[{"description":"Amazon EventBridge.","value":"amazon_eventbridge"},{"description":"Webhook endpoint.","value":"webhook_endpoint"}]},"updated":{"type":"string","description":"Time at which the object was last updated.","format":"date-time"},"webhook_endpoint":{"type":"object","properties":{"signing_secret":{"type":"string","description":"The signing secret of the webhook endpoint, only includable on creation."},"url":{"type":"string","description":"The URL of the webhook endpoint, includable."}},"description":"Webhook endpoint configuration."}},"description":"Set up an event destination to receive events from Stripe across multiple destination types, including [webhook endpoints](https://docs.stripe.com/webhooks) and [Amazon EventBridge](https://docs.stripe.com/event-destinations/eventbridge). Event destinations support receiving [thin events](https://docs.stripe.com/api/v2/events) and [snapshot events](https://docs.stripe.com/api/events).","x-resourceId":"v2.core.event_destination","x-stableId":"v2_resource_event_destination","x-stripeDocsSamples":[{"response":{"id":"ed_test_61RM8ltWcTW4mbsxf16RJyfa2xSQLHJJh1sxm7H0KVT6","object":"v2.core.event_destination","created":"2024-10-22T16:20:09.931Z","description":"This is my event destination, I like it a lot","enabled_events":["v1.billing.meter.error_report_triggered"],"event_payload":"thin","events_from":["self"],"livemode":false,"metadata":{},"name":"My Event Destination","snapshot_api_version":null,"status":"enabled","status_details":null,"type":"webhook_endpoint","updated":"2024-10-22T16:20:09.937Z","webhook_endpoint":{"signing_secret":null,"url":"https://example.com/my/webhook/endpoint"}}}],"x-stripeOperations":[{"method_name":"list","method_on":"service","method_type":"list","operation":"get","path":"/v2/core/event_destinations"},{"method_name":"create","method_on":"service","method_type":"create","operation":"post","path":"/v2/core/event_destinations"},{"method_name":"delete","method_on":"service","method_type":"delete","operation":"delete","path":"/v2/core/event_destinations/{id}"},{"method_name":"retrieve","method_on":"service","method_type":"retrieve","operation":"get","path":"/v2/core/event_destinations/{id}"},{"method_name":"update","method_on":"service","method_type":"update","operation":"post","path":"/v2/core/event_destinations/{id}"},{"method_name":"disable","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/event_destinations/{id}/disable"},{"method_name":"enable","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/event_destinations/{id}/enable"},{"method_name":"ping","method_on":"service","method_type":"custom","operation":"post","path":"/v2/core/event_destinations/{id}/ping"}],"x-stripeResource":{"class_name":"EventDestination","in_package":"v2.core"}},"v2.core.event_destination.ping":{"required":["changes","created","data","id","livemode","object","related_object","type"],"type":"object","properties":{"changes":{"type":"object","description":"Always `null` because this event type doesn't track related object changes.","nullable":true},"context":{"type":"string","description":"Authentication context needed to fetch the event or related object."},"created":{"type":"string","description":"Time at which the object was created.","format":"date-time"},"data":{"type":"object","properties":{},"description":"Additional data about the event."},"id":{"type":"string","description":"Unique identifier for the event."},"livemode":{"type":"boolean","description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value of the object field.","enum":["v2.core.event"]},"reason":{"required":["type"],"type":"object","properties":{"request":{"required":["id","idempotency_key"],"type":"object","properties":{"id":{"type":"string","description":"ID of the API request that caused the event."},"idempotency_key":{"type":"string","description":"The idempotency key transmitted during the request."}},"description":"Information on the API request that instigated the event."},"type":{"type":"string","description":"Event reason type.","enum":["request"],"x-stripeEnum":[{"description":"The event was published as the result of an API request.","value":"request"}]}},"description":"Reason for the event."},"related_object":{"required":["id","type","url"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the object relevant to the event."},"type":{"type":"string","description":"Object tag of the resource relevant to the event.","enum":["v2.core.event_destination"]},"url":{"type":"string","description":"URL to retrieve the resource."}},"description":"Object containing the reference to API resource relevant to the event."},"type":{"type":"string","description":"The type of the event.","enum":["v2.core.event_destination.ping"]}},"description":"A ping event used to test the connection to an EventDestination.","x-stripeDocsSamples":[{"payload":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"ed_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.core.event_destination","url":"/v2/core/event_destinations/ed_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.core.event_destination.ping","livemode":true},"response":{"context":null,"created":"2025-01-01T00:00:00.000Z","id":"evt_65RCjj4EqW1sabcjs2Z16RCMoNQdSQkOWvfL6L5uU2K40u","object":"v2.core.event","reason":{"type":"request","request":{"id":"req_v24sUK2aV6o01RdVU","idempotency_key":"fe21992d-e123-3f8c-bc90-fec93712bcb2"}},"related_object":{"id":"ed_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me","type":"v2.core.event_destination","url":"/v2/core/event_destinations/ed_65SDS7HTasdQYsDClFT16CGd2aE2kBpeAvvRnBUcS2me"},"type":"v2.core.event_destination.ping","livemode":true,"changes":{},"data":{}}}],"x-stripeEvent":{"kind":"thin","type":"v2.core.event_destination.ping"}},"v2.deleted_object":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The ID of the object that's being deleted."},"object":{"type":"string","description":"String representing the type of the object that has been deleted. Objects of the same type share the same value of the object field."}}},"v2.error":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically"},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Stripe error response"},"v2.error.account_capability_not_supported":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_capability_not_supported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Requested capability is not available.","x-stripeError":{"code":"account_capability_not_supported","httpStatusCode":400}},"v2.error.account_configuration_not_supported":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_configuration_not_supported"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"The requested configuration is not available for the account.","x-stripeError":{"code":"account_configuration_not_supported","httpStatusCode":400}},"v2.error.account_controller_express_dash_without_application_losses_or_fees":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_controller_express_dash_without_application_losses_or_fees"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"If `dashboard` is `express`, `fees_collector` must be `application` and `losses_collector` must be `application`.","x-stripeError":{"code":"account_controller_express_dash_without_application_losses_or_fees","httpStatusCode":400}},"v2.error.account_controller_stripe_pricing_platform_liable":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_controller_stripe_pricing_platform_liable"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"If `losses_collector` is `application`, `fees_collector` must also be `application`.","x-stripeError":{"code":"account_controller_stripe_pricing_platform_liable","httpStatusCode":400}},"v2.error.account_controller_ua_unsupported_configuration":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","invalid_permutation","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_controller_ua_unsupported_configuration"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"invalid_permutation":{"required":["dashboard","fees_collector","losses_collector"],"type":"object","properties":{"dashboard":{"type":"string","description":"The value provided for the dashboard field."},"fees_collector":{"type":"string","description":"The value provided for the fees_collector field."},"losses_collector":{"type":"string","description":"The value provided for the losses_collector field."}},"description":"The invalid permutation provided."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Connect integration combination is not supported when UA beta is enabled.","x-stripeError":{"code":"account_controller_ua_unsupported_configuration","httpStatusCode":400}},"v2.error.account_controller_unsupported_configuration":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","invalid_permutation","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_controller_unsupported_configuration"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"invalid_permutation":{"required":["dashboard","fees_collector","losses_collector"],"type":"object","properties":{"dashboard":{"type":"string","description":"The value provided for the dashboard field."},"fees_collector":{"type":"string","description":"The value provided for the fees_collector field."},"losses_collector":{"type":"string","description":"The value provided for the losses_collector field."}},"description":"The invalid permutation provided."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Connect integration combination is not supported when UA beta is disabled.","x-stripeError":{"code":"account_controller_unsupported_configuration","httpStatusCode":400}},"v2.error.account_controller_unsupported_configuration_private_preview":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_controller_unsupported_configuration_private_preview"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Responsibility combinations is not supported in private preview.","x-stripeError":{"code":"account_controller_unsupported_configuration_private_preview","httpStatusCode":400}},"v2.error.account_country_unsupported_currency":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_country_unsupported_currency"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Currency is not allowed for the account's country.","x-stripeError":{"code":"account_country_unsupported_currency","httpStatusCode":400}},"v2.error.account_create_activation_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_create_activation_required"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Platform must be activated to create connected accounts.","x-stripeError":{"code":"account_create_activation_required","httpStatusCode":400}},"v2.error.account_creation_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_creation_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account creation is invalid.","x-stripeError":{"code":"account_creation_invalid","httpStatusCode":400}},"v2.error.account_creation_liability_unacknowledged":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_creation_liability_unacknowledged"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Account creation error - liability unacknowledged.","x-stripeError":{"code":"account_creation_liability_unacknowledged","httpStatusCode":400}},"v2.error.account_creation_requirement_collection_and_liability_unacknowledged":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_creation_requirement_collection_and_liability_unacknowledged"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Account creation error - requirement collection and liability unacknowledged.","x-stripeError":{"code":"account_creation_requirement_collection_and_liability_unacknowledged","httpStatusCode":400}},"v2.error.account_creation_requirement_collection_unacknowledged":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_creation_requirement_collection_unacknowledged"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Account creation error - requirement collection unacknowledged.","x-stripeError":{"code":"account_creation_requirement_collection_unacknowledged","httpStatusCode":400}},"v2.error.account_not_yet_compatible_with_v2":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_not_yet_compatible_with_v2"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Account is not yet compatible with V2 APIs.","x-stripeError":{"code":"account_not_yet_compatible_with_v2","httpStatusCode":400}},"v2.error.account_rate_limit_exceeded":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_rate_limit_exceeded"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["rate_limit"]}},"description":"Information about the error that occurred"}},"description":"Account cannot exceed a configured concurrency rate limit on updates.","x-stripeError":{"code":"account_rate_limit_exceeded","httpStatusCode":429,"type":"rate_limit"}},"v2.error.account_terms_of_service_not_accepted":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_terms_of_service_not_accepted"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Terms of service must be accepted before adding merchant configuration.","x-stripeError":{"code":"account_terms_of_service_not_accepted","httpStatusCode":400}},"v2.error.account_token_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["account_token_required"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account token required for platforms in mandated countries (e.g., France).","x-stripeError":{"code":"account_token_required","httpStatusCode":400}},"v2.error.accounts_v2_access_blocked":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["accounts_v2_access_blocked"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Accounts v2 is not enabled for your platform.","x-stripeError":{"code":"accounts_v2_access_blocked","httpStatusCode":400}},"v2.error.additional_legal_guardian_not_allowed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["additional_legal_guardian_not_allowed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"More than one legal guardian is added to an account.","x-stripeError":{"code":"additional_legal_guardian_not_allowed","httpStatusCode":400}},"v2.error.additional_representative_not_allowed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["additional_representative_not_allowed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"More than one representative is added to an account.","x-stripeError":{"code":"additional_representative_not_allowed","httpStatusCode":400}},"v2.error.additional_tos_only_allowed_for_legal_guardian":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["additional_tos_only_allowed_for_legal_guardian"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Additional terms of service are signed by someone other than the legal guardian.","x-stripeError":{"code":"additional_tos_only_allowed_for_legal_guardian","httpStatusCode":400}},"v2.error.address_characters_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["address_characters_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Invalid characters are provided for address fields.","x-stripeError":{"code":"address_characters_invalid","httpStatusCode":400}},"v2.error.address_country_identity_country_mismatch":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["address_country_identity_country_mismatch"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Address country doesn't match identity country.","x-stripeError":{"code":"address_country_identity_country_mismatch","httpStatusCode":400}},"v2.error.address_country_mismatch":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["address_country_mismatch"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Registered/script address country doesn't match residential address country.","x-stripeError":{"code":"address_country_mismatch","httpStatusCode":400}},"v2.error.address_country_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["address_country_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Address country is required but not provided.","x-stripeError":{"code":"address_country_required","httpStatusCode":400}},"v2.error.address_postal_code_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["address_postal_code_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Address postal code is invalid.","x-stripeError":{"code":"address_postal_code_invalid","httpStatusCode":400}},"v2.error.address_state_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["address_state_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Address state is invalid.","x-stripeError":{"code":"address_state_invalid","httpStatusCode":400}},"v2.error.address_town_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["address_town_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Address town is invalid.","x-stripeError":{"code":"address_town_invalid","httpStatusCode":400}},"v2.error.archived_meter":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["archived_meter"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The meter must be Active to submit events.","x-stripeError":{"code":"archived_meter","httpStatusCode":400}},"v2.error.attach_payment_method_to_customer":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["attach_payment_method_to_customer"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Default payment method is added to the customer config before attaching it to the account using `/v1/payment_methods`.","x-stripeError":{"code":"attach_payment_method_to_customer","httpStatusCode":400}},"v2.error.authorizer_duplicate":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["authorizer_duplicate"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"There can only be one authorizer.","x-stripeError":{"code":"authorizer_duplicate","httpStatusCode":400}},"v2.error.authorizer_relationship_invalid_for_representative":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["authorizer_relationship_invalid_for_representative"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"An authorizer cannot be a representative.","x-stripeError":{"code":"authorizer_relationship_invalid_for_representative","httpStatusCode":400}},"v2.error.bgn_bank_accounts_unsupported":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["bgn_bank_accounts_unsupported"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Creating accounts with the BGN currency is no longer supported, as Bulgaria is now using the Euro as of 2026-01-01.","x-stripeError":{"code":"bgn_bank_accounts_unsupported","httpStatusCode":400}},"v2.error.billing_meter_event_session_expired":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","type"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["billing_meter_event_session_expired"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"type":{"type":"string","description":"The type of error returned","enum":["temporary_session_expired"]}},"description":"Information about the error that occurred"}},"description":"The temporary session token has expired.","x-stripeError":{"code":"billing_meter_event_session_expired","httpStatusCode":401,"type":"temporary_session_expired"}},"v2.error.can_create_platform_owned_onboarding_accounts_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["can_create_platform_owned_onboarding_accounts_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Dormant accounts cannot create accounts where requirements collector is application (this is an account takeover prevention measure).","x-stripeError":{"code":"can_create_platform_owned_onboarding_accounts_required","httpStatusCode":400}},"v2.error.cannot_create_connected_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["cannot_create_connected_account"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Platform is in an invalid state and cannot create connected accounts.","x-stripeError":{"code":"cannot_create_connected_account","httpStatusCode":400}},"v2.error.cannot_create_new_account_rejected":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["cannot_create_new_account_rejected"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Platform is in a rejected state and cannot create connected accounts.","x-stripeError":{"code":"cannot_create_new_account_rejected","httpStatusCode":400}},"v2.error.cannot_delete_account_with_balance":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["cannot_delete_account_with_balance"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account with Merchant or Recipient configuration with transfers feature cannot be closed because the account has a cash balance.","x-stripeError":{"code":"cannot_delete_account_with_balance","httpStatusCode":400}},"v2.error.cannot_delete_customer_with_available_cash_balance":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["cannot_delete_customer_with_available_cash_balance"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account with Customer configuration cannot be closed because the customer has a cash balance.","x-stripeError":{"code":"cannot_delete_customer_with_available_cash_balance","httpStatusCode":400}},"v2.error.cannot_use_validate_location_on_customer_create":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["cannot_use_validate_location_on_customer_create"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Cannot set `automatic_indirect_tax.validate_location` when initially creating a customer configuration.","x-stripeError":{"code":"cannot_use_validate_location_on_customer_create","httpStatusCode":400}},"v2.error.capability_cannot_be_unrequested_due_to_other_capability_requirement":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_cannot_be_unrequested_due_to_other_capability_requirement"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Feature cannot be unrequested due to being a requirement for another feature.","x-stripeError":{"code":"capability_cannot_be_unrequested_due_to_other_capability_requirement","httpStatusCode":400}},"v2.error.capability_not_available_for_dashboard_type":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_not_available_for_dashboard_type"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Feature cannot be requested for the dashboard type.","x-stripeError":{"code":"capability_not_available_for_dashboard_type","httpStatusCode":400}},"v2.error.capability_not_available_for_entity_type_in_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_not_available_for_entity_type_in_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Requested feature is not available for the entity type in your country.","x-stripeError":{"code":"capability_not_available_for_entity_type_in_country","httpStatusCode":400}},"v2.error.capability_not_available_for_loss_collector":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_not_available_for_loss_collector"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"A v2 Account cannot have both the specified capability and Stripe-owned loss liability.","x-stripeError":{"code":"capability_not_available_for_loss_collector","httpStatusCode":400}},"v2.error.capability_not_available_in_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_not_available_in_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Requested capability is not available in your country.","x-stripeError":{"code":"capability_not_available_in_country","httpStatusCode":400}},"v2.error.capability_not_available_in_platform_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_not_available_in_platform_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Feature cannot be requested given the platform's country.","x-stripeError":{"code":"capability_not_available_in_platform_country","httpStatusCode":400}},"v2.error.capability_not_available_without_other_capability":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_not_available_without_other_capability"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Requested feature is not available without also requesting a different feature.","x-stripeError":{"code":"capability_not_available_without_other_capability","httpStatusCode":400}},"v2.error.capability_not_available_without_other_capability_in_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["capability_not_available_without_other_capability_in_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Requested feature is not available without also requesting a different feature in your country.","x-stripeError":{"code":"capability_not_available_without_other_capability_in_country","httpStatusCode":400}},"v2.error.configs_must_match_to_close":{"required":["error"],"type":"object","properties":{"error":{"required":["applied_configurations","code","message","user_message"],"type":"object","properties":{"applied_configurations":{"type":"array","description":"The applied configurations that should be specified.","items":{"type":"string"}},"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["configs_must_match_to_close"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account cannot be closed without specifying the right configurations.","x-stripeError":{"code":"configs_must_match_to_close","httpStatusCode":400}},"v2.error.configs_must_match_to_use_account_links":{"required":["error"],"type":"object","properties":{"error":{"required":["applied_configurations","code","message","user_message"],"type":"object","properties":{"applied_configurations":{"type":"array","description":"The applied configurations that should be specified.","items":{"type":"string"}},"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["configs_must_match_to_use_account_links"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account cannot be onboard via v2/core/account_links without specifying the right configurations.","x-stripeError":{"code":"configs_must_match_to_use_account_links","httpStatusCode":400}},"v2.error.configuration_cannot_be_deactivated":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["configuration_cannot_be_deactivated"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Configuration cannot be deactivated.","x-stripeError":{"code":"configuration_cannot_be_deactivated","httpStatusCode":400}},"v2.error.configuration_cannot_be_deactivated_due_to_other_capability_requirement":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["configuration_cannot_be_deactivated_due_to_other_capability_requirement"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Configuration cannot be deactivated due to a dependency with another capability.","x-stripeError":{"code":"configuration_cannot_be_deactivated_due_to_other_capability_requirement","httpStatusCode":400}},"v2.error.configuration_cannot_be_deactivated_due_to_other_configuration":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["configuration_cannot_be_deactivated_due_to_other_configuration"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Cannot deactivate a configuration due to another configuration depending on it.","x-stripeError":{"code":"configuration_cannot_be_deactivated_due_to_other_configuration","httpStatusCode":400}},"v2.error.configuration_cannot_be_updated_while_deactivated":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["configuration_cannot_be_updated_while_deactivated"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Configuration cannot be updated while deactivated.","x-stripeError":{"code":"configuration_cannot_be_updated_while_deactivated","httpStatusCode":400}},"v2.error.configuration_creation_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["configuration_creation_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Cannot create an account with an invalid configuration.","x-stripeError":{"code":"configuration_creation_invalid","httpStatusCode":400}},"v2.error.connect_identity_not_verified":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["connect_identity_not_verified"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Platform is not verified and cannot create connected accounts.","x-stripeError":{"code":"connect_identity_not_verified","httpStatusCode":400}},"v2.error.connect_profile_not_submitted":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["connect_profile_not_submitted"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Platform has not completed platform questionnaire and cannot create connected accounts.","x-stripeError":{"code":"connect_profile_not_submitted","httpStatusCode":400}},"v2.error.cross_border_connected_account_creation_not_allowed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["cross_border_connected_account_creation_not_allowed"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Cross-border connected account creation is not allowed for this platform/account country combination.","x-stripeError":{"code":"cross_border_connected_account_creation_not_allowed","httpStatusCode":400}},"v2.error.custom_account_beta":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["custom_account_beta"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Custom accounts cannot be created in certain countries.","x-stripeError":{"code":"custom_account_beta","httpStatusCode":400}},"v2.error.customer_invalid_tax_location":{"required":["error"],"type":"object","properties":{"error":{"required":["code","incorrect_fields","message","validate_location"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["customer_invalid_tax_location"]},"incorrect_fields":{"type":"array","description":"A list of fields to fix on the v2 account to achieve a valid customer tax location.","items":{"required":["field","type"],"type":"object","properties":{"field":{"type":"string","description":"Incorrect field."},"type":{"type":"string","description":"Reason the field is incorrect."}}}},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"validate_location":{"type":"string","description":"The value of the request's 'automatic_indirect_tax.validate_location' field - defaults to `auto`."}},"description":"Information about the error that occurred"}},"description":"Invalid customer tax location.","x-stripeError":{"code":"customer_invalid_tax_location","httpStatusCode":400}},"v2.error.date_of_birth_age_restriction":{"required":["error"],"type":"object","properties":{"error":{"required":["age_limit","code","message","user_message"],"type":"object","properties":{"age_limit":{"type":"string","description":"Representative age should be greater than or equal to the age_limit."},"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["date_of_birth_age_restriction"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Representative date of birth does not meet the age limit.","x-stripeError":{"code":"date_of_birth_age_restriction","httpStatusCode":400}},"v2.error.date_of_birth_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["date_of_birth_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Representative date of birth is provided an invalid date or a future date.","x-stripeError":{"code":"date_of_birth_invalid","httpStatusCode":400}},"v2.error.default_currency_immutable":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_currency_immutable"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Cannot change `defaults.currency` post account activation.","x-stripeError":{"code":"default_currency_immutable","httpStatusCode":400}},"v2.error.default_outbound_destination_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_outbound_destination_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Outbound Destination ID is invalid.","x-stripeError":{"code":"default_outbound_destination_invalid","httpStatusCode":400}},"v2.error.default_payment_method_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_payment_method_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Default payment method provided for a customer does not exist or is otherwise invalid.","x-stripeError":{"code":"default_payment_method_invalid","httpStatusCode":400}},"v2.error.default_payment_method_invalid_type":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["default_payment_method_invalid_type"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Specified payment method exists but its type is not allowed to be the default payment method.","x-stripeError":{"code":"default_payment_method_invalid_type","httpStatusCode":400}},"v2.error.directorship_declaration_not_allowed_during_account_creation":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["directorship_declaration_not_allowed_during_account_creation"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Directorship declaration is not allowed during account creation.","x-stripeError":{"code":"directorship_declaration_not_allowed_during_account_creation","httpStatusCode":400}},"v2.error.document_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["document_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Provided file tokens for documents are invalid, not found, deleted, or belong to a different account.","x-stripeError":{"code":"document_invalid","httpStatusCode":400}},"v2.error.document_purpose_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["document_purpose_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Provided file tokens for documents are of the wrong purpose.","x-stripeError":{"code":"document_purpose_invalid","httpStatusCode":400}},"v2.error.duplicate_meter_event":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["duplicate_meter_event"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A meter event with a duplicate identifier has already been submitted.","x-stripeError":{"code":"duplicate_meter_event","httpStatusCode":400}},"v2.error.duplicate_person_not_allowed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","duplicate_person_id","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["duplicate_person_not_allowed"]},"duplicate_person_id":{"type":"string","description":"The ID of the other person with identical fields."},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Duplicate person is added to an account.","x-stripeError":{"code":"duplicate_person_not_allowed","httpStatusCode":400}},"v2.error.email_domain_invalid_for_recipient":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["email_domain_invalid_for_recipient"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Email contains unsupported domain.","x-stripeError":{"code":"email_domain_invalid_for_recipient","httpStatusCode":400}},"v2.error.email_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["email_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Incorrect email is provided.","x-stripeError":{"code":"email_invalid","httpStatusCode":400}},"v2.error.entity_type_not_supported_in_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["entity_type_not_supported_in_country"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The `identity.entity_type` value is not supported in a given `identity.country`.","x-stripeError":{"code":"entity_type_not_supported_in_country","httpStatusCode":400}},"v2.error.expired_azure_partner_authorization":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["expired_azure_partner_authorization"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Error returned when a user tries to create an event destination with an expired Azure partner authorization.","x-stripeError":{"code":"expired_azure_partner_authorization","httpStatusCode":400}},"v2.error.high_risk_activities_none_cant_be_combined_with_other_options":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["high_risk_activities_none_cant_be_combined_with_other_options"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"NONE is combined with another value in the HighRiskActivities list.","x-stripeError":{"code":"high_risk_activities_none_cant_be_combined_with_other_options","httpStatusCode":400}},"v2.error.id_number_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["id_number_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Provided ID number is of the wrong format for the given type.","x-stripeError":{"code":"id_number_invalid","httpStatusCode":400}},"v2.error.idempotency_error":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["idempotency_error"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"An idempotent retry occurred with different request parameters.","x-stripeError":{"code":"idempotency_error","httpStatusCode":409}},"v2.error.identity_country_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["identity_country_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The `identity.country` value is required but not provided.","x-stripeError":{"code":"identity_country_required","httpStatusCode":400}},"v2.error.immutable_identity_param":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["immutable_identity_param"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Identity param has been made immutable due to the state of the account.","x-stripeError":{"code":"immutable_identity_param","httpStatusCode":400}},"v2.error.incorrect_account_for_person_token":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["incorrect_account_for_person_token"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A person token is created with one account but used on a different account.","x-stripeError":{"code":"incorrect_account_for_person_token","httpStatusCode":400}},"v2.error.incorrect_id_number_for_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["incorrect_id_number_for_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Incorrect ID number is provided for a country.","x-stripeError":{"code":"incorrect_id_number_for_country","httpStatusCode":400}},"v2.error.incorrect_token_wrong_type":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["incorrect_token_wrong_type"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The incorrect token type is provided .","x-stripeError":{"code":"incorrect_token_wrong_type","httpStatusCode":400}},"v2.error.individual_additional_person_not_allowed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["individual_additional_person_not_allowed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Additional person is added for an individual business type.","x-stripeError":{"code":"individual_additional_person_not_allowed","httpStatusCode":400}},"v2.error.invalid_account_token":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_account_token"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Invalid account token.","x-stripeError":{"code":"invalid_account_token","httpStatusCode":403}},"v2.error.invalid_azure_partner_authorization":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_azure_partner_authorization"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Error returned when a user tries to create an event destination without an Azure partner authorization.","x-stripeError":{"code":"invalid_azure_partner_authorization","httpStatusCode":400}},"v2.error.invalid_azure_partner_configuration":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_azure_partner_configuration"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Error returned when no valid partner configuration is found using the user provided Azure subscription ID and Azure resource group name.","x-stripeError":{"code":"invalid_azure_partner_configuration","httpStatusCode":400}},"v2.error.invalid_cancel_configuration":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_cancel_configuration"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The adjustment configuration is invalid for the adjustment type.","x-stripeError":{"code":"invalid_cancel_configuration","httpStatusCode":400}},"v2.error.invalid_id_number_for_structure":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_id_number_for_structure"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"ID number is provided that is not permitted for the Identity's entity type and business structure.","x-stripeError":{"code":"invalid_id_number_for_structure","httpStatusCode":400}},"v2.error.invalid_id_number_registrar":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_id_number_registrar"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The `identity.business_details.id_numbers.registrar` value is an invalid DE registrar.","x-stripeError":{"code":"invalid_id_number_registrar","httpStatusCode":400}},"v2.error.invalid_konbini_payments_support_hours":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_konbini_payments_support_hours"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Konbini Payments Support Hours is Invalid.","x-stripeError":{"code":"invalid_konbini_payments_support_hours","httpStatusCode":400}},"v2.error.invalid_konbini_payments_support_phone_number":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_konbini_payments_support_phone_number"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Konbini Payments Support Phone Number is Invalid.","x-stripeError":{"code":"invalid_konbini_payments_support_phone_number","httpStatusCode":400}},"v2.error.invalid_person_token":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_person_token"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Invalid person token.","x-stripeError":{"code":"invalid_person_token","httpStatusCode":403}},"v2.error.invalid_relationship_for_identity_type_structure_and_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_relationship_for_identity_type_structure_and_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Some relationships are specific to type, structure, and country.","x-stripeError":{"code":"invalid_relationship_for_identity_type_structure_and_country","httpStatusCode":400}},"v2.error.invalid_timezone":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invalid_timezone"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Timezone provided in account defaults is invalid.","x-stripeError":{"code":"invalid_timezone","httpStatusCode":400}},"v2.error.invoice_rendering_template_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["invoice_rendering_template_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Invoice rendering template does not exist or is otherwise invalid.","x-stripeError":{"code":"invoice_rendering_template_invalid","httpStatusCode":400}},"v2.error.ip_address_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["ip_address_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Invalid IP address is provided.","x-stripeError":{"code":"ip_address_invalid","httpStatusCode":400}},"v2.error.legal_guardian_representative_not_allowed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["legal_guardian_representative_not_allowed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Person is designated as both legal guardian and representative.","x-stripeError":{"code":"legal_guardian_representative_not_allowed","httpStatusCode":400}},"v2.error.legal_guardian_requires_existing_representative":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["legal_guardian_requires_existing_representative"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A legal guardian may not be added to the account without an existing representative.","x-stripeError":{"code":"legal_guardian_requires_existing_representative","httpStatusCode":400}},"v2.error.mcc_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["mcc_invalid"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"MCC is invalid for `configuration.merchant.mcc`.","x-stripeError":{"code":"mcc_invalid","httpStatusCode":400}},"v2.error.no_meter":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["no_meter"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A meter must exist to submit events.","x-stripeError":{"code":"no_meter","httpStatusCode":400}},"v2.error.non_jp_kana_kanji_address":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["non_jp_kana_kanji_address"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Kana Kanji script addresses must have JP country.","x-stripeError":{"code":"non_jp_kana_kanji_address","httpStatusCode":400}},"v2.error.not_found":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["not_found"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The resource wasn't found.","x-stripeError":{"code":"not_found","httpStatusCode":404}},"v2.error.ownership_declaration_not_allowed_during_account_creation":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["ownership_declaration_not_allowed_during_account_creation"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Ownership declaration is not allowed during account creation.","x-stripeError":{"code":"ownership_declaration_not_allowed_during_account_creation","httpStatusCode":400}},"v2.error.param_alongside_account_token":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["param_alongside_account_token"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Parameter cannot be passed alongside account_token.","x-stripeError":{"code":"param_alongside_account_token","httpStatusCode":400}},"v2.error.param_alongside_person_token":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["param_alongside_person_token"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Parameter cannot be passed alongside person_token.","x-stripeError":{"code":"param_alongside_person_token","httpStatusCode":400}},"v2.error.payload_invalid_value":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["payload_invalid_value"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The value must be a positive integer.","x-stripeError":{"code":"payload_invalid_value","httpStatusCode":400}},"v2.error.payload_no_customer_defined":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["payload_no_customer_defined"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The payload must have a reference to the customer.","x-stripeError":{"code":"payload_no_customer_defined","httpStatusCode":400}},"v2.error.payload_no_value_defined":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["payload_no_value_defined"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The payload must have a value.","x-stripeError":{"code":"payload_no_value_defined","httpStatusCode":400}},"v2.error.pending_transactions_cannot_be_deleted":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["pending_transactions_cannot_be_deleted"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account cannot be closed due to other pending resources.","x-stripeError":{"code":"pending_transactions_cannot_be_deleted","httpStatusCode":400}},"v2.error.person_percent_ownership_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["person_percent_ownership_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Error returned when relationship.owner is set to true but the ownership percentage is set to 0%.","x-stripeError":{"code":"person_percent_ownership_invalid","httpStatusCode":400}},"v2.error.person_token_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["person_token_required"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Person token required for platforms in mandated countries (e.g., France).","x-stripeError":{"code":"person_token_required","httpStatusCode":400}},"v2.error.phone_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["phone_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Phone number is invalid.","x-stripeError":{"code":"phone_invalid","httpStatusCode":400}},"v2.error.platform_registration_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","doc_url","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["platform_registration_required"]},"doc_url":{"type":"string","description":"A URL to more information about the error reported"},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Platform has not signed up for Connect and cannot create connected accounts.","x-stripeError":{"code":"platform_registration_required","httpStatusCode":400}},"v2.error.postal_code_required_for_jp_address":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["postal_code_required_for_jp_address"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Postal code is required for Japanese addresses.","x-stripeError":{"code":"postal_code_required_for_jp_address","httpStatusCode":400}},"v2.error.purpose_of_funds_description_must_be_empty_for_non_other_purpose_of_funds":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["purpose_of_funds_description_must_be_empty_for_non_other_purpose_of_funds"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"PurposeOfFundsDescription is not empty while PurposeOfFunds is not OTHER.","x-stripeError":{"code":"purpose_of_funds_description_must_be_empty_for_non_other_purpose_of_funds","httpStatusCode":400}},"v2.error.registration_date_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["registration_date_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Registration date must be in the past.","x-stripeError":{"code":"registration_date_invalid","httpStatusCode":400}},"v2.error.script_characters_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["script_characters_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Provided script characters are invalid for the script.","x-stripeError":{"code":"script_characters_invalid","httpStatusCode":400}},"v2.error.shipping_address_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["shipping_address_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Shipping address is required within the shipping hash.","x-stripeError":{"code":"shipping_address_required","httpStatusCode":400}},"v2.error.shipping_name_required":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["shipping_name_required"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Shipping name is required within the shipping hash.","x-stripeError":{"code":"shipping_name_required","httpStatusCode":400}},"v2.error.statement_descriptor_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["statement_descriptor_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Statement descriptor is invalid.","x-stripeError":{"code":"statement_descriptor_invalid","httpStatusCode":400}},"v2.error.stripe_loss_liable_cannot_be_deleted":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["stripe_loss_liable_cannot_be_deleted"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Account with Stripe-owned loss liability and dashboard cannot be deleted.","x-stripeError":{"code":"stripe_loss_liable_cannot_be_deleted","httpStatusCode":400}},"v2.error.structure_incompatible_for_entity_type_country":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["structure_incompatible_for_entity_type_country"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The `business_details.structure` value is not valid for `identity.country` and `identity.entity_type`.","x-stripeError":{"code":"structure_incompatible_for_entity_type_country","httpStatusCode":400}},"v2.error.test_clock_disallowed_on_live_mode":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["test_clock_disallowed_on_live_mode"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Cannot set a test clock on a livemode customer.","x-stripeError":{"code":"test_clock_disallowed_on_live_mode","httpStatusCode":400}},"v2.error.test_clock_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["test_clock_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Test clock does not exist or is otherwise invalid.","x-stripeError":{"code":"test_clock_invalid","httpStatusCode":400}},"v2.error.test_clocks_advance_in_progress":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["test_clocks_advance_in_progress"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Cannot modify a test clock that is currently advancing.","x-stripeError":{"code":"test_clocks_advance_in_progress","httpStatusCode":400}},"v2.error.test_clocks_customer_limit_reached":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["test_clocks_customer_limit_reached"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Cannot add customer to a test clock that has already reached its customer limit.","x-stripeError":{"code":"test_clocks_customer_limit_reached","httpStatusCode":400}},"v2.error.token_already_used":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["token_already_used"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"The token is re-used with a different idempotency key.","x-stripeError":{"code":"token_already_used","httpStatusCode":400}},"v2.error.token_expired":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["token_expired"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Token has expired.","x-stripeError":{"code":"token_expired","httpStatusCode":400}},"v2.error.token_must_be_created_with_publishable_key":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["token_must_be_created_with_publishable_key"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Token must be created with publishable key.","x-stripeError":{"code":"token_must_be_created_with_publishable_key","httpStatusCode":400}},"v2.error.too_many_concurrent_requests":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["too_many_concurrent_requests"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"Cannot create multiple usage events for the same customer, meter concurrently.","x-stripeError":{"code":"too_many_concurrent_requests","httpStatusCode":409}},"v2.error.tos_acceptance_on_behalf_not_allowed":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["tos_acceptance_on_behalf_not_allowed"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"TOS cannot be accepted on behalf of accounts when requirement collection is `stripe`.","x-stripeError":{"code":"tos_acceptance_on_behalf_not_allowed","httpStatusCode":400}},"v2.error.total_person_ownership_exceeded":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["total_person_ownership_exceeded"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Total ownership percentages of all Persons on the account exceeds 100%.","x-stripeError":{"code":"total_person_ownership_exceeded","httpStatusCode":400}},"v2.error.unsupported_field_for_configs":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["unsupported_field_for_configs"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Cannot set responsibilities on the current configurations.","x-stripeError":{"code":"unsupported_field_for_configs","httpStatusCode":400}},"v2.error.unsupported_identity_field_for_configs":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["unsupported_identity_field_for_configs"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Cannot set identity fields when the Account is only configured as a customer.","x-stripeError":{"code":"unsupported_identity_field_for_configs","httpStatusCode":400}},"v2.error.unsupported_postal_code":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["unsupported_postal_code"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Address is in an unsupported postal code.","x-stripeError":{"code":"unsupported_postal_code","httpStatusCode":400}},"v2.error.unsupported_state":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["unsupported_state"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"Address is in an unsupported state.","x-stripeError":{"code":"unsupported_state","httpStatusCode":400}},"v2.error.url_invalid":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message","user_message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["url_invalid"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"},"user_message":{"type":"string","description":"A user-friendly message that can be shown to end-users"}},"description":"Information about the error that occurred"}},"description":"URL is invalid.","x-stripeError":{"code":"url_invalid","httpStatusCode":400}},"v2.error.v1_account_instead_of_v2_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["v1_account_instead_of_v2_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"V1 Account ID cannot be used in V2 Account APIs.","x-stripeError":{"code":"v1_account_instead_of_v2_account","httpStatusCode":400}},"v2.error.v1_customer_instead_of_v2_account":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["v1_customer_instead_of_v2_account"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"V1 Customer ID cannot be used in V2 Account APIs.","x-stripeError":{"code":"v1_customer_instead_of_v2_account","httpStatusCode":400}},"v2.error.v1_token_invalid_in_v2":{"required":["error"],"type":"object","properties":{"error":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string","description":"Short code to identify the error, should not be handled programmatically","enum":["v1_token_invalid_in_v2"]},"message":{"type":"string","description":"A human-readable message providing more details about the error"}},"description":"Information about the error that occurred"}},"description":"A v1 token ID is passed in v2 APIs.","x-stripeError":{"code":"v1_token_invalid_in_v2","httpStatusCode":400}},"verification_session_redaction":{"title":"verification_session_redaction","required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Indicates whether this object and its related objects have been redacted or not.","enum":["processing","redacted"]}},"description":"","x-expandableFields":[],"x-stripeMostCommon":["status"]},"webhook_endpoint":{"title":"NotificationWebhookEndpoint","required":["api_version","application","created","description","enabled_events","id","livemode","metadata","object","status","url"],"type":"object","properties":{"api_version":{"maxLength":5000,"type":"string","description":"The API version events are rendered as for this webhook endpoint.","nullable":true},"application":{"maxLength":5000,"type":"string","description":"The ID of the associated Connect application.","nullable":true},"created":{"type":"integer","description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time"},"description":{"maxLength":5000,"type":"string","description":"An optional description of what the webhook is used for.","nullable":true},"enabled_events":{"type":"array","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"}},"id":{"maxLength":5000,"type":"string","description":"Unique identifier for the object."},"livemode":{"type":"boolean","description":"If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`."},"metadata":{"type":"object","additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format."},"object":{"type":"string","description":"String representing the object's type. Objects of the same type share the same value.","enum":["webhook_endpoint"]},"secret":{"maxLength":5000,"type":"string","description":"The endpoint's secret, used to generate [webhook signatures](https://docs.stripe.com/webhooks/signatures). Only returned at creation."},"status":{"maxLength":5000,"type":"string","description":"The status of the webhook. It can be `enabled` or `disabled`."},"url":{"maxLength":5000,"type":"string","description":"The URL of the 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)","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":{"type":"http","description":"Basic HTTP authentication. Allowed headers-- Authorization: Basic | Authorization: Basic ","scheme":"basic"},"bearerAuth":{"type":"http","description":"Bearer HTTP authentication. Allowed headers-- Authorization: Bearer ","scheme":"bearer","bearerFormat":"auth-scheme"}}}}